7 references to s_isFlagsEnum
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (7)
147Debug.Assert(s_isFlagsEnum, "Should only be entered by flags enums."); 207Debug.Assert(s_isFlagsEnum || dictionaryKeyPolicy != null, "Should only be entered by flags enums or dictionary key policy."); 400s_isFlagsEnum || (dictionaryKeyPolicy is not null && Enum.IsDefined(typeof(T), value)), 403if (s_isFlagsEnum) 455if (s_isFlagsEnum) 496if (s_isFlagsEnum) 569(s_isFlagsEnum && name.AsSpan().IndexOf(',') >= 0))