20 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 (9)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (9)
141
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
155
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
243
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
345
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
390
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
441
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
487
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
531
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(
580
CodeDomHelpers.AssertEqualCodeStatementCollection(new
CodeStatementCollection
(