1 write to s_toServerStringFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
17
s_toServerStringFunc
??= (Func<Cookie, string>)typeof(Cookie).GetMethod("ToServerString", BindingFlags.Instance | BindingFlags.NonPublic)?.CreateDelegate(typeof(Func<Cookie, string>))!;
2 references to s_toServerStringFunc
System.Net.HttpListener (2)
System\Net\Windows\CookieExtensions.cs (2)
18
Debug.Assert(
s_toServerStringFunc
!= null, "Reflection failed for Cookie.ToServerString().");
19
return
s_toServerStringFunc
(cookie);