24 references to TryStatements
System (5)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1490
GenerateStatements(e.
TryStatements
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1565
GenerateVBStatements(e.
TryStatements
);
compmod\system\codedom\CodeTryCatchFinallyStatement.cs (2)
46
TryStatements
.AddRange(tryStatements);
57
TryStatements
.AddRange(tryStatements);
compmod\system\codedom\compiler\CodeValidator.cs (1)
448
ValidateStatements(e.
TryStatements
);
System.Management (17)
WmiGenerator.cs (17)
6539
DateTimeConversionFunctionHelper(tryblock.
TryStatements
,"****",tempStr,dmtf,year,0,4);
6540
DateTimeConversionFunctionHelper(tryblock.
TryStatements
,"**",tempStr,dmtf,month,4,2);
6541
DateTimeConversionFunctionHelper(tryblock.
TryStatements
,"**",tempStr,dmtf,day,6,2);
6542
DateTimeConversionFunctionHelper(tryblock.
TryStatements
,"**",tempStr,dmtf,hour,8,2);
6543
DateTimeConversionFunctionHelper(tryblock.
TryStatements
,"**",tempStr,dmtf,minute,10,2);
6544
DateTimeConversionFunctionHelper(tryblock.
TryStatements
,"**",tempStr,dmtf,second,12,2);
6559
tryblock.
TryStatements
.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(tempStr), cmie));
6587
tryblock.
TryStatements
.Add(cis);
6672
tryblock.
TryStatements
.Add(cis);
6815
tryblock2.
TryStatements
.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(utcOffset), cmie));
7585
tryblock.
TryStatements
.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.String"),strTemp,
7601
ToTimeSpanHelper(0,8,days,tryblock.
TryStatements
);
7602
ToTimeSpanHelper(8,2,hours,tryblock.
TryStatements
);
7603
ToTimeSpanHelper(10,2,minutes,tryblock.
TryStatements
);
7604
ToTimeSpanHelper(12,2,seconds,tryblock.
TryStatements
);
7615
tryblock.
TryStatements
.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(strTemp),cmie));
7624
tryblock.
TryStatements
.Add
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
514
tryCatchFinally.
TryStatements
.AddRange(GetInitializeMethodTryStatements(xmlReaderVar, xamlReaderVar, objWriterVar, initializeXamlVar, classData, memberFields));
1242
tryCatchExp.
TryStatements
.Add(new CodeAssignStatement(asm,