1 write to Names
System.Private.CoreLib (1)
System\Reflection\EnumInfo.cs (1)
19Names = names;
13 references to Names
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (12)
176string[] names = enumInfo.Names; 227if (underlyingType == typeof(sbyte) || underlyingType == typeof(byte)) names = GetEnumInfo<byte>(rt).Names; 228else if (underlyingType == typeof(short) || underlyingType == typeof(ushort)) names = GetEnumInfo<ushort>(rt).Names; 229else if (underlyingType == typeof(int) || underlyingType == typeof(uint)) names = GetEnumInfo<uint>(rt).Names; 230else if (underlyingType == typeof(long) || underlyingType == typeof(ulong)) names = GetEnumInfo<ulong>(rt).Names; 262CorElementType.ELEMENT_TYPE_I1 or CorElementType.ELEMENT_TYPE_U1 => GetEnumInfo<byte>(enumType).Names, 263CorElementType.ELEMENT_TYPE_I2 or CorElementType.ELEMENT_TYPE_U2 => GetEnumInfo<ushort>(enumType).Names, 264CorElementType.ELEMENT_TYPE_I4 or CorElementType.ELEMENT_TYPE_U4 => GetEnumInfo<uint>(enumType).Names, 265CorElementType.ELEMENT_TYPE_I8 or CorElementType.ELEMENT_TYPE_U8 => GetEnumInfo<ulong>(enumType).Names, 1050string[] enumNames = enumInfo.Names; 1932string[] names = enumInfo.Names; 1967string[] names = enumInfo.Names;
System\RuntimeType.NativeAot.cs (1)
148foreach (string name in enumInfo.Names)