ILLink doesn't warn for annotation mismatch for derived method implementing a recursive interface #106552
Labels
area-Tools-ILLink
.NET linker development as well as trimming analyzers
Milestone
In IL it is valid for an abstract Base to implement I but provide no methods. This is not possible in C#, as Base would not be allowed to be missing M. If Base does provide M, the trimmer does warn there (see RequiresCapability/BaseProvidesInterfaceMethodRequiresMismatch.cs). This is a very niche corner case and not the highest priority.
See #103317 (comment)_
for context
The text was updated successfully, but these errors were encountered: