4 instantiations of BufferScope
Microsoft.Private.Windows.Core (4)
Windows\Win32\Graphics\Gdi\ArgbBuffer.cs (1)
25
_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\PInvokeCore.GetWindowText.cs (1)
17
using BufferScope<char> buffer =
new
(stackalloc char[128]);
Windows\Win32\System\Com\ComManagedStream.cs (1)
79
using BufferScope<byte> buffer =
new
(4096);
9 references to BufferScope
Microsoft.Private.Windows.Core (9)
System\BufferScope.cs (5)
29
/// Create the <see cref="
BufferScope
{T}"/> with an initial buffer. Useful for creating with an initial stack
39
/// Create the <see cref="
BufferScope
{T}"/> with an initial buffer. Useful for creating with an initial stack
76
/// Consider if creating new <see cref="
BufferScope
{T}"/> instances is possible and cleaner than using
115
public static implicit operator Span<T>(
BufferScope
<T> scope) => scope._span;
117
public static implicit operator ReadOnlySpan<T>(
BufferScope
<T> scope) => scope._span;
Windows\Win32\Graphics\Gdi\ArgbBuffer.cs (1)
19
private
BufferScope
<ARGB> _bufferScope;
Windows\Win32\Graphics\Gdi\HRGN.cs (1)
16
using
BufferScope
<byte> buffer = new((int)regionDataSize);
Windows\Win32\PInvokeCore.GetWindowText.cs (1)
17
using
BufferScope
<char> buffer = new(stackalloc char[128]);
Windows\Win32\System\Com\ComManagedStream.cs (1)
79
using
BufferScope
<byte> buffer = new(4096);