Class PointerKind
Identifies a particular kind of pointer.
Inheritance
System.Object
PointerKind
Implements
System.IEquatable<PointerKind>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public abstract class PointerKind : IEquatable<PointerKind>
Fields
| Improve this Doc View SourceBox
The pointer kind for box pointers. This kind of pointers is used both for boxed 'struct' values and for references to 'class' values.
Declaration
public static readonly PointerKind Box
Field Value
Type | Description |
---|---|
PointerKind |
Reference
The pointer kind for reference pointers, which are pointers to a value that may or may not be tracked by the garbage collection runtime.
As a rule, reference pointers should never be used as the type of a field or as the element type of a container.
Declaration
public static readonly PointerKind Reference
Field Value
Type | Description |
---|---|
PointerKind |
Transient
The pointer kind for transient pointers.
Declaration
public static readonly PointerKind Transient
Field Value
Type | Description |
---|---|
PointerKind |
Methods
| Improve this Doc View SourceEquals(PointerKind)
Checks if this pointer kind equals another pointer kind.
Declaration
public abstract bool Equals(PointerKind other)
Parameters
Type | Name | Description |
---|---|---|
PointerKind | other | The other pointer kind. |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public abstract override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public abstract override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>