20 references to CodeStatementCollection
System.CodeDom (9)
System\CodeDom\CodeCatchClause.cs (1)
44public CodeStatementCollection Statements => _statements ??= new CodeStatementCollection();
System\CodeDom\CodeConditionStatement.cs (2)
25public CodeStatementCollection TrueStatements { get; } = new CodeStatementCollection(); 27public CodeStatementCollection FalseStatements { get; } = new CodeStatementCollection();
System\CodeDom\CodeIterationStatement.cs (1)
24public CodeStatementCollection Statements { get; } = new CodeStatementCollection();
System\CodeDom\CodeMemberMethod.cs (1)
9private readonly CodeStatementCollection _statements = new CodeStatementCollection();
System\CodeDom\CodeMemberProperty.cs (2)
49public CodeStatementCollection GetStatements { get; } = new CodeStatementCollection(); 51public CodeStatementCollection SetStatements { get; } = new CodeStatementCollection();
System\CodeDom\CodeTryCatchFinallyStatement.cs (2)
23public CodeStatementCollection TryStatements { get; } = new CodeStatementCollection(); 27public CodeStatementCollection FinallyStatements { get; } = new CodeStatementCollection();
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2391statements = new CodeStatementCollection
System\Windows\Forms\Design\DataGridViewRowCollectionCodeDomSerializer.cs (1)
44return new CodeStatementCollection();
System.Windows.Forms.Design.Tests (9)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (9)
141CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 155CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 243CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 345CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 390CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 441CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 487CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 531CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 580CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection(