23 references to 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(