34 references to CodeConditionStatement
System.Activities (12)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (12)
768CodeConditionStatement nullArgumentCondition = new CodeConditionStatement( 854CodeConditionStatement idCondition = new CodeConditionStatement(idExpression, conditionStatements); 909CodeConditionStatement idCondition = new CodeConditionStatement(idExpression, conditionStatement); 996CodeConditionStatement idCondition = new CodeConditionStatement(idExpression, conditionStatements); 1014CodeConditionStatement dataContextActivitiesNullStatement = new CodeConditionStatement( 1047CodeConditionStatement dataContextActivityCheck = new CodeConditionStatement( 1114CodeConditionStatement conditionStatement = new CodeConditionStatement( 1332CodeConditionStatement matchCondition = new CodeConditionStatement( 2001CodeConditionStatement offsetCheckStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression( 2231CodeConditionStatement checkLocationCountStatement = new CodeConditionStatement( 2240CodeConditionStatement generateNewOffset = new CodeConditionStatement(shouldCheckLocationCountExpression, 2328CodeConditionStatement locationStatement = new CodeConditionStatement(
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1499private static CodeStatement If( CodeExpression cond, CodeStatement[] trueStms ) {return new CodeConditionStatement(cond, trueStms);}
System.Data.Entity.Design (4)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
514CodeConditionStatement currentIf = new CodeConditionStatement(new CodeBinaryOperatorExpression(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
387new CodeConditionStatement(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
196new CodeConditionStatement( 243new CodeConditionStatement(
System.Data.Services.Design (7)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
791new CodeConditionStatement(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
277new CodeConditionStatement( 336new CodeConditionStatement( 548new CodeConditionStatement(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
226CodeConditionStatement ccs = new CodeConditionStatement(EmitExpressionDoesNotEqualNull(valueRef));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
247new CodeConditionStatement(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
210new CodeConditionStatement(
System.Management (3)
WmiGenerator.cs (3)
4152cis.TrueStatements.Add(new CodeConditionStatement(cboe2,new CodeMethodReturnStatement(new CodeVariableReferenceExpression("value")))); 4180cis.TrueStatements.Add(new CodeConditionStatement(cboe7,new CodeMethodReturnStatement(new CodeSnippetExpression(" \"NULL_ENUM_VALUE\" ")))); 4245cis.TrueStatements.Add(new CodeConditionStatement(cboe7,new CodeMethodReturnStatement(new CodePrimitiveExpression(""))));
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1912CodeConditionStatement ifStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(propertyChanged, CodeBinaryOperatorType.IdentityInequality, NullReference));
System.ServiceModel (2)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
824CodeConditionStatement ifEventHandlerNotNullBlock = new CodeConditionStatement( 922return new CodeConditionStatement(
System.Web.Services (1)
System\Web\Services\Description\ProtocolImporter.cs (1)
694ctor.Statements.Add(new CodeConditionStatement(checkIfNull, trueStatements));
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
359CodeConditionStatement ifStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(propertyChanged, CodeBinaryOperatorType.IdentityInequality, new CodePrimitiveExpression(null)));
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
1106CodeConditionStatement assemblyListNull = new CodeConditionStatement( 1165CodeConditionStatement xscReturnIfNotNull = new CodeConditionStatement(