3 references to ShallowClone
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
43
sslOptions = 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)
268
SslClientAuthenticationOptions 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