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

◆ AddAttribute()

override void System.Xml.Linq.XElement.AddAttribute ( XAttribute a)
inlinepackagevirtual

Reimplemented from System.Xml.Linq.XContainer.

Definition at line 983 of file XElement.cs.

984 {
985 if (Attribute(a.Name) != null)
986 {
988 }
989 if (a.parent != null)
990 {
991 a = new XAttribute(a);
992 }
994 }
static string InvalidOperation_DuplicateAttribute
Definition SR.cs:42
Definition SR.cs:7

References System.Xml.AppendAttribute, System.Xml.Attribute, and System.SR.InvalidOperation_DuplicateAttribute.