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

◆ SameExpressions()

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

Reimplemented from System.Linq.Expressions.BlockExpression.

Definition at line 43 of file Block5.cs.

44 {
45 if (expressions.Count == 5)
46 {
48 {
49 return ExpressionUtils.SameElements(expressions, current);
50 }
52 enumerator.MoveNext();
53 if (enumerator.Current == _arg0)
54 {
55 enumerator.MoveNext();
56 if (enumerator.Current == _arg1)
57 {
58 enumerator.MoveNext();
59 if (enumerator.Current == _arg2)
60 {
61 enumerator.MoveNext();
62 if (enumerator.Current == _arg3)
63 {
64 enumerator.MoveNext();
65 return enumerator.Current == _arg4;
66 }
67 }
68 }
69 }
70 }
71 return false;
72 }
readonly Expression _arg3
Definition Block5.cs:15
readonly Expression _arg4
Definition Block5.cs:17
readonly Expression _arg2
Definition Block5.cs:13
readonly Expression _arg1
Definition Block5.cs:11

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