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

◆ GetDeepHashCode()

override int System.Xml.Linq.XElement.GetDeepHashCode ( )
inlinepackage

Definition at line 1116 of file XElement.cs.

1117 {
1118 int hashCode = name.GetHashCode();
1119 hashCode ^= ContentsHashCode();
1120 XAttribute xAttribute = lastAttr;
1121 if (xAttribute != null)
1122 {
1123 do
1124 {
1125 xAttribute = xAttribute.next;
1126 hashCode ^= xAttribute.GetDeepHashCode();
1127 }
1128 while (xAttribute != lastAttr);
1129 }
1130 return hashCode;
1131 }
override int GetHashCode()
Definition XName.cs:79

References System.Xml.Linq.XContainer.ContentsHashCode(), System.Xml.Linq.XName.GetHashCode(), System.Xml.Linq.XElement.lastAttr, and System.Xml.Linq.XElement.name.