1 write to s_internalAddFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
56
s_internalAddFunc
??= (Func<CookieCollection, Cookie, bool, int>)typeof(CookieCollection).GetMethod("InternalAdd", BindingFlags.Instance | BindingFlags.NonPublic)?.CreateDelegate(typeof(Func<CookieCollection, Cookie, bool, int>))!;
2 references to s_internalAddFunc
System.Net.HttpListener (2)
System\Net\Windows\CookieExtensions.cs (2)
57
Debug.Assert(
s_internalAddFunc
!= null, "Reflection failed for CookieCollection.InternalAdd().");
58
return
s_internalAddFunc
(cookieCollection, cookie, isStrict);