31 references to ImmutableArray
System.Collections.Immutable (31)
System\Collections\Immutable\ImmutableArray.cs (13)
40
return new
ImmutableArray
<T>(array);
53
return new
ImmutableArray
<T>(array);
67
return new
ImmutableArray
<T>(array);
82
return new
ImmutableArray
<T>(array);
99
return new
ImmutableArray
<T>(array);
164
return new
ImmutableArray
<T>((T[])array);
175
return new
ImmutableArray
<T>(items.ToArray(count));
179
return new
ImmutableArray
<T>(items.ToArray());
202
return new
ImmutableArray
<T>(tmp);
233
return new
ImmutableArray
<T>(array);
264
return new
ImmutableArray
<T>(array);
294
return new
ImmutableArray
<TResult>(array);
328
return new
ImmutableArray
<TResult>(array);
System\Collections\Immutable\ImmutableArray_1.Builder.cs (3)
194
return new
ImmutableArray
<T>(this.ToArray());
213
return new
ImmutableArray
<T>(temp);
237
return new
ImmutableArray
<T>(result);
System\Collections\Immutable\ImmutableArray_1.cs (10)
336
return new
ImmutableArray
<T>(tmp);
389
return new
ImmutableArray
<T>(tmp);
470
return new
ImmutableArray
<T>(tmp);
494
return new
ImmutableArray
<T>(tmp);
563
return new
ImmutableArray
<T>(tmp);
663
return new
ImmutableArray
<T>(tmp);
853
return new
ImmutableArray
<T>(tmp);
940
return new
ImmutableArray
<T>(items);
1505
return new
ImmutableArray
<T>(newArray);
1525
return new
ImmutableArray
<T>(tmp);
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (4)
44
public static readonly ImmutableArray<T> Empty = new
ImmutableArray
<T>(new T[0]);
341
return new
ImmutableArray
<T>(items.array);
355
return new
ImmutableArray
<TOther>((TOther[])(object)array!);
379
return new
ImmutableArray
<TOther>((this.array as TOther[]));
System\Runtime.InteropServices\ImmutableCollectionsMarshal.cs (1)
33
return
new
(array);