1 write to _names
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyBrowsingEnum.cs (1)
25
_names
= names;
10 references to _names
System.Windows.Forms (10)
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyBrowsingEnum.cs (10)
74
Debug.Assert(_cookies is not null &&
_names
is not null, "An item array is null");
76
if (
_names
.Length == 0)
81
object[] valueItems = new object[
_names
.Length];
84
Debug.Assert(_cookies.Length ==
_names
.Length, "Got uneven names and cookies");
96
for (int i =
_names
.Length - 1; i >= 0; i--)
99
if (
_names
[i] is null)
101
Debug.Fail($"Bad IPerPropertyBrowsing item [{i}], name={
_names
?[i] ?? "(unknown)"}");
139
Array.Copy(
_names
, i,
_names
, i + 1, itemCount);
146
Array.Copy(
_names
, 0, strings, 0, itemCount);