Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Making ToString() nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
buyaa-n committed Mar 28, 2019
1 parent 7ae4f2a commit 63f6db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System.Private.CoreLib/src/System/ValueType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public override bool Equals(object? obj)
[MethodImplAttribute(MethodImplOptions.InternalCall)]
internal static extern int GetHashCodeOfPtr(IntPtr ptr);

public override string ToString()
public override string? ToString()
{
return this.GetType().ToString();
}
Expand Down

0 comments on commit 63f6db5

Please sign in to comment.