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

ValidateVariableDeclarationStatement() private method

private ValidateVariableDeclarationStatement ( CodeVariableDeclarationStatement e ) : void
e System.CodeDom.CodeVariableDeclarationStatement
return void
        private void ValidateVariableDeclarationStatement(CodeVariableDeclarationStatement e) {
            ValidateTypeReference(e.Type);
            ValidateIdentifier(e,"Name",e.Name);
            if (e.InitExpression != null) {
                ValidateExpression(e.InitExpression);
            }
        }
CodeValidator