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