/// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String" /> that represents this instance. /// </returns> public override string ToString() { if (this.pointer == IntPtr.Zero) { return(this.pointer.ToString("X16")); } CodeStart codeStart = new CodeStart(this); if (codeStart == CodeStart.Zero) { return(this.pointer.ToString("X16")); } return(this.pointer.ToString("X16") + "(" + codeStart.ToString() + ")"); }
/// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String" /> that represents this instance. /// </returns> public override string ToString() { if (this.pointer == IntPtr.Zero) { return this.pointer.ToString("X16"); } CodeStart codeStart = new CodeStart(this); if (codeStart == CodeStart.Zero) { return this.pointer.ToString("X16"); } return this.pointer.ToString("X16") + "(" + codeStart.ToString() + ")"; }