1 instantiation of MemoryBufferWriter
Microsoft.AspNetCore.OpenApi (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
53
writer = new
MemoryBufferWriter
();
7 references to MemoryBufferWriter
Microsoft.AspNetCore.OpenApi (7)
Extensions\OpenApiEndpointRouteBuilderExtensions.cs (3)
54
using
var
output =
MemoryBufferWriter
.Get();
73
MemoryBufferWriter
.Return(output);
src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
20
private static
MemoryBufferWriter
? _cachedInstance;
48
public static
MemoryBufferWriter
Get()
50
var
writer = _cachedInstance;
72
public static void Return(
MemoryBufferWriter
writer)