summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/System.Private.CoreLib/src/System/RuntimeHandles.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/src/System/RuntimeHandles.cs b/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
index 242f3988bd..ae170d00ff 100644
--- a/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
+++ b/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
@@ -68,11 +68,11 @@ namespace System
return type;
}
- public static bool operator ==(RuntimeTypeHandle left, object right) { return left.Equals(right); }
+ public static bool operator ==(RuntimeTypeHandle left, object? right) { return left.Equals(right); }
public static bool operator ==(object? left, RuntimeTypeHandle right) { return right.Equals(left); }
- public static bool operator !=(RuntimeTypeHandle left, object right) { return !left.Equals(right); }
+ public static bool operator !=(RuntimeTypeHandle left, object? right) { return !left.Equals(right); }
public static bool operator !=(object? left, RuntimeTypeHandle right) { return !right.Equals(left); }