Bug 56627 - mcs inherits interface implementation, while csc doesn't
Summary: mcs inherits interface implementation, while csc doesn't
Alias: None
Product: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 5.2 (2017-04)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2017-05-18 16:31 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-05-29 21:59 UTC (History)
1 user (show)

See Also:
Is this bug a regression?: ---
Last known good build:

test.cs (834 bytes, text/plain)
2017-05-18 16:31 UTC, Rolf Bjarne Kvinge [MSFT]

Description Rolf Bjarne Kvinge [MSFT] 2017-05-18 16:31:44 UTC
Created attachment 22276 [details]

Repro: compile attached test case

Compiles fine with mcs, does not compile with csc:

test.cs(43,42): error CS0535: 'MKCircle' does not implement interface member 'IMKAnnotation.Coordinate.set'

$ mono --version
Mono JIT compiler version (2017-04/bed9e6b Wed May  3 15:03:04 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen (concurrent by default)
Comment 1 Marek Safar 2017-05-29 21:59:10 UTC
Fixed in master

Note You need to log in before you can comment on or make changes to this bug.