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

◆ SameElements< T >() [1/2]

static bool System.Dynamic.Utils.ExpressionUtils.SameElements< T > ( ICollection< T > replacement,
IReadOnlyList< T > current )
inlinestaticpackage
Type Constraints
T :class 

Definition at line 178 of file ExpressionUtils.cs.

178 : class
179 {
180 if (replacement == current)
181 {
182 return true;
183 }
184 if (replacement == null)
185 {
186 return current.Count == 0;
187 }
188 return SameElementsInCollection(replacement, current);
189 }