System.CodeDom.Compiler.CodeValidator.ValidateConstructor C# (CSharp) Method

ValidateConstructor() private method

private ValidateConstructor ( CodeConstructor e ) : void
e System.CodeDom.CodeConstructor
return void
        private void ValidateConstructor(CodeConstructor e) {
            if (e.CustomAttributes.Count > 0) {
                ValidateAttributes(e.CustomAttributes);
            }

            ValidateParameters(e.Parameters);

            CodeExpressionCollection baseArgs = e.BaseConstructorArgs;
            CodeExpressionCollection thisArgs = e.ChainedConstructorArgs;

            if (baseArgs.Count > 0) {
                ValidateExpressionList(baseArgs);
            }

            if (thisArgs.Count > 0) {
                ValidateExpressionList(thisArgs);
            }

            ValidateStatements(e.Statements);
        }
CodeValidator