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() [5/6]

bool System.ComponentModel.MaskedTextProvider.Replace ( string input,
int position,
[Out] int testPosition,
[Out] MaskedTextResultHint resultHint )
inline

Definition at line 1015 of file MaskedTextProvider.cs.

1016 {
1017 while (input == null)
1018 {
1019 }
1020 int length = this._testString.Length;
1021 int stringLength = input._stringLength;
1022 if (stringLength != 0)
1023 {
1024 return this.TestSetString(input, position, testPosition, resultHint);
1025 }
1026 return this.RemoveAt(position, position, testPosition, resultHint);
1027 }
class f__AnonymousType0<< Count > j__TPar
bool TestSetString(string input, int position, [Out] int testPosition, [Out] MaskedTextResultHint resultHint)

References System.ComponentModel.MaskedTextProvider._testString, System.input, j__TPar, System.length, System.Text.StringBuilder.Length, System.ComponentModel.MaskedTextProvider.RemoveAt(), and System.ComponentModel.MaskedTextProvider.TestSetString().