11 references to AllocateArray
System.Numerics.Tensors (8)
System\Numerics\Tensors\netcore\Tensor.cs (4)
97T[] values = pinned ? GC.AllocateArray<T>((int)linearLength, pinned) : (new T[linearLength]); 110T[] values = pinned ? GC.AllocateArray<T>((int)linearLength, pinned) : (new T[linearLength]); 356T[] values = _isPinned ? GC.AllocateArray<T>((int)linearLength, _isPinned) : (new T[linearLength]); 465T[] values = _isPinned ? GC.AllocateArray<T>(checked((int)s.FlattenedLength), _isPinned) : (new T[s.FlattenedLength]);
System\Numerics\Tensors\netcore\Tensor.Factory.cs (2)
28T[] values = pinned ? GC.AllocateArray<T>((int)linearLength, pinned) : (new T[linearLength]); 41T[] values = pinned ? GC.AllocateArray<T>((int)linearLength, pinned) : (new T[linearLength]);
System\Numerics\Tensors\netcore\TensorExtensions.cs (2)
2651T[] values = tensor.IsPinned ? GC.AllocateArray<T>((int)tensor._flattenedLength) : (new T[tensor._flattenedLength]); 2942T[] values = tensor.IsPinned ? GC.AllocateArray<T>((int)newSize) : (new T[newSize]);
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);