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