Microsoft.Scripting.Interpreter.CallInstruction.IndexIsNotReturnType C# (CSharp) Method

IndexIsNotReturnType() private static method

private static IndexIsNotReturnType ( int index, MethodInfo target, ParameterInfo pi ) : bool
index int
target System.Reflection.MethodInfo
pi System.Reflection.ParameterInfo
return bool
        private static bool IndexIsNotReturnType(int index, MethodInfo target, ParameterInfo[] pi) {
            return pi.Length != index || (pi.Length == index && !target.IsStatic);
        }