21 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 (10)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (9)
143CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 157CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 245CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 347CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 392CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 443CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 489CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 533CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection( 582CodeDomHelpers.AssertEqualCodeStatementCollection(new CodeStatementCollection(
System\Windows\Forms\Design\ImageCollectionCodeDomSerializerTests.cs (1)
93baseSerializerMock.Setup(b => b.Serialize(managerMock.Object, imageList)).Returns(new CodeStatementCollection());