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

◆ IndexIsNotReturnType()

static bool System.Linq.Expressions.Interpreter.CallInstruction.IndexIsNotReturnType ( int index,
MethodInfo target,
ParameterInfo[] pi )
inlinestaticprivateinherited

Definition at line 149 of file CallInstruction.cs.

150 {
151 if (pi.Length == index)
152 {
153 if (pi.Length == index)
154 {
155 return !target.IsStatic;
156 }
157 return false;
158 }
159 return true;
160 }

References System.Linq.index, and System.Reflection.MethodBase.IsStatic.

Referenced by System.Linq.Expressions.Interpreter.CallInstruction.FastCreate(), and System.Linq.Expressions.Interpreter.CallInstruction.FastCreate< T0 >().