While examining the
String == operator, I noticed that it calls
String.Equals(string a, string b), meaning it's just a pass-through.
String.Equals(string a, string b) method, I see that it does an equality check using the
== operator. How is this actually working and not causing a
StackOverflowException when doing something like
"x" == "x" or
"x" == "y"?
Update: I let JetBrains know and they made it a critical priority for dotPeek. https://youtrack.jetbrains.com/issue/DOTP-6789
I also added an issue on ILSpy's GitHub repo.