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

◆ CheckStringComparison()

static void System.String.CheckStringComparison ( StringComparison comparisonType)
inlinestaticpackage

Definition at line 882 of file String.cs.

883 {
884 if ((uint)comparisonType > 5u)
885 {
886 ThrowHelper.ThrowArgumentException(ExceptionResource.NotSupported_StringComparison, ExceptionArgument.comparisonType);
887 }
888 }

References System.comparisonType, and System.ThrowHelper.ThrowArgumentException().

Referenced by System.String.Compare(), System.String.Compare(), System.String.EndsWith(), System.String.Equals(), System.String.Equals(), and System.String.StartsWith().