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
Copy file name to clipboardExpand all lines: docs/removal-behavior.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ public class Program
42
42
43
43
### Method call on a constrained type parameter
44
44
45
-
On a call to a static abstract interface method that is accessed through a constrained type parameter, the interface method is rooted, as well as every implementation method on every type.
45
+
On a call to a static abstract interface method that is accessed through a constrained type parameter, the interface method is kept, as is every implementation method on every kept type.
/// Does extra handling of marked types that have interfaces when it's necessary to know what types are marked or instantiated.
604
+
/// Right now it only marks the "implements interface" annotations and removes override annotations for static interface methods.
605
+
/// </summary>
579
606
voidProcessMarkedTypesWithInterfaces()
580
607
{
581
608
// We may mark an interface type later on. Which means we need to reprocess any time with one or more interface implementations that have not been marked
/// Handles marking overriding methods if the type with the overriding method is instantiated or if the base method is a static abstract interface method
Copy file name to clipboardExpand all lines: src/linker/Linker/Annotations.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -436,6 +436,9 @@ public bool IsPublic (IMetadataTokenProvider provider)
436
436
returnpublic_api.Contains(provider);
437
437
}
438
438
439
+
/// <summary>
440
+
/// Returns an IEnumerable of the methods that override this method. Note this is different than <see cref="MethodDefinition.Overrides"/>, which returns the MethodImpl's
0 commit comments