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