1 write to s_internalAddFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
56s_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)
57Debug.Assert(s_internalAddFunc != null, "Reflection failed for CookieCollection.InternalAdd()."); 58return s_internalAddFunc(cookieCollection, cookie, isStrict);