2 writes to _names
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.AxPerPropertyBrowsingEnum.cs (2)
31
_names
= names;
128
_names
= names;
7 references to _names
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.AxPerPropertyBrowsingEnum.cs (7)
78
Debug.Assert(_cookies is not null &&
_names
is not null, "An item array is null");
80
if (
_names
.Length == 0)
88
Debug.Assert(_cookies.Length ==
_names
.Length, "Got uneven names and cookies");
93
for (int i = 0; i <
_names
.Length; i++)
96
if (
_names
[i] is null)
98
Debug.Fail($"Bad IPerPropertyBrowsing item [{i}], name={
_names
?[i] ?? "(unknown)"}");
116
Array.Copy(
_names
, 0, strings, 0, itemCount);