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

◆ IsValidText()

static bool System.Security.SecurityElement.IsValidText ( [NotNullWhen(true)] string? text)
inlinestatic

Definition at line 299 of file SecurityElement.cs.

300 {
301 if (text == null)
302 {
303 return false;
304 }
305 return text.IndexOfAny(s_textIllegalCharacters) == -1;
306 }
static readonly char[] s_textIllegalCharacters

References System.Security.SecurityElement.s_textIllegalCharacters, and System.text.

Referenced by System.Security.SecurityElement.SecurityElement().