1 instantiation of OrderedCodeStatementCollection
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2814
statements = new
OrderedCodeStatementCollection
(table.Count, name);
16 references to OrderedCodeStatementCollection
System.Windows.Forms.Design (16)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (3)
19
private readonly Dictionary<string,
OrderedCodeStatementCollection
?> _statementsTable = [];
278
_statementsTable.TryGetValue(name, out
OrderedCodeStatementCollection
? statements);
319
_statementsTable[name] = (
OrderedCodeStatementCollection
?)instance;
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
2806
OrderedCodeStatementCollection
? statements;
2809
statements = (
OrderedCodeStatementCollection
)table[name]!;
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (8)
19
private Dictionary<string,
OrderedCodeStatementCollection
>? _statementTable;
86
_statementTable = new Dictionary<string,
OrderedCodeStatementCollection
>(count);
149
if (!name.Equals(declaration.Name) && _statementTable.TryGetValue(name, out
OrderedCodeStatementCollection
? statements))
176
OrderedCodeStatementCollection
[] statementArray = new
OrderedCodeStatementCollection
[_statementTable.Count];
180
OrderedCodeStatementCollection
? rootStatements = null;
181
foreach (
OrderedCodeStatementCollection
statements in statementArray)
284
if (statements is null && _statementTable!.TryGetValue(name, out
OrderedCodeStatementCollection
? statementOut))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.StatementOrderComparer.cs (3)
8
private class StatementOrderComparer : IComparer<
OrderedCodeStatementCollection
>
16
public int Compare(
OrderedCodeStatementCollection
? left,
OrderedCodeStatementCollection
? right)