3 namespace Mono.Debugger.Soft
5 public class Location : Mirror
15 internal Location (VirtualMachine vm, MethodMirror method, long native_addr, int il_offset, string source_file, int line_number, int column_number, byte[] hash) : base (vm, 0) {
17 //this.native_addr = native_addr;
18 this.il_offset = il_offset;
19 this.source_file = source_file;
20 this.line_number = line_number;
22 this.column_number = column_number;
25 public MethodMirror Method {
37 public string SourceFile {
43 public int LineNumber {
49 // Since protocol version 2.19, 0 in earlier protocol versions
50 public int ColumnNumber {
56 // MD5 hash of source file
57 // Since protocol version 2.14, null in earlier protocol versions
58 public byte[] SourceFileHash {
64 public override string ToString () {
65 return String.Format ("{0}+0x{1:x} at {2}:{3}", Method.FullName, ILOffset, SourceFile, LineNumber);