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

◆ Contains() [3/4]

bool System.String.Contains ( string value)
inline

Definition at line 3204 of file String.cs.

3205 {
3206 if ((object)value == null)
3207 {
3208 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.value);
3209 }
3210 return SpanHelpers.IndexOf(ref _firstChar, Length, ref value._firstChar, value.Length) >= 0;
3211 }
char _firstChar
Definition String.cs:35

References System.String._firstChar, System.SpanHelpers.IndexOf(), System.String.Length, System.ThrowHelper.ThrowArgumentNullException(), and System.value.