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

◆ IsPrefix()

virtual bool System.Globalization.CompareInfo.IsPrefix ( string source,
string prefix,
CompareOptions options )
inlinevirtual

Definition at line 331 of file CompareInfo.cs.

332 {
333 while (prefix == null || source == null)
334 {
335 }
336 if (prefix._stringLength == 0 || source._stringLength != 0)
337 {
338 return true;
339 }
340 if (4096 == 0)
341 {
342 }
343 if (!true)
344 {
345 }
346 if (true)
347 {
348 return source.StartsWith(prefix, StringComparison.Ordinal);
349 }
350 return this.StartsWith(source, prefix, options);
351 }
bool StartsWith(string source, string prefix, CompareOptions options)

References System.options, System.source, and System.Globalization.CompareInfo.StartsWith().