/// <summary> /// Creates the value child. /// </summary> /// <param name="location">The location.</param> /// <returns>Child node</returns> public virtual LocationCollectorNode CreateValueChild(ValueLocation location) { ValueCollectorNode node = new ValueCollectorNode(location); addValueChild(node); return(node); }
private void AddLocation(ValueLocation location) { LocationCollectorNode nextNode = node.CreateValueChild(location); nextNode.IsMust = isMust; treeIndexCollector.AddNode(nextNode); }
internal DbgDotNetValue CreateDotNetValue_MonoDebug(ValueLocation valueLocation) { debuggerThread.VerifyAccess(); var value = valueLocation.Load(); if (value == null) { return(new SyntheticNullValue(valueLocation.Type)); } var dnValue = new DbgDotNetValueImpl(this, valueLocation, value); lock (lockObj) dotNetValuesToCloseOnContinue.Add(dnValue); return(dnValue); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ValueLocation obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
/// <summary> /// Initializes a new instance of the <see cref="ValueCollectorNode"/> class. /// </summary> /// <param name="valueLocation">The value location.</param> public ValueCollectorNode(ValueLocation valueLocation) { this.ValueLocation = valueLocation; }