1 instantiation of EnumInfo
System.Private.CoreLib (1)
System\Enum.NativeAot.cs (1)
60return new EnumInfo<TStorage>(underlyingType, values, names, isFlags);
13 references to EnumInfo
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (11)
163private static string? GetName<TStorage>(EnumInfo<TStorage> enumInfo, TStorage value) 167/// <summary>Look up the name for the specified underlying value using the cached <see cref="EnumInfo{TStorage}"/> for the associated enum.</summary> 169/// <param name="enumInfo">The cached <see cref="EnumInfo{TStorage}"/> for the enum type.</param> 173private static unsafe string? GetNameInlined<TStorage>(EnumInfo<TStorage> enumInfo, TStorage value) 495EnumInfo<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType, getNames: false); 1049EnumInfo<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType); 1472EnumInfo<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType); 1506EnumInfo<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType); 1863EnumInfo<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType); 1929private static unsafe string? FormatFlagNames<TStorage>(EnumInfo<TStorage> enumInfo, TStorage resultValue) 1962private static unsafe bool TryFormatFlagNames<TStorage>(EnumInfo<TStorage> enumInfo, TStorage resultValue, Span<char> destination, out int charsWritten, ref bool isDestinationTooSmall)
System\Enum.NativeAot.cs (2)
40internal static EnumInfo<TStorage> GetEnumInfo<TStorage>(RuntimeType enumType, bool getNames = true) 51return (EnumInfo<TStorage>)ReflectionAugments.GetEnumInfo(enumType,