Mono.Debugger.Languages.TargetLocation.GetLocationAtOffset C# (CSharp) Method

GetLocationAtOffset() private method

Clones this location, but adds `offset' to its offset. Note that this'll just affect the new location's `Offset' property - if you use this for reference types, this won't modify the address which gets dereferenced. This is usually what you want to access the data at `offset' within the variable's contents (for instance to skip a header or access an array element).
private GetLocationAtOffset ( long offset ) : TargetLocation
offset long
return TargetLocation
        internal TargetLocation GetLocationAtOffset(long offset)
        {
            if (offset != 0)
                return new RelativeTargetLocation (this, offset);
            else
                return this;
        }