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