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

◆ IsValidAttributeValue()

static bool System.Security.SecurityElement.IsValidAttributeValue ( [NotNullWhen(true)] string? value)
inlinestatic

Definition at line 313 of file SecurityElement.cs.

314 {
315 if (value == null)
316 {
317 return false;
318 }
319 return value.IndexOfAny(s_valueIllegalCharacters) == -1;
320 }
static readonly char[] s_valueIllegalCharacters

References System.Security.SecurityElement.s_valueIllegalCharacters, and System.value.

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