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