System.CodeDom.Compiler.CodeValidator.ValidateVariableDeclarationStatement C# (CSharp) Méthode

ValidateVariableDeclarationStatement() private méthode

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