1 instantiation of EnumField
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
313fields.Add(new EnumField(info.Name, ConvertEnumUnderlyingTypeToUInt64(info.GetRawConstantValue(), enumTypeCode)));
16 references to EnumField
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (16)
src\Compilers\Core\Portable\InternalUtilities\EnumField.cs (8)
15public static readonly IComparer<EnumField> Comparer = new EnumFieldComparer(); 39internal static EnumField FindValue(ArrayBuilder<EnumField> sortedFields, ulong value) 68return default(EnumField); 71private class EnumFieldComparer : IComparer<EnumField> 73int IComparer<EnumField>.Compare(EnumField field1, EnumField field2)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (8)
286var fields = ArrayBuilder<EnumField>.GetInstance(); 304private static void FillEnumFields(ArrayBuilder<EnumField> fields, Type lmrType) 317fields.Sort(EnumField.Comparer); 320protected static void FillUsedEnumFields(ArrayBuilder<EnumField> usedFields, ArrayBuilder<EnumField> fields, ulong underlyingValue) 323foreach (var field in fields) 485internal abstract string GetNamesForFlagsEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt); 487internal abstract string GetNameForEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt);