21 references to CodeStatementCollection
System.CodeDom (9)
System\CodeDom\CodeCatchClause.cs (1)
44
public CodeStatementCollection Statements => _statements ??= new
CodeStatementCollection
();
System\CodeDom\CodeConditionStatement.cs (2)
25
public CodeStatementCollection TrueStatements { get; } = new
CodeStatementCollection
();
27
public CodeStatementCollection FalseStatements { get; } = new
CodeStatementCollection
();
System\CodeDom\CodeIterationStatement.cs (1)
24
public CodeStatementCollection Statements { get; } = new
CodeStatementCollection
();
System\CodeDom\CodeMemberMethod.cs (1)
9
private readonly CodeStatementCollection _statements = new
CodeStatementCollection
();
System\CodeDom\CodeMemberProperty.cs (2)
49
public CodeStatementCollection GetStatements { get; } = new
CodeStatementCollection
();
51
public CodeStatementCollection SetStatements { get; } = new
CodeStatementCollection
();
System\CodeDom\CodeTryCatchFinallyStatement.cs (2)
23
public CodeStatementCollection TryStatements { get; } = new
CodeStatementCollection
();
27
public CodeStatementCollection FinallyStatements { get; } = new
CodeStatementCollection
();
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2391
statements = new
CodeStatementCollection
System\Windows\Forms\Design\DataGridViewRowCollectionCodeDomSerializer.cs (1)
44
return new
CodeStatementCollection
();
System.Windows.Forms.Design.Tests (10)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (9)
143
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
157
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
245
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
347
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
392
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
443
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
489
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
533
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
582
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
System\Windows\Forms\Design\ImageCollectionCodeDomSerializerTests.cs (1)
93
baseSerializerMock.Setup(b => b.Serialize(managerMock.Object, imageList)).Returns(new
CodeStatementCollection
());