6 references to AllocateArray
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor.cs (1)
1666T[] 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);