24 instantiations of CodeThrowExceptionStatement
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
557CodeThrowExceptionStatement exception = new CodeThrowExceptionStatement( 770new CodeThrowExceptionStatement(
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1493return new CodeThrowExceptionStatement(New(exception, new CodeExpression[] {Str(Res.GetString(arg)), Variable(inner)}));
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
532getViewAtMethod.Statements.Add(new CodeThrowExceptionStatement(
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
212new CodeThrowExceptionStatement(
System.Management (17)
WmiGenerator.cs (17)
1107cis1.TrueStatements.Add(new CodeThrowExceptionStatement(coce)); 2609cis.FalseStatements.Add(new CodeThrowExceptionStatement(coce)); 2680cis.FalseStatements.Add(new CodeThrowExceptionStatement(coce)); 2754cis1.TrueStatements.Add(new CodeThrowExceptionStatement(coce)); 6498cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 6517cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 6534cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 6670cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 6694catchblock.Statements.Add(new CodeThrowExceptionStatement(codeThrowExceptionWithArgs)); 6957cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 6987cis2.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 7514cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 7533cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 7551cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 7574cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 7702cis.TrueStatements.Add(new CodeThrowExceptionStatement(codeThrowException)); 7725catchblock.Statements.Add(new CodeThrowExceptionStatement(codeThrowExceptionWithArgs));
System.Web (1)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
135var throwExceptionStatement = new CodeThrowExceptionStatement(new CodeObjectCreateExpression(
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
815new CodeThrowExceptionStatement()
14 references to CodeThrowExceptionStatement
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1077else if (e is CodeThrowExceptionStatement) { 1078GenerateThrowExceptionStatement((CodeThrowExceptionStatement)e); 1373private void GenerateThrowExceptionStatement(CodeThrowExceptionStatement e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1092protected override void GenerateThrowExceptionStatement(CodeThrowExceptionStatement e) {
compmod\system\codedom\CodeThrowExceptionStatement.cs (2)
33/// Initializes a new instance of <see cref='System.CodeDom.CodeThrowExceptionStatement'/>. 41/// Initializes a new instance of <see cref='System.CodeDom.CodeThrowExceptionStatement'/> using the specified statement.
compmod\system\codedom\compiler\CodeGenerator.cs (3)
917else if (e is CodeThrowExceptionStatement) { 918GenerateThrowExceptionStatement((CodeThrowExceptionStatement)e); 1630protected abstract void GenerateThrowExceptionStatement(CodeThrowExceptionStatement e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
381else if (e is CodeThrowExceptionStatement) { 382ValidateThrowExceptionStatement((CodeThrowExceptionStatement)e); 425private void ValidateThrowExceptionStatement(CodeThrowExceptionStatement e) {
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
557CodeThrowExceptionStatement exception = new CodeThrowExceptionStatement(
System.Web (1)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
135var throwExceptionStatement = new CodeThrowExceptionStatement(new CodeObjectCreateExpression(