3 references to ShallowClone
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
43sslOptions = sslOptions.ShallowClone(); // Clone as we're about to mutate it and don't want to affect the cached copy
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
268SslClientAuthenticationOptions sslOptions = poolManager.Settings._sslOptions?.ShallowClone() ?? new SslClientAuthenticationOptions();
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
117_sslOptions = _sslOptions?.ShallowClone(), // shallow clone the options for basic prevention of mutation issues while processing