1 write to s_cloneFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
26
s_cloneFunc
??= (Func<Cookie, Cookie>)typeof(Cookie).GetMethod("Clone", BindingFlags.Instance | BindingFlags.NonPublic)?.CreateDelegate(typeof(Func<Cookie, Cookie>))!;
2 references to s_cloneFunc
System.Net.HttpListener (2)
System\Net\Windows\CookieExtensions.cs (2)
27
Debug.Assert(
s_cloneFunc
!= null, "Reflection failed for Cookie.Clone().");
28
return
s_cloneFunc
(cookie);