Mono.Debugger.Languages.Mono.MonoVariable.GetObject C# (CSharp) Method

GetObject() private method

private GetObject ( StackFrame frame, TargetMemoryAccess target ) : TargetObject
frame StackFrame
target TargetMemoryAccess
return TargetObject
        internal override TargetObject GetObject(StackFrame frame,
							  TargetMemoryAccess target)
        {
            TargetLocation location = GetLocation (frame, target);

            if (location == null)
                throw new LocationInvalidException ();

            if (location.HasAddress && location.GetAddress (target).IsNull) {
                TargetLocation null_loc = new AbsoluteTargetLocation (TargetAddress.Null);
                return new TargetNullObject (type);
            }

            return type.GetObject (target, location);
        }