20 references to WriteBuffer
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (20)
Listener\ResponseBodyTests.cs (20)
256context.Response.Body.Write(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
261Assert.Throws<ObjectDisposedException>(() => context.Response.Body.Write(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length));
292await context.Response.Body.WriteAsync(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
297await Assert.ThrowsAsync<ObjectDisposedException>(() => context.Response.Body.WriteAsync(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length));
325context.Response.Body.Write(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
352await context.Response.Body.WriteAsync(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
390context.Response.Body.Write(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
429await context.Response.Body.WriteAsync(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
466context.Response.Body.Write(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);
500await context.Response.Body.WriteAsync(Utilities.WriteBuffer, 0, Utilities.WriteBuffer.Length);