Replies: 1 comment
-
|
Keep in mind that types like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was writing some code to detect if an instance has an overridden
string? object.ToString();and found thatValueTypeoverrides it with a copied body (and they have the same IL code). That's easy to work around by testing bothobject.ToStringandValueType.ToString, but the question remains: Why doesValueTypeoverride it at all?Beta Was this translation helpful? Give feedback.
All reactions