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

◆ CompareArray()

bool System.Data.RelatedView.CompareArray ( object[] value1,
object[] value2 )
inlineprivate

Definition at line 129 of file RelatedView.cs.

130 {
131 if (value1 == null || value2 == null)
132 {
133 return value1 == value2;
134 }
135 if (value1.Length != value2.Length)
136 {
137 return false;
138 }
139 for (int i = 0; i < value1.Length; i++)
140 {
141 if (value1[i] != value2[i])
142 {
143 return false;
144 }
145 }
146 return true;
147 }

Referenced by System.Data.RelatedView.Equals().