26 instantiations of CodeStatementCollection
System (9)
compmod\system\codedom\CodeCatchClause.cs (1)
97statements = new CodeStatementCollection();
compmod\system\codedom\CodeConditionStatement.cs (2)
29private CodeStatementCollection trueStatments = new CodeStatementCollection(); 30private CodeStatementCollection falseStatments = new CodeStatementCollection();
compmod\system\codedom\CodeIterationStatement.cs (1)
31private CodeStatementCollection statements = new CodeStatementCollection();
compmod\system\codedom\CodeMemberMethod.cs (1)
30private CodeStatementCollection statements = new CodeStatementCollection();
compmod\system\codedom\CodeMemberProperty.cs (2)
32private CodeStatementCollection getStatements = new CodeStatementCollection(); 33private CodeStatementCollection setStatements = new CodeStatementCollection();
compmod\system\codedom\CodeTryCatchFinallyStatement.cs (2)
27private CodeStatementCollection tryStatments = new CodeStatementCollection(); 28private CodeStatementCollection finallyStatments = new CodeStatementCollection();
System.Activities (4)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (4)
864CodeStatementCollection statementCollection = new CodeStatementCollection(); 1146CodeStatementCollection compiledDataContextStatements = new CodeStatementCollection(); 1212CodeStatementCollection compiledDataContextStatements = new CodeStatementCollection(); 1245CodeStatementCollection compiledDataContextStatements = new CodeStatementCollection();
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
204CodeStatementCollection getStatements = new CodeStatementCollection();
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
200CodeStatementCollection getStatements = new CodeStatementCollection();
System.Web (6)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (5)
992CodeStatementCollection statements = new CodeStatementCollection(); 1241CodeStatementCollection topMethodStatements = new CodeStatementCollection(); 1242CodeStatementCollection otherMethodStatements = new CodeStatementCollection(); 1370topStatements = new CodeStatementCollection(); 1371otherStatements = new CodeStatementCollection();
Compilation\DataBindingExpressionBuilder.cs (1)
48CodeStatementCollection evalStatements = new CodeStatementCollection();
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
64CodeStatementCollection codeStatements = new CodeStatementCollection(retVal);
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (2)
56statements = new CodeStatementCollection(); 88statements = new CodeStatementCollection();
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
530CodeStatementCollection tryStatements = new CodeStatementCollection(); 634CodeStatementCollection finallyStatements = new CodeStatementCollection();
150 references to CodeStatementCollection
System (42)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1124private void GenerateStatements(CodeStatementCollection stms) { 1463CodeStatementCollection falseStatemetns = e.FalseStatements; 1516CodeStatementCollection finallyStatements = e.FinallyStatements;
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
1545CodeStatementCollection falseStatemetns = e.FalseStatements; 1581CodeStatementCollection finallyStatements = e.FinallyStatements; 2786private void GenerateVBStatements(CodeStatementCollection stms) {
compmod\system\codedom\CodeCatchClause.cs (2)
26private CodeStatementCollection statements; 94public CodeStatementCollection Statements {
compmod\system\codedom\CodeConditionStatement.cs (4)
29private CodeStatementCollection trueStatments = new CodeStatementCollection(); 30private CodeStatementCollection falseStatments = new CodeStatementCollection(); 83public CodeStatementCollection TrueStatements { 97public CodeStatementCollection FalseStatements {
compmod\system\codedom\CodeIterationStatement.cs (2)
31private CodeStatementCollection statements = new CodeStatementCollection(); 104public CodeStatementCollection Statements {
compmod\system\codedom\CodeMemberMethod.cs (2)
30private CodeStatementCollection statements = new CodeStatementCollection(); 87public CodeStatementCollection Statements {
compmod\system\codedom\CodeMemberProperty.cs (4)
32private CodeStatementCollection getStatements = new CodeStatementCollection(); 33private CodeStatementCollection setStatements = new CodeStatementCollection(); 118public CodeStatementCollection GetStatements { 129public CodeStatementCollection SetStatements {
compmod\system\codedom\CodeStatementCollection.cs (14)
29/// Initializes a new instance of <see cref='System.CodeDom.CodeStatementCollection'/>. 37/// Initializes a new instance of <see cref='System.CodeDom.CodeStatementCollection'/> based on another <see cref='System.CodeDom.CodeStatementCollection'/>. 40public CodeStatementCollection(CodeStatementCollection value) { 46/// Initializes a new instance of <see cref='System.CodeDom.CodeStatementCollection'/> containing any array of <see cref='System.CodeDom.CodeStatement'/> objects. 67/// <see cref='System.CodeDom.CodeStatementCollection'/> .</para> 82/// <para>Copies the elements of an array to the end of the <see cref='System.CodeDom.CodeStatementCollection'/>.</para> 95/// Adds the contents of another <see cref='System.CodeDom.CodeStatementCollection'/> to the end of the collection. 98public void AddRange(CodeStatementCollection value) { 110/// <see cref='System.CodeDom.CodeStatementCollection'/> contains the specified <see cref='System.CodeDom.CodeStatement'/>.</para> 117/// <para>Copies the <see cref='System.CodeDom.CodeStatementCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the 126/// the <see cref='System.CodeDom.CodeStatementCollection'/> .</para> 133/// <para>Inserts a <see cref='System.CodeDom.CodeStatement'/> into the <see cref='System.CodeDom.CodeStatementCollection'/> at the specified index.</para> 141/// <see cref='System.CodeDom.CodeStatementCollection'/> .</para>
compmod\system\codedom\CodeTryCatchFinallyStatement.cs (4)
27private CodeStatementCollection tryStatments = new CodeStatementCollection(); 28private CodeStatementCollection finallyStatments = new CodeStatementCollection(); 68public CodeStatementCollection TryStatements { 91public CodeStatementCollection FinallyStatements {
compmod\system\codedom\compiler\CodeGenerator.cs (1)
964protected void GenerateStatements(CodeStatementCollection stms) {
compmod\system\codedom\compiler\CodeValidator.cs (3)
407private void ValidateStatements(CodeStatementCollection stms) { 441CodeStatementCollection falseStatemetns = e.FalseStatements; 460CodeStatementCollection finallyStatements = e.FinallyStatements;
System.Activities (5)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (5)
864CodeStatementCollection statementCollection = new CodeStatementCollection(); 1058void GenerateGetDataContextVariable(CompiledExpressionDescriptor descriptor, CodeVariableDeclarationStatement dataContextVariable, CodeStatementCollection statements, bool withLocationReferences, Dictionary<string, int> cacheIndicies) 1146CodeStatementCollection compiledDataContextStatements = new CodeStatementCollection(); 1212CodeStatementCollection compiledDataContextStatements = new CodeStatementCollection(); 1245CodeStatementCollection compiledDataContextStatements = new CodeStatementCollection();
System.Data.Entity.Design (8)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
579private static void CreateSizedStringBuilder(CodeStatementCollection statements, int capacity)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (7)
196CodeStatementCollection statements = memberProperty.GetStatements; 204CodeStatementCollection getStatements = new CodeStatementCollection(); 229private void EmitPropertyGetterBody(CodeStatementCollection statements) 288CodeStatementCollection statements = memberProperty.SetStatements; 303private void EmitPropertySetterBody(CodeStatementCollection statements, List<CodeStatement> additionalSetStatements) 450private void EmitScalarTypePropertySetStatements(CodeStatementCollection statements, 513private void EmitComplexTypePropertySetStatements(CodeStatementCollection statements, CollectionKind collectionKind)
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
218CodeStatementCollection csc = null;
System\Data\EntityModel\Emitters\PropertyEmitter.cs (5)
192CodeStatementCollection statements = memberProperty.GetStatements; 200CodeStatementCollection getStatements = new CodeStatementCollection(); 229private void EmitPropertyGetterBody(CodeStatementCollection statements) 320CodeStatementCollection statements = memberProperty.SetStatements; 334private void EmitPropertySetterBody(CodeStatementCollection statements, List<CodeStatement> additionalSetStatements, List<CodeStatement> additionalAfterSetStatements)
System.Management (4)
WmiGenerator.cs (4)
5693void GenerateCodeForRefAndDateTimeTypes(CodeIndexerExpression prop,bool bArray,CodeStatementCollection statColl,string strType,CodeVariableReferenceExpression varToAssign,bool bIsValueProprequired) 5881void AddPropertySet(CodeIndexerExpression prop,bool bArray,CodeStatementCollection statColl,string strType,CodeVariableReferenceExpression varValue) 6849static void DateTimeConversionFunctionHelper(CodeStatementCollection cmmdt , 7777static void ToTimeSpanHelper(int start,int numOfCharacters,String strVarToAssign,CodeStatementCollection statCol)
System.Web (67)
Compilation\BaseCodeDomTreeGenerator.cs (2)
431protected virtual void BuildInitStatements(CodeStatementCollection trueStatements, CodeStatementCollection topLevelStatements) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (33)
86private void AddOutputWriteStatement(CodeStatementCollection methodStatements, 97private void AddOutputWriteStringStatement(CodeStatementCollection methodStatements, 123CodeStatementCollection statements, CodeExpression ctrlToAdd, CodeLinePragma linePragma, CodeExpression ctrlRefExpr, ref bool gotParserVariable) { 242bool topLevelControlInTemplate, PropertyEntry pse, CodeStatementCollection statements, 336CodeStatementCollection currentStmts; 337CodeStatementCollection nextStmts = statements; 406CodeStatementCollection currentStmts; 407CodeStatementCollection nextStmts = statements; 433CodeStatementCollection buildSubControlBlock = statements; 541CodeStatementCollection currentStmts; 542CodeStatementCollection nextStmts = statements; 737CodeStatementCollection currentStmts; 738CodeStatementCollection nextStmts = statements; 846CodeStatementCollection currentStmts; 847CodeStatementCollection methodStatements = statements; 848CodeStatementCollection nextStmts = statements; 991CodeStatementCollection topLevelStatements = method.Statements; 992CodeStatementCollection statements = new CodeStatementCollection(); 1019private void BuildExtractStatementsRecursive(ArrayList subBuilders, CodeStatementCollection statements, CodeStatementCollection topLevelStatements, CodeLinePragma linePragma, string tableVarName, string containerVarName) { 1024CodeStatementCollection currentStatements = null; 1025CodeStatementCollection nextStatements = statements; 1241CodeStatementCollection topMethodStatements = new CodeStatementCollection(); 1242CodeStatementCollection otherMethodStatements = new CodeStatementCollection(); 1344CodeStatementCollection topStatements = null; 1345CodeStatementCollection otherStatements = null; 1348CodeStatementCollection currentStmts; 1349CodeStatementCollection nextStmts = null; 1568private bool GenerateSimpleAssignmentAtDesignTime(bool tempObjectVariableDeclared, CodeStatementCollection topMethodStatements, CodeStatementCollection otherMethodStatements, string content, CodeLinePragma linePragma) { 1743CodeStatementCollection topStmts, 1744ref CodeStatementCollection currentStmts, 1745out CodeStatementCollection nextStmts) {
Compilation\BrowserCapabilitiesCompiler.cs (2)
358CodeStatementCollection statements = cmm.Statements; 440CodeStatementCollection statements = istatement.FalseStatements;
Compilation\CodeDOMUtility.cs (2)
227internal static void CreatePropertySetStatements(CodeStatementCollection methodStatements, CodeStatementCollection statements,
Compilation\DataBindingExpressionBuilder.cs (13)
32Type propertyType, ControlBuilder controlBuilder, CodeStatementCollection methodStatements, CodeStatementCollection statements, CodeLinePragma linePragma, bool isEncoded, ref bool hasTempObject) { 48CodeStatementCollection evalStatements = new CodeStatementCollection(); 65Type propertyType, ControlBuilder controlBuilder, CodeStatementCollection methodStatements, CodeStatementCollection statements, CodeLinePragma linePragma, bool isEncoded, ref bool hasTempObject) { 81internal static void BuildExpressionSetup(ControlBuilder controlBuilder, CodeStatementCollection methodStatements, CodeStatementCollection statements, CodeLinePragma linePragma, bool isTwoWayBound, bool designerMode) { 114internal static void GenerateItemTypeExpressions(ControlBuilder controlBuilder, CodeStatementCollection declarationStatements, CodeStatementCollection codeStatements, CodeLinePragma linePragma, string variableName) { 134CodeExpression controlReference, CodeStatementCollection methodStatements, CodeStatementCollection statements, CodeLinePragma linePragma, ref bool hasTempObject) { 140CodeExpression controlReference, CodeStatementCollection methodStatements, CodeStatementCollection statements, CodeLinePragma linePragma, bool isEncoded, ref bool hasTempObject) {
Compilation\ExpressionBuilder.cs (2)
28CodeExpression controlReference, CodeStatementCollection methodStatements, CodeStatementCollection statements, CodeLinePragma linePragma, ref bool hasTempObject) {
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
93private static void AddCreateTypeInstanceStatement(string typeToCreate, CodeCompileUnit ccu, CodeStatementCollection statements) {
Compilation\PageCodeDomTreeGenerator.cs (2)
60protected override void BuildInitStatements(CodeStatementCollection trueStatements, CodeStatementCollection topLevelStatements) {
Compilation\PageThemeCodeDomTreeGenerator.cs (3)
51private void BuildControlSkins(CodeStatementCollection statements) { 163protected override void BuildInitStatements(CodeStatementCollection trueStatements, CodeStatementCollection topLevelStatements) {
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
40protected override void BuildInitStatements(CodeStatementCollection trueStatements, CodeStatementCollection topLevelStatements) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
1043CodeStatementCollection statements = cmm.Statements; 1456internal CodeStatementCollection GenerateTrackedSingleProcessCall(CodeStatementCollection stmts, BrowserDefinition bd, CodeMemberMethod cmm) { 1460internal CodeStatementCollection GenerateTrackedSingleProcessCall(CodeStatementCollection stmts, BrowserDefinition bd, CodeMemberMethod cmm, string prefix) {
System.Workflow.ComponentModel (13)
AuthoringOM\Serializer\ActivityCodeDomSerializer.cs (2)
45CodeStatementCollection retVal = base.Serialize(manager, activity) as CodeStatementCollection;
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (4)
47CodeStatementCollection retVal = null; 55retVal = componentSerializer.Serialize(manager, activity) as CodeStatementCollection; 59retVal = base.Serialize(manager, obj) as CodeStatementCollection; 64CodeStatementCollection codeStatements = new CodeStatementCollection(retVal);
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (4)
42CodeStatementCollection statements = null; 61if (result is CodeStatementCollection) 62statements.AddRange(result as CodeStatementCollection); 103private CodeVariableReferenceExpression AddVariableExpression(IDesignerSerializationManager manager, CodeStatementCollection statements, object value)
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (3)
27CodeStatementCollection statements = manager.Context[typeof(CodeStatementCollection)] as CodeStatementCollection;
XamlBuildTask (5)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (4)
527CodeStatementCollection GetInitializeMethodTryStatements(CodeExpression xmlReaderVar, CodeExpression xamlReaderVar, CodeExpression objWriterVar, 530CodeStatementCollection tryStatements = new CodeStatementCollection(); 632CodeStatementCollection GetInitializeMethodFinallyStatements(CodeExpression xmlReaderVar, CodeExpression xamlReaderVar, CodeExpression objWriterVar) 634CodeStatementCollection finallyStatements = new CodeStatementCollection();
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
12internal static CodeVariableReferenceExpression DeclareVar(this CodeStatementCollection block, Type type,