Open AArnott opened 6 years ago
Strictly speaking, the exported type is its type identity, which need to be implemented by the exported object. So this isn't actually an error. However it seems reasonable to report this as a warning since it is likely to be an authoring mistake. We don't have any analyzers in vs-mef at this point, but adding them sounds valuable.
From @dgriffen on April 4, 2018 17:5
There should be a diagnostic checking if
Export
declarations are correct. For example:This should be flagged as incorrect since
Foo
does not implementIBar
Copied from original issue: Microsoft/VSSDK-Analyzers#43