24 instantiations of 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(
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
815
new
CodeThrowExceptionStatement
()
14 references to CodeThrowExceptionStatement
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1077
else if (e is
CodeThrowExceptionStatement
) {
1078
GenerateThrowExceptionStatement((
CodeThrowExceptionStatement
)e);
1373
private void GenerateThrowExceptionStatement(
CodeThrowExceptionStatement
e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1092
protected 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)
917
else if (e is
CodeThrowExceptionStatement
) {
918
GenerateThrowExceptionStatement((
CodeThrowExceptionStatement
)e);
1630
protected abstract void GenerateThrowExceptionStatement(
CodeThrowExceptionStatement
e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
381
else if (e is
CodeThrowExceptionStatement
) {
382
ValidateThrowExceptionStatement((
CodeThrowExceptionStatement
)e);
425
private void ValidateThrowExceptionStatement(
CodeThrowExceptionStatement
e) {
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
557
CodeThrowExceptionStatement
exception = new CodeThrowExceptionStatement(
System.Web (1)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
135
var
throwExceptionStatement = new CodeThrowExceptionStatement(new CodeObjectCreateExpression(