Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsPrefix() [4/4]

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

Definition at line 427 of file CompareInfo.cs.

428 {
429 if (source == null)
430 {
431 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
432 }
433 if (prefix == null)
434 {
435 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.prefix);
436 }
437 return IsPrefix(source.AsSpan(), prefix.AsSpan(), options);
438 }
bool IsPrefix(string source, string prefix, CompareOptions options)

References System.Globalization.CompareInfo.IsPrefix(), System.options, System.prefix, System.source, and System.ThrowHelper.ThrowArgumentNullException().

Referenced by System.Globalization.CompareInfo.IsPrefix(), System.Globalization.CompareInfo.IsPrefix(), and System.Globalization.CompareInfo.IsPrefix().