23 references to CodeThrowExceptionStatement
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
557
CodeThrowExceptionStatement exception = new
CodeThrowExceptionStatement
(
770
new
CodeThrowExceptionStatement
(
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1493
return 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)
532
getViewAtMethod.Statements.Add(new
CodeThrowExceptionStatement
(
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
212
new
CodeThrowExceptionStatement
(
System.Management (17)
WmiGenerator.cs (17)
1107
cis1.TrueStatements.Add(new
CodeThrowExceptionStatement
(coce));
2609
cis.FalseStatements.Add(new
CodeThrowExceptionStatement
(coce));
2680
cis.FalseStatements.Add(new
CodeThrowExceptionStatement
(coce));
2754
cis1.TrueStatements.Add(new
CodeThrowExceptionStatement
(coce));
6498
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
6517
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
6534
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
6670
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
6694
catchblock.Statements.Add(new
CodeThrowExceptionStatement
(codeThrowExceptionWithArgs));
6957
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
6987
cis2.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
7514
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
7533
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
7551
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
7574
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
7702
cis.TrueStatements.Add(new
CodeThrowExceptionStatement
(codeThrowException));
7725
catchblock.Statements.Add(new
CodeThrowExceptionStatement
(codeThrowExceptionWithArgs));
System.Web (1)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
135
var throwExceptionStatement = new
CodeThrowExceptionStatement
(new CodeObjectCreateExpression(