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

ValidateThrowExceptionStatement() private method

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