5 instantiations of BufferScope
System.Private.Windows.Core (5)
System\Drawing\ImageCodecInfoHelper.cs (1)
46
using BufferScope<byte> buffer =
new
((int)size);
Windows\Win32\Graphics\Gdi\ArgbBuffer.cs (1)
26
_bufferScope = new
BufferScope
<ARGB>(new Span<ARGB>(s, StackSpace), length);
Windows\Win32\Graphics\Gdi\HRGN.cs (1)
16
using BufferScope<byte> buffer =
new
((int)regionDataSize);
Windows\Win32\PInvoke.GetWindowText.cs (1)
19
using BufferScope<char> buffer =
new
(stackalloc char[128]);
Windows\Win32\System\Com\ComManagedStream.cs (1)
75
using BufferScope<byte> buffer =
new
(4096);
10 references to BufferScope
System.Private.Windows.Core (10)
System\BufferScope.cs (5)
30
/// Create the <see cref="
BufferScope
{T}"/> with an initial buffer. Useful for creating with an initial stack
40
/// Create the <see cref="
BufferScope
{T}"/> with an initial buffer. Useful for creating with an initial stack
77
/// Consider if creating new <see cref="
BufferScope
{T}"/> instances is possible and cleaner than using
116
public static implicit operator Span<T>(
BufferScope
<T> scope) => scope._span;
118
public static implicit operator ReadOnlySpan<T>(
BufferScope
<T> scope) => scope._span;
System\Drawing\ImageCodecInfoHelper.cs (1)
46
using
BufferScope
<byte> buffer = new((int)size);
Windows\Win32\Graphics\Gdi\ArgbBuffer.cs (1)
20
private
BufferScope
<ARGB> _bufferScope;
Windows\Win32\Graphics\Gdi\HRGN.cs (1)
16
using
BufferScope
<byte> buffer = new((int)regionDataSize);
Windows\Win32\PInvoke.GetWindowText.cs (1)
19
using
BufferScope
<char> buffer = new(stackalloc char[128]);
Windows\Win32\System\Com\ComManagedStream.cs (1)
75
using
BufferScope
<byte> buffer = new(4096);