1 write to s_getVariantFunc
System.Net.HttpListener (1)
System\Net\Windows\CookieExtensions.cs (1)
44
s_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)
45
Debug.Assert(
s_getVariantFunc
!= null, "Reflection failed for Cookie.Variant.");
46
return
s_getVariantFunc
(cookie) == CookieVariant.Rfc2965;