24 references to TrueStatements
Microsoft.Build.Tasks.Core (6)
XamlTaskFactory\TaskGenerator.cs (6)
451
removeExisting.
TrueStatements
.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(property.Name), new CodeSnippetExpression(property.DefaultValue)));
455
removeExisting.
TrueStatements
.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(property.Name), new CodeSnippetExpression(SurroundWithQuotes(property.DefaultValue))));
491
removeExisting.
TrueStatements
.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(fallbackParameter.Key), new CodeVariableReferenceExpression(fallbackParameter.Value)));
653
isSet.
TrueStatements
.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression(new CodeArrayIndexerExpression(new CodeVariableReferenceExpression(DictionaryOfSwitches), new CodeVariableReferenceExpression(SurroundWithQuotes(property.Name))), valueName)));
787
isValid.
TrueStatements
.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(SwitchToAdd), IsValidProperty), new CodeSnippetExpression(IsOn)));
1195
checkRequired.
TrueStatements
.Add(new CodeMethodInvokeExpression(
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (9)
1018
ccsConnector.
TrueStatements
.Add(casES);
1019
ccsConnector.
TrueStatements
.Add(casEvent);
1020
ccsConnector.
TrueStatements
.Add(casHandler);
1021
ccsConnector.
TrueStatements
.Add(new CodeExpressionStatement(cmieAdd));
1072
ccsConnector.
TrueStatements
.Add( csAddCLREvent );
1200
ccsConnector.
TrueStatements
.Add(casName);
1216
ccsConnector.
TrueStatements
.Add(csEvent);
1229
ccsConnector.
TrueStatements
.Add(new CodeMethodReturnStatement());
2604
ccsCL.
TrueStatements
.Add(new CodeMethodReturnStatement());
System.CodeDom (5)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
948
GenerateStatements(e.
TrueStatements
);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1297
GenerateVBStatements(e.
TrueStatements
);
System\CodeDom\CodeConditionStatement.cs (2)
13
TrueStatements
.AddRange(trueStatements);
19
TrueStatements
.AddRange(trueStatements);
System\CodeDom\Compiler\CodeValidator.cs (1)
505
ValidateStatements(e.
TrueStatements
);
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
1870
returnIfNull.
TrueStatements
.Add(new CodeMethodReturnStatement());
1966
ifStatement.
TrueStatements
.Add(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
2023
ifStatement.
TrueStatements
.Add(propertySet);
2024
ifStatement.
TrueStatements
.Add(new CodeMethodInvokeExpression(ThisReference, RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(propertyName)));