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

◆ Equals() [2/2]

bool System.ComponentModel.PropertyTabAttribute.Equals ( PropertyTabAttribute other)
inline

Definition at line 110 of file PropertyTabAttribute.cs.

111 {
112 if (other == this)
113 {
114 return true;
115 }
116 if (other.TabClasses.Length != TabClasses.Length || other.TabScopes.Length != TabScopes.Length)
117 {
118 return false;
119 }
120 for (int i = 0; i < TabClasses.Length; i++)
121 {
122 if (TabClasses[i] != other.TabClasses[i] || TabScopes[i] != other.TabScopes[i])
123 {
124 return false;
125 }
126 }
127 return true;
128 }

References System.other, System.ComponentModel.PropertyTabAttribute.TabClasses, and System.ComponentModel.PropertyTabAttribute.TabScopes.