Delete unused Enum.InternalCompareTo (dotnet/coreclr#27837)
authorJan Kotas <jkotas@microsoft.com>
Tue, 12 Nov 2019 20:24:07 +0000 (21:24 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 20:24:07 +0000 (21:24 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/012c53ba4644ace6997dec0d608b5fd00a77983c

src/coreclr/src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs

index eec6048..fac8c0c 100644 (file)
@@ -21,9 +21,6 @@ namespace System
         private static extern object InternalBoxEnum(RuntimeType enumType, long value);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
-        private static extern int InternalCompareTo(object thisRef, object? target);
-
-        [MethodImpl(MethodImplOptions.InternalCall)]
         private extern CorElementType InternalGetCorElementType();
 
         [MethodImpl(MethodImplOptions.InternalCall)]