System.Linq.Expressions.Expression.ValidateConstructor C# (CSharp) Метод

ValidateConstructor() приватный статический Метод

private static ValidateConstructor ( ConstructorInfo constructor, string paramName ) : void
constructor ConstructorInfo
paramName string
Результат void
        private static void ValidateConstructor(ConstructorInfo constructor, string paramName)
        {
            if (constructor.IsStatic)
                throw Error.NonStaticConstructorRequired(paramName);
        }
    }
Expression