1 write to _buffer
System.Windows.Forms (1)
System\Windows\Forms\ToolTip\ToolTipBuffer.cs (1)
27
_buffer
= GC.AllocateUninitializedArray<char>(text.Length + 1, pinned: true);
5 references to _buffer
System.Windows.Forms (5)
System\Windows\Forms\ToolTip\ToolTipBuffer.cs (5)
14
fixed (char* c =
_buffer
)
25
if (
_buffer
is null ||
_buffer
.Length < text.Length + 1)
31
text.AsSpan().CopyTo(
_buffer
);
32
_buffer
[text.Length] = '\0';