1 instantiation of MemoryBufferWriter
Microsoft.AspNetCore.SignalR.Common (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
53writer = new MemoryBufferWriter();
10 references to MemoryBufferWriter
Microsoft.AspNetCore.SignalR.Common (10)
Protocol\HandshakeProtocol.cs (3)
32var memoryBufferWriter = MemoryBufferWriter.Get(); 40MemoryBufferWriter.Return(memoryBufferWriter);
Protocol\HubProtocolExtensions.cs (3)
21var writer = MemoryBufferWriter.Get(); 29MemoryBufferWriter.Return(writer);
src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
20private static MemoryBufferWriter? _cachedInstance; 48public static MemoryBufferWriter Get() 50var writer = _cachedInstance; 72public static void Return(MemoryBufferWriter writer)