Found when implementing unsafe evolution, mainly in #82043. The following list references test methods in UnsafeEvolutionTests class (it should be enough to replace unsafe with [Obsolete] to observe the bug; probably not everything is an unmanaged bug).
Fixing this would be a breaking change.
Found when implementing unsafe evolution, mainly in #82043. The following list references test methods in
UnsafeEvolutionTestsclass (it should be enough to replaceunsafewith[Obsolete]to observe the bug; probably not everything is anunmanagedbug).Member_GetEnumerator_Spread)new()constraint #82647)Member_LockObject)Member_ITuple)Member_Dispose_Interface)ReportUseSite,AssertNotUnsafeMemberAccess(e.g., types cannot be marked caller-unsafe, but still could have missingObsoletechecks),ReportDiagnosticsIfUnsafeMemberAccess.Fixing this would be a breaking change.