I want to see how the
public String Replace(String oldValue, String newValue);
method that is inside mscorlib.dll (System.String) works.
I decompiled the mscorlib.dll with dotPeek and inside the method there is a call to ReplaceInternal method which I cannot find it
string s = ReplaceInternal(oldValue, newValue);
I have search for this method even on the open source .NET Core from GIT but no luck.
Please explain where is this method and what is inside?
ReplaceInternal
istextern
, so most likely it is implemented as "unmanaged", native C++ code. See P/Invoke for details. – Farkas