3 writes to s_formatList
System.Windows.Forms (3)
System\Windows\Forms\OLE\DataFormats.cs (3)
259
s_formatList
= newList;
272
s_formatList
=
297
s_formatList
??= [];
16 references to s_formatList
System.Windows.Forms (16)
System\Windows\Forms\OLE\DataFormats.cs (16)
167
if (
s_formatList
[n].Name.Equals(format))
169
return
s_formatList
[n];
175
if (string.Equals(
s_formatList
[n].Name, format, StringComparison.OrdinalIgnoreCase))
177
return
s_formatList
[n];
189
s_formatList
[s_formatCount] = new Format(format, (int)formatId);
190
return
s_formatList
[s_formatCount++];
212
if (
s_formatList
[n].Id == id)
214
return
s_formatList
[n];
238
s_formatList
[s_formatCount] = new Format(name, id);
239
return
s_formatList
[s_formatCount++];
246
[MemberNotNull(nameof(
s_formatList
))]
249
if (
s_formatList
is null ||
s_formatList
.Length <= s_formatCount + size)
256
newList[n] =
s_formatList
![n];
267
[MemberNotNull(nameof(
s_formatList
))]
293
s_formatCount =
s_formatList
.Length;