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

◆ SecurityElement() [1/2]

System.Security.SecurityElement.SecurityElement ( string tag)
inline

Definition at line 128 of file SecurityElement.cs.

129 {
130 if (tag == null)
131 {
132 throw new ArgumentNullException("tag");
133 }
134 if (!IsValidTag(tag))
135 {
136 throw new ArgumentException(SR.Format(SR.Argument_InvalidElementTag, tag));
137 }
138 _tag = tag;
139 }
static bool IsValidTag([NotNullWhen(true)] string? tag)

References System.Security.SecurityElement._tag, System.SR.Argument_InvalidElementTag, System.SR.Format(), and System.Security.SecurityElement.IsValidTag().

Referenced by System.Security.SecurityElement.Copy(), System.Security.SecurityElement.Equal(), and System.Security.SecurityElement.ToString().