1 instantiation of EnumInfo
System.Private.CoreLib (1)
System\Enum.NativeAot.cs (1)
60
return 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)
163
private 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>
173
private static unsafe string? GetNameInlined<TStorage>(
EnumInfo
<TStorage> enumInfo, TStorage value)
495
EnumInfo
<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType, getNames: false);
1049
EnumInfo
<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType);
1472
EnumInfo
<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType);
1506
EnumInfo
<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType);
1863
EnumInfo
<TStorage> enumInfo = GetEnumInfo<TStorage>(enumType);
1929
private static unsafe string? FormatFlagNames<TStorage>(
EnumInfo
<TStorage> enumInfo, TStorage resultValue)
1962
private static unsafe bool TryFormatFlagNames<TStorage>(
EnumInfo
<TStorage> enumInfo, TStorage resultValue, Span<char> destination, out int charsWritten, ref bool isDestinationTooSmall)
System\Enum.NativeAot.cs (2)
40
internal static
EnumInfo
<TStorage> GetEnumInfo<TStorage>(RuntimeType enumType, bool getNames = true)
51
return (
EnumInfo
<TStorage>)ReflectionAugments.GetEnumInfo(enumType,