Closed bigworld12 closed 4 years ago
It has long been the case that methods in an interface are not inherited into classes that implement that interface. The default implementation for the method doesn't change that. The compiler is behaving as designed.
Version Used: 3.1.100 sdk , .net standard 2.1 project
Steps to Reproduce:
Expected Behavior: should work fine
Actual Behavior: getting an error "the name
MyString
doesn't exist in the current context"Work Around: explicit casting
cf : https://github.com/dotnet/roslyn/issues/17952