125 instantiations of CodeConditionStatement
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
955
ccsConnector = new
CodeConditionStatement
();
1185
ccsConnector = new
CodeConditionStatement
();
2554
CodeConditionStatement ccsCL = new
CodeConditionStatement
();
System.Activities (12)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (12)
768
CodeConditionStatement nullArgumentCondition = new
CodeConditionStatement
(
854
CodeConditionStatement idCondition = new
CodeConditionStatement
(idExpression, conditionStatements);
909
CodeConditionStatement idCondition = new
CodeConditionStatement
(idExpression, conditionStatement);
996
CodeConditionStatement idCondition = new
CodeConditionStatement
(idExpression, conditionStatements);
1014
CodeConditionStatement dataContextActivitiesNullStatement = new
CodeConditionStatement
(
1047
CodeConditionStatement dataContextActivityCheck = new
CodeConditionStatement
(
1114
CodeConditionStatement conditionStatement = new
CodeConditionStatement
(
1332
CodeConditionStatement matchCondition = new
CodeConditionStatement
(
2001
CodeConditionStatement offsetCheckStatement = new
CodeConditionStatement
(new CodeBinaryOperatorExpression(
2231
CodeConditionStatement checkLocationCountStatement = new
CodeConditionStatement
(
2240
CodeConditionStatement generateNewOffset = new
CodeConditionStatement
(shouldCheckLocationCountExpression,
2328
CodeConditionStatement locationStatement = new
CodeConditionStatement
(
System.Data (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1497
return new
CodeConditionStatement
(cond, trueStms, falseStms);
1499
private static CodeStatement If( CodeExpression cond, CodeStatement[] trueStms ) {return new
CodeConditionStatement
(cond, trueStms);}
System.Data.Entity.Design (5)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
514
CodeConditionStatement currentIf = new
CodeConditionStatement
(new CodeBinaryOperatorExpression(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
387
new
CodeConditionStatement
(
620
new
CodeConditionStatement
(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
196
new
CodeConditionStatement
(
243
new
CodeConditionStatement
(
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
791
new
CodeConditionStatement
(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
277
new
CodeConditionStatement
(
336
new
CodeConditionStatement
(
548
new
CodeConditionStatement
(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
226
CodeConditionStatement ccs = new
CodeConditionStatement
(EmitExpressionDoesNotEqualNull(valueRef));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
247
new
CodeConditionStatement
(
284
new
CodeConditionStatement
(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
210
new
CodeConditionStatement
(
System.Management (57)
WmiGenerator.cs (57)
1070
cis = new
CodeConditionStatement
();
1083
cis = new
CodeConditionStatement
();
1090
CodeConditionStatement cis1 = new
CodeConditionStatement
();
1337
cis = new
CodeConditionStatement
();
1360
cis = new
CodeConditionStatement
();
1428
CodeConditionStatement cis2 = new
CodeConditionStatement
();
1539
CodeConditionStatement ccs = new
CodeConditionStatement
();
1591
cis = new
CodeConditionStatement
();
2579
cis = new
CodeConditionStatement
();
2660
cis = new
CodeConditionStatement
();
2732
cis = new
CodeConditionStatement
();
2736
CodeConditionStatement cis1 = new
CodeConditionStatement
();
2884
cis = new
CodeConditionStatement
();
3486
cis = new
CodeConditionStatement
();
3493
CodeConditionStatement cis1 = new
CodeConditionStatement
();
3540
cis = new
CodeConditionStatement
();
3666
cis = new
CodeConditionStatement
();
3674
CodeConditionStatement cis1 = new
CodeConditionStatement
();
4123
cis = new
CodeConditionStatement
();
4152
cis.TrueStatements.Add(new
CodeConditionStatement
(cboe2,new CodeMethodReturnStatement(new CodeVariableReferenceExpression("value"))));
4180
cis.TrueStatements.Add(new
CodeConditionStatement
(cboe7,new CodeMethodReturnStatement(new CodeSnippetExpression(" \"NULL_ENUM_VALUE\" "))));
4188
cis = new
CodeConditionStatement
();
4245
cis.TrueStatements.Add(new
CodeConditionStatement
(cboe7,new CodeMethodReturnStatement(new CodePrimitiveExpression(""))));
4260
cis = new
CodeConditionStatement
();
5061
cis = new
CodeConditionStatement
();
5095
cis = new
CodeConditionStatement
();
5443
cis = new
CodeConditionStatement
();
5450
CodeConditionStatement cis1 = new
CodeConditionStatement
();
5466
CodeConditionStatement cis2 = new
CodeConditionStatement
();
5545
cis = new
CodeConditionStatement
();
5618
cis = new
CodeConditionStatement
();
5630
CodeConditionStatement cis1 = new
CodeConditionStatement
();
5669
CodeConditionStatement cis2 = new
CodeConditionStatement
();
5699
CodeConditionStatement cis1 = new
CodeConditionStatement
();
5764
CodeConditionStatement cis1 = new
CodeConditionStatement
();
5899
CodeConditionStatement cis1 = new
CodeConditionStatement
();
6095
cis = new
CodeConditionStatement
();
6109
cis = new
CodeConditionStatement
();
6316
CodeConditionStatement cis1 = new
CodeConditionStatement
();
6493
CodeConditionStatement cis = new
CodeConditionStatement
();
6514
cis = new
CodeConditionStatement
();
6532
cis = new
CodeConditionStatement
();
6566
cis = new
CodeConditionStatement
();
6667
cis = new
CodeConditionStatement
();
6799
cis = new
CodeConditionStatement
();
6869
CodeConditionStatement cis = new
CodeConditionStatement
();
6955
CodeConditionStatement cis = new
CodeConditionStatement
();
6985
CodeConditionStatement cis2 = new
CodeConditionStatement
();
7108
cis = new
CodeConditionStatement
();
7220
CodeConditionStatement cis1 = new
CodeConditionStatement
();
7241
CodeConditionStatement cis2 = new
CodeConditionStatement
();
7404
cis1 = new
CodeConditionStatement
();
7509
CodeConditionStatement cis = new
CodeConditionStatement
();
7530
cis = new
CodeConditionStatement
();
7549
cis = new
CodeConditionStatement
();
7572
cis = new
CodeConditionStatement
();
7699
cis = new
CodeConditionStatement
();
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (3)
1813
CodeConditionStatement returnIfNull = new
CodeConditionStatement
();
1912
CodeConditionStatement ifStatement = new
CodeConditionStatement
(new CodeBinaryOperatorExpression(propertyChanged, CodeBinaryOperatorType.IdentityInequality, NullReference));
1957
CodeConditionStatement ifStatement = new
CodeConditionStatement
();
System.ServiceModel (2)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
824
CodeConditionStatement ifEventHandlerNotNullBlock = new
CodeConditionStatement
(
922
return new
CodeConditionStatement
(
System.Web (17)
Compilation\BaseCodeDomTreeGenerator.cs (2)
447
CodeConditionStatement initializedCondition = new
CodeConditionStatement
();
616
CodeConditionStatement ifStmt = new
CodeConditionStatement
();
Compilation\BaseTemplateCodeDomTreeGenerator.cs (5)
496
CodeConditionStatement contentTemplateIfStmt = new
CodeConditionStatement
();
529
templateIfStmt = new
CodeConditionStatement
();
923
templateIfStmt = new
CodeConditionStatement
();
1078
CodeConditionStatement ifStatement = new
CodeConditionStatement
();
1757
CodeConditionStatement ifStmt = new
CodeConditionStatement
();
Compilation\BrowserCapabilitiesCompiler.cs (2)
376
CodeConditionStatement istatement = new
CodeConditionStatement
();
436
CodeConditionStatement istatement = new
CodeConditionStatement
();
Compilation\DataBindingExpressionBuilder.cs (1)
56
CodeConditionStatement ifStmt = new
CodeConditionStatement
();
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
122
var createObjectStatement = new
CodeConditionStatement
() {
Compilation\PageCodeDomTreeGenerator.cs (1)
184
CodeConditionStatement outputCacheSettingsCondition = new
CodeConditionStatement
();
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
751
CodeConditionStatement istatement = new
CodeConditionStatement
();
1137
CodeConditionStatement emptyCheckStmt = new
CodeConditionStatement
();
1236
CodeConditionStatement istatement = new
CodeConditionStatement
();
1297
CodeConditionStatement istatement = new
CodeConditionStatement
();
1470
CodeConditionStatement conditionStmt = new
CodeConditionStatement
();
System.Web.Services (4)
System\Web\Services\Description\ProtocolImporter.cs (2)
692
ctor.Statements.Add(new
CodeConditionStatement
(checkIfNull, trueStatements, new CodeStatement[] { assignUrlStatement }));
694
ctor.Statements.Add(new
CodeConditionStatement
(checkIfNull, trueStatements));
System\Web\Services\Description\WebCodeGenerator.cs (2)
311
asyncCompleted.Statements.Add(new
CodeConditionStatement
(checkIfNull, trueStatements, new CodeStatement[0]));
344
asyncCodeMethod.Statements.Add(new
CodeConditionStatement
(checkIfNull, trueStatements, new CodeStatement[0]));
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
359
CodeConditionStatement ifStatement = new
CodeConditionStatement
(new CodeBinaryOperatorExpression(propertyChanged, CodeBinaryOperatorType.IdentityInequality, new CodePrimitiveExpression(null)));
XamlBuildTask (11)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (11)
400
new
CodeConditionStatement
()
438
new
CodeConditionStatement
636
CodeConditionStatement xmlReaderNotNull = new
CodeConditionStatement
();
643
CodeConditionStatement xamlReaderNotNull = new
CodeConditionStatement
();
650
CodeConditionStatement objWriterNotNull = new
CodeConditionStatement
();
775
new
CodeConditionStatement
()
1106
CodeConditionStatement assemblyListNull = new
CodeConditionStatement
(
1158
CodeConditionStatement getSchemaContextIfNotNull = new
CodeConditionStatement
();
1165
CodeConditionStatement xscReturnIfNotNull = new
CodeConditionStatement
(
1173
CodeConditionStatement initSchemaContext = new
CodeConditionStatement
();
1255
CodeConditionStatement setPublicKeyTokenExp = new
CodeConditionStatement
();
84 references to CodeConditionStatement
PresentationBuildTasks (4)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (4)
927
CodeConditionStatement
ccsConnector = null;
966
ccsConnector = _ccRoot.StyleConnectorFn.Statements[_ccRoot.StyleConnectorFn.Statements.Count - 1] as
CodeConditionStatement
;
1172
CodeConditionStatement
ccsConnector = null;
2554
CodeConditionStatement
ccsCL = new CodeConditionStatement();
System (13)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1062
else if (e is
CodeConditionStatement
) {
1063
GenerateConditionStatement((
CodeConditionStatement
)e);
1454
private void GenerateConditionStatement(
CodeConditionStatement
e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1537
protected override void GenerateConditionStatement(
CodeConditionStatement
e) {
compmod\system\codedom\CodeConditionStatement.cs (3)
34
/// Initializes a new instance of <see cref='System.CodeDom.
CodeConditionStatement
'/>.
42
/// Initializes a new instance of <see cref='System.CodeDom.
CodeConditionStatement
'/>.
52
/// Initializes a new instance of <see cref='System.CodeDom.
CodeConditionStatement
'/> that can represent an if..
compmod\system\codedom\compiler\CodeGenerator.cs (3)
902
else if (e is
CodeConditionStatement
) {
903
GenerateConditionStatement((
CodeConditionStatement
)e);
1669
protected abstract void GenerateConditionStatement(
CodeConditionStatement
e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
366
else if (e is
CodeConditionStatement
) {
367
ValidateConditionStatement((
CodeConditionStatement
)e);
437
private void ValidateConditionStatement(
CodeConditionStatement
e) {
System.Activities (14)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (14)
768
CodeConditionStatement
nullArgumentCondition = new CodeConditionStatement(
854
CodeConditionStatement
idCondition = new CodeConditionStatement(idExpression, conditionStatements);
909
CodeConditionStatement
idCondition = new CodeConditionStatement(idExpression, conditionStatement);
996
CodeConditionStatement
idCondition = new CodeConditionStatement(idExpression, conditionStatements);
1007
CodeConditionStatement
GenerateDataContextActivitiesCheck(CompiledExpressionDescriptor descriptor)
1014
CodeConditionStatement
dataContextActivitiesNullStatement = new CodeConditionStatement(
1047
CodeConditionStatement
dataContextActivityCheck = new CodeConditionStatement(
1114
CodeConditionStatement
conditionStatement = new CodeConditionStatement(
1332
CodeConditionStatement
matchCondition = new CodeConditionStatement(
2001
CodeConditionStatement
offsetCheckStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(
2231
CodeConditionStatement
checkLocationCountStatement = new CodeConditionStatement(
2240
CodeConditionStatement
generateNewOffset = new CodeConditionStatement(shouldCheckLocationCountExpression,
2301
CodeConditionStatement
GenerateLocationReferenceCheck(MemberData memberData)
2328
CodeConditionStatement
locationStatement = new CodeConditionStatement(
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
514
CodeConditionStatement
currentIf = new CodeConditionStatement(new CodeBinaryOperatorExpression(
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
226
CodeConditionStatement
ccs = new CodeConditionStatement(EmitExpressionDoesNotEqualNull(valueRef));
System.Management (22)
WmiGenerator.cs (22)
88
private
CodeConditionStatement
cis;
1090
CodeConditionStatement
cis1 = new CodeConditionStatement();
1428
CodeConditionStatement
cis2 = new CodeConditionStatement();
1539
CodeConditionStatement
ccs = new CodeConditionStatement();
2736
CodeConditionStatement
cis1 = new CodeConditionStatement();
3493
CodeConditionStatement
cis1 = new CodeConditionStatement();
3674
CodeConditionStatement
cis1 = new CodeConditionStatement();
5450
CodeConditionStatement
cis1 = new CodeConditionStatement();
5466
CodeConditionStatement
cis2 = new CodeConditionStatement();
5630
CodeConditionStatement
cis1 = new CodeConditionStatement();
5669
CodeConditionStatement
cis2 = new CodeConditionStatement();
5699
CodeConditionStatement
cis1 = new CodeConditionStatement();
5764
CodeConditionStatement
cis1 = new CodeConditionStatement();
5899
CodeConditionStatement
cis1 = new CodeConditionStatement();
6316
CodeConditionStatement
cis1 = new CodeConditionStatement();
6493
CodeConditionStatement
cis = new CodeConditionStatement();
6869
CodeConditionStatement
cis = new CodeConditionStatement();
6955
CodeConditionStatement
cis = new CodeConditionStatement();
6985
CodeConditionStatement
cis2 = new CodeConditionStatement();
7220
CodeConditionStatement
cis1 = new CodeConditionStatement();
7241
CodeConditionStatement
cis2 = new CodeConditionStatement();
7509
CodeConditionStatement
cis = new CodeConditionStatement();
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (3)
1813
CodeConditionStatement
returnIfNull = new CodeConditionStatement();
1912
CodeConditionStatement
ifStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(propertyChanged, CodeBinaryOperatorType.IdentityInequality, NullReference));
1957
CodeConditionStatement
ifStatement = new CodeConditionStatement();
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
824
CodeConditionStatement
ifEventHandlerNotNullBlock = new CodeConditionStatement(
System.Web (16)
Compilation\BaseCodeDomTreeGenerator.cs (2)
447
CodeConditionStatement
initializedCondition = new CodeConditionStatement();
616
CodeConditionStatement
ifStmt = new CodeConditionStatement();
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
432
CodeConditionStatement
templateIfStmt = null;
496
CodeConditionStatement
contentTemplateIfStmt = new CodeConditionStatement();
1078
CodeConditionStatement
ifStatement = new CodeConditionStatement();
1757
CodeConditionStatement
ifStmt = new CodeConditionStatement();
Compilation\BrowserCapabilitiesCompiler.cs (2)
376
CodeConditionStatement
istatement = new CodeConditionStatement();
436
CodeConditionStatement
istatement = new CodeConditionStatement();
Compilation\DataBindingExpressionBuilder.cs (1)
56
CodeConditionStatement
ifStmt = new CodeConditionStatement();
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
122
var
createObjectStatement = new CodeConditionStatement() {
Compilation\PageCodeDomTreeGenerator.cs (1)
184
CodeConditionStatement
outputCacheSettingsCondition = new CodeConditionStatement();
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
751
CodeConditionStatement
istatement = new CodeConditionStatement();
1137
CodeConditionStatement
emptyCheckStmt = new CodeConditionStatement();
1236
CodeConditionStatement
istatement = new CodeConditionStatement();
1297
CodeConditionStatement
istatement = new CodeConditionStatement();
1470
CodeConditionStatement
conditionStmt = new CodeConditionStatement();
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
359
CodeConditionStatement
ifStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(propertyChanged, CodeBinaryOperatorType.IdentityInequality, new CodePrimitiveExpression(null)));
XamlBuildTask (8)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (8)
636
CodeConditionStatement
xmlReaderNotNull = new CodeConditionStatement();
643
CodeConditionStatement
xamlReaderNotNull = new CodeConditionStatement();
650
CodeConditionStatement
objWriterNotNull = new CodeConditionStatement();
1106
CodeConditionStatement
assemblyListNull = new CodeConditionStatement(
1158
CodeConditionStatement
getSchemaContextIfNotNull = new CodeConditionStatement();
1165
CodeConditionStatement
xscReturnIfNotNull = new CodeConditionStatement(
1173
CodeConditionStatement
initSchemaContext = new CodeConditionStatement();
1255
CodeConditionStatement
setPublicKeyTokenExp = new CodeConditionStatement();