2 writes to _references
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ReferenceService.cs (2)
84
_references
= new(container.Components.Count);
201
_references
= null;
17 references to _references
System.Windows.Forms.Design (17)
System\ComponentModel\Design\ReferenceService.cs (17)
59
[MemberNotNull(nameof(
_references
))]
65
if (
_references
is null)
87
CreateReferences(component,
_references
);
101
CreateReferences(ic,
_references
);
159
foreach (ReferenceHolder reference in
_references
!)
174
if (
_references
is not null)
176
int size =
_references
.Count;
179
if (ReferenceEquals(
_references
[i].SitedComponent, component))
181
_references
.RemoveAt(i);
192
if (
_references
is not null)
214
foreach (ReferenceHolder holder in
_references
)
233
foreach (ReferenceHolder holder in
_references
)
252
foreach (ReferenceHolder holder in
_references
)
269
object[] references = new object[
_references
.Count];
273
references[i] =
_references
[i].Reference;
287
List<object> results = new(
_references
.Count);
288
foreach (ReferenceHolder holder in
_references
)