System.Enum

E697471

System.Enum is a base class in the .NET framework that provides functionality for creating and working with enumeration types.

All labels observed (2)

Label Occurrences
System.Diagnostics.PerformanceCounterType 1
System.Enum canonical 1

How this entity was disambiguated

Statements (62)

Predicate Object
instanceOf Base class
System.Object subclass
System.Type
assembly System.Runtime
mscorlib
linked to: mscorlib.dll
attributeUsage Base type for enums marked with System.FlagsAttribute
baseType System.ValueType
cannotBeBaseFor Non-enum types
cannotInheritFrom User-defined types
CLSCompliant true
definedIn .NET 5+
linked to: .NET (5 and later)

.NET Core
.NET Framework
designNote All user-defined enums implicitly inherit from System.Enum
Cannot be directly instantiated by user code
implementsInterface System.IComparable
System.IComparable<System.Enum>
linked to: System.IComparable

System.IConvertible
System.IFormattable
inheritsFrom System.Object
System.ValueType
isAbstract true
isClass true
isGenericType false
isSealed true
isSerializable true
isValueType false
member CompareTo(System.Object)
Equals(System.Object)
GetHashCode()
GetTypeCode()
HasFlag(System.Enum)
ToString()
ToString(System.IFormatProvider)
ToString(System.String)
ToString(System.String, System.IFormatProvider)
namespace System
purpose Base class for all enumeration types in .NET
staticMethod GetName(System.Type, System.Object)
GetNames(System.Type)
GetNames<TEnum>()
GetUnderlyingType(System.Type)
GetValues(System.Type)
GetValues<TEnum>()
IsDefined(System.Type, System.Object)
Parse(System.Type, System.String)
Parse(System.Type, System.String, System.Boolean)
TryParse<TEnum>(System.String, System.Boolean, out TEnum)
TryParse<TEnum>(System.String, out TEnum)
underlyingType System.Byte
System.Int16
System.Int32
System.Int64
System.SByte
System.UInt16
System.UInt32
System.UInt64
underlyingTypeConstraint Integral types only
usedFor Converting between enum values and underlying integral types
Declaring enumeration types
Parsing and formatting enumeration values
Working with named constants

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

System containsType System.Enum
System.Diagnostics containsClass System.Diagnostics.PerformanceCounterType
linked to: System.Enum