Using ildasm to view the string comparison methods RRS feed

  • Question

  • I'm trying to use ildasm to see how the string.Compare() method is working behind the scenes.

    Using ILSpy, I've tracked it down to an internal method in System.Globalization, called CompareInfo.InternalCompareString().  However, ildasm can't even see this function inside mscorelib.  I've checked, and ildasm can see private functions, but not this.

    Am I missing something here - is this function in mscorelib, and if so, how can I view it in ildasm?

    Tuesday, May 16, 2017 4:50 PM

All replies