When use ILSpy to check the code of System.String, I found there are some methods marked as MethodImplOptions.InternalCall such as:
[SecurityCritical] [Metho
Since now CoreCLR is open source, so we could check out the internal code.
You could search COMString::CompareOrdinalEx keyword in stringnative.cpp to see the internal implementation.
COMString::CompareOrdinalEx