You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Diagnostic CodeFix for CS0737: 'C' does not implement interface member 'ITest.M()'. 'C.M()' cannot implement an interface member because it is not public.
#25385
Open
MaStr11 opened this issue
Mar 9, 2018
· 0 comments
internalinterfaceI{voidM();}internalclassC:I//CS0737: 'C' does not implement interface member 'I.M()'. 'C.M()' cannot implement an interface member because it is not public.{internalvoidM(){}}
Actual Behavior:
"Implement interface" and "Implement interface explicitly" are offered which both generate the exact same explicit interface implementation:
Version Used:
2.8.
Steps to Reproduce:
Expected Behavior:
Offer fix: "Make 'M' public"
Actual Behavior:
"Implement interface" and "Implement interface explicitly" are offered which both generate the exact same explicit interface implementation:
https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0737
There is no corresponding VB diagnostic.
Related #23326.
The text was updated successfully, but these errors were encountered: