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

◆ SameExpressions()

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

Reimplemented from System.Linq.Expressions.BlockExpression.

Definition at line 24 of file Block3.cs.

25 {
26 if (expressions.Count == 3)
27 {
29 {
30 return ExpressionUtils.SameElements(expressions, current);
31 }
33 enumerator.MoveNext();
34 if (enumerator.Current == _arg0)
35 {
36 enumerator.MoveNext();
37 if (enumerator.Current == _arg1)
38 {
39 enumerator.MoveNext();
40 return enumerator.Current == _arg2;
41 }
42 }
43 }
44 return false;
45 }
readonly Expression _arg2
Definition Block3.cs:13
readonly Expression _arg1
Definition Block3.cs:11

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