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

ValidateThrowExceptionStatement() private méthode

private ValidateThrowExceptionStatement ( CodeThrowExceptionStatement e ) : void
e System.CodeDom.CodeThrowExceptionStatement
Résultat void
        private void ValidateThrowExceptionStatement(CodeThrowExceptionStatement e) {
            if (e.ToThrow != null) {
                ValidateExpression(e.ToThrow);
            }
        }
CodeValidator