System.Linq.Expressions.Expression.ValidateMethodInfo C# (CSharp) Method

ValidateMethodInfo() private static method

private static ValidateMethodInfo ( MethodInfo method, string paramName ) : void
method MethodInfo
paramName string
return void
        private static void ValidateMethodInfo(MethodInfo method, string paramName)
        {
            if (method.ContainsGenericParameters)
                throw method.IsGenericMethodDefinition ? Error.MethodIsGeneric(method, paramName) : Error.MethodContainsGenericParameters(method, paramName);
        }
Expression