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

◆ IsValidTag()

static bool System.Security.SecurityElement.IsValidTag ( [NotNullWhen(true)] string? tag)
inlinestatic

Definition at line 290 of file SecurityElement.cs.

291 {
292 if (tag == null)
293 {
294 return false;
295 }
296 return tag.IndexOfAny(s_tagIllegalCharacters) == -1;
297 }
static readonly char[] s_tagIllegalCharacters

References System.Security.SecurityElement.s_tagIllegalCharacters.

Referenced by System.Security.SecurityElement.SecurityElement(), System.Security.SecurityElement.SecurityElement(), and System.Security.SecurityElement.IsValidAttributeName().