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

◆ SameExpressions()

override bool System.Linq.Expressions.Block4.SameExpressions ( ICollection< Expression > expressions)
inlinepackagevirtual

Reimplemented from System.Linq.Expressions.BlockExpression.

Definition at line 27 of file Block4.cs.

28 {
29 if (expressions.Count == 4)
30 {
32 {
33 return ExpressionUtils.SameElements(expressions, current);
34 }
36 enumerator.MoveNext();
37 if (enumerator.Current == _arg0)
38 {
39 enumerator.MoveNext();
40 if (enumerator.Current == _arg1)
41 {
42 enumerator.MoveNext();
43 if (enumerator.Current == _arg2)
44 {
45 enumerator.MoveNext();
46 return enumerator.Current == _arg3;
47 }
48 }
49 }
50 }
51 return false;
52 }
readonly Expression _arg2
Definition Block4.cs:13
readonly Expression _arg1
Definition Block4.cs:11
readonly Expression _arg3
Definition Block4.cs:15

References System.Linq.Expressions.Block4._arg0, System.Linq.Expressions.Block4._arg1, System.Linq.Expressions.Block4._arg2, System.Linq.Expressions.Block4._arg3, System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Collections.Generic.Dictionary< TKey, TValue >.GetEnumerator().