1 write to s_cloneFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
26s_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)
27Debug.Assert(s_cloneFunc != null, "Reflection failed for Cookie.Clone()."); 28return s_cloneFunc(cookie);