6 references to AllocateArray
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor.cs (1)
1666
T[] values = tensor.IsPinned ? GC.
AllocateArray
<T>((int)newSize) : (new T[newSize]);
System\Numerics\Tensors\netcore\Tensor_1.cs (2)
34
_values = GC.
AllocateArray
<T>(checked((int)(_shape.LinearLength)), pinned);
43
_values = GC.
AllocateArray
<T>(checked((int)(_shape.LinearLength)), pinned);
System.Security.Cryptography (1)
System\Security\Cryptography\SP800108HmacCounterKdfImplementationManaged.cs (1)
16
_key = GC.
AllocateArray
<byte>(key.Length, pinned: true);
System.Windows.Forms (2)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (2)
518
_charBuffer = GC.
AllocateArray
<char>(newBufferSize, pinned: true);
744
_charBuffer = GC.
AllocateArray
<char>(FileBufferSize, pinned: true);