class · System
Any
public class Any
- Tipo
- class
- Espacio de nombres
- System
- Ensamblado
- System.Core
- Acceso
- public
- Archivo fuente
Any.ant
Herencia
- Tipos derivados
-
ActivatorArrayAttributeBindingModelBindingProfileBindingRunnerBindingSettingsCConstantCEnumCEnumMemberCFieldCFunctionCParameterCStructCTypeNamesPlaceBoxed<T>CharConsoleDateFieldsDatesDecimalDigitsProcessProcessResultStopwatchDictionary<K, V>EnvironmentExceptionExchangeFailGCHashSet<T>BinaryReaderBinaryWriterDirectoryFilePathStreamTextReaderTextWriterIterator<T>LinkedList<T>LinkedListNode<T>List<T>ListsLocalZoneMathHttpClientHttpResponseTcpClientTcpListenerNumberNumberFormatNumberTextPriorityQueue<E, P>Queue<T>RandomComputed<T>EffectReactiveSourceRecordsAttributesFailMemberInfoParameterInfoParametersReentrantTypeDescriberResourceDataResourcesCStringsMarshalMemoryNativeMemorySortedDictionary<K, V>SortedSet<T>SpansStack<T>String<T>StringBuilderEncodingJsonReaderJsonValueMatchRegexRegexNodeRegexParserUTF8EncodingAtomicBoolAtomicI32AtomicI64BlockingCollection<T>ConcurrentQueue<T>ConditionCountdownEventInterlockedManualResetEventMutexParallelSemaphoreSlimShared<T>SchedulerTaskThreadThreadPoolTimeFormatTimeTextTuple<T1>Tuple<T1, T2>Tuple<T1, T2, T3>Tuple<T1, T2, T3, T4>Tuple<T1, T2, T3, T4, T5>Tuple<T1, T2, T3, T4, T5, T6>Tuple<T1, T2, T3, T4, T5, T6, T7>Tuple<T1, T2, T3, T4, T5, T6, T7, T8>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>TypeUnicode
Métodos
The object's type at run time (its class; a boxed value's: the value's type).
virtual ToString() : str
#
The object as text (the name of its class unless the class says otherwise).
A number for the object (the same for objects its class considers equal).
virtual destroy()
#
Runs once when the object dies: a class's destroy() runs, then its base's. Nothing here.
Miembros privados e internos (1)
Código fuente
Any en Antril, descompilado a partir de su Larva HIR.
// System.Any — System.Core (decompiled from Larva HIR)
into namespace System
{
public class Any
{
internal:
/// What GetType gives: each class's own (the compiler writes one per class when the program uses reflection).
virtual RuntimeType() : Type? => null;
inherited:
/// Runs once when the object dies: a class's `destroy()` runs, then its base's. Nothing here.
virtual destroy()
{
}
public:
/// The object's type at run time (its class; a boxed value's: the value's type).
GetType() : Type
{
if (RuntimeType() is Type known)
return known;
return Undescribed();
}
[NoInline]
static Undescribed() : Type
{
throw new InvalidOperationError("GetType: the program's types are not described");
}
/// The object as text (the name of its class unless the class says otherwise).
virtual ToString() : str => "System.Any";
/// A number for the object (the same for objects its class considers equal).
virtual Hash() : u64 => 0;
}
}