terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Replace() [2/2]

string System.String.Replace ( string oldValue,
string newValue )
inline

Definition at line 705 of file String.cs.

706 {
707 while (oldValue == null || oldValue._stringLength == 0)
708 {
709 }
710 if (newValue == null)
711 {
712 }
713 int stringLength = this._stringLength;
714 int stringLength2 = oldValue._stringLength;
715 long num = 0L;
717 stringLength2.m_value = (int)num;
718 int stringLength3 = oldValue._stringLength;
719 if (oldValue._stringLength != 0)
720 {
721 int stringLength4 = oldValue._stringLength;
722 }
723 string text;
724 return text;
725 }
class f__AnonymousType0<< Count > j__TPar
int _stringLength
Definition String.cs:2139
static void ThrowIndexOutOfRangeException()

References System.String._stringLength, j__TPar, System.L, System.text, and System.ThrowHelper.ThrowIndexOutOfRangeException().