Skip to content

Location Struct

Definition

An address in memory. Use Nullable<T> of Location for a location that has not been resolved yet. Arithmetic is checked; overflowing past the ends of memory throws.

public sealed struct Location : IEquatable<Location>, IComparable<Location>, IComparable

View source

Constructors

Name Description
Location(UInt16) An address in memory. Use Nullable<T> of Location for a location that has not been resolved yet. Arithmetic is checked; overflowing past the ends of memory throws.

Properties

Name Description
Address
MaxValue
MinValue

Methods

Name Description
CompareTo(Location)
CompareTo(Object)
Equals(Location)
Equals(Object)
GetHashCode()
ToString()

Operators

Name Description
op_Decrement(Location)
op_Equality(Location, Location)
op_GreaterThan(Location, Location)
op_GreaterThanOrEqual(Location, Location)
op_Implicit(Location)
op_Increment(Location)
op_Inequality(Location, Location)
op_LessThan(Location, Location)
op_LessThanOrEqual(Location, Location)
op_Addition(Location, UInt16)
op_Addition(Location, Int32)
op_Subtraction(Location, UInt16)
op_Subtraction(Location, Int32)