1 write to s_getVariantFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
44s_getVariantFunc ??= (Func<Cookie, CookieVariant>)typeof(Cookie).GetProperty("Variant", BindingFlags.Instance | BindingFlags.NonPublic)?.GetGetMethod(true)?.CreateDelegate(typeof(Func<Cookie, CookieVariant>))!;
2 references to s_getVariantFunc
System.Net.HttpListener (2)
System\Net\Windows\CookieExtensions.cs (2)
45Debug.Assert(s_getVariantFunc != null, "Reflection failed for Cookie.Variant."); 46return s_getVariantFunc(cookie) == CookieVariant.Rfc2965;