System.Linq.Expressions.Expression.ValidateMethodInfo C# (CSharp) Méthode

ValidateMethodInfo() private static méthode

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