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

◆ SameParameters()

override bool System.Linq.Expressions.Expression3< TDelegate >.SameParameters ( ICollection< ParameterExpression > parameters)
inlinepackagevirtual

Reimplemented from System.Linq.Expressions.Expression< TDelegate >.

Definition at line 36 of file Expression3.cs.

37 {
38 if (parameters != null && parameters.Count == 3)
39 {
41 {
42 return ExpressionUtils.SameElements(parameters, current);
43 }
44 using IEnumerator<ParameterExpression> enumerator = parameters.GetEnumerator();
45 enumerator.MoveNext();
46 if (enumerator.Current == _par0)
47 {
48 enumerator.MoveNext();
49 if (enumerator.Current == _par1)
50 {
51 enumerator.MoveNext();
52 return enumerator.Current == _par2;
53 }
54 }
55 }
56 return false;
57 }
readonly ParameterExpression _par1
readonly ParameterExpression _par2

References System.Linq.Expressions.Expression3< TDelegate >._par0, System.Linq.Expressions.Expression3< TDelegate >._par1, System.Linq.Expressions.Expression3< TDelegate >._par2, System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Collections.Generic.Dictionary< TKey, TValue >.GetEnumerator().