14 references to LingerOption
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
192_socket.LingerState = new LingerOption(true, 0); 316_socket.LingerState = new LingerOption(true, (int)timeout.TotalSeconds);
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
52_socket.LingerState = new LingerOption(true, 0);
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
66socket.LingerState = new LingerOption(false, 0);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ServerTests.cs (1)
301client.LingerState = new LingerOption(true, 0);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
52_socket.LingerState = new LingerOption(true, 0);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
285socket.LingerState = new LingerOption(true, 0);
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
52_socket.LingerState = new LingerOption(true, 0);
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
52_socket.LingerState = new LingerOption(true, 0);
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (1)
571socket.LingerState = new LingerOption(true, 0);
System.Net.Mail (1)
System\Net\Mail\SmtpConnection.cs (1)
141_tcpClient.LingerState = new LingerOption(true, 0);
System.Net.Sockets (3)
System\Net\Sockets\Socket.cs (2)
587if (OperatingSystem.IsWasi()) return new LingerOption(false, 0); 3687if (OperatingSystem.IsWasi()) return new LingerOption(false, 0);
System\Net\Sockets\SocketPal.Unix.cs (1)
1758optionValue = new LingerOption(opt.OnOff != 0, opt.Seconds);