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
NativeAot is missing warnings for virtual base/override validation when the virtual method is generic.
Reproduction Steps
classG{publicvirtualvoidM<[DAM(DAMT.All)]T>([DAM(DAMT.All)]Typet){}publicvirtualvoidM([DAM(DAMT.All)]Typet){}}classD:G{publicoverridevoidM<T>(Typet){}// no warning (for T or t)publicoverridevoidM(Typet){}// warning}
Expected behavior
The generic parameter and the Type parameter of the derived method should warn about mismatching annotations.
Actual behavior
No warning
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
NativeAot is missing warnings for virtual base/override validation when the virtual method is generic.
Reproduction Steps
Expected behavior
The generic parameter and the Type parameter of the derived method should warn about mismatching annotations.
Actual behavior
No warning
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: