2009-11-02 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / class / Mono.Debugger.Soft / Mono.Debugger / Location.cs
blob60f919b5b26a8ebc42e4d5949088f75fe28abc7f
1 using System;
3 namespace Mono.Debugger
5 public class Location : Mirror
7 MethodMirror method;
8 //long native_addr;
9 int il_offset;
10 string source_file;
11 int line_number;
12 //int column_number;
14 internal Location (VirtualMachine vm, MethodMirror method, long native_addr, int il_offset, string source_file, int line_number, int column_number) : base (vm, 0) {
15 this.method = method;
16 //this.native_addr = native_addr;
17 this.il_offset = il_offset;
18 this.source_file = source_file;
19 this.line_number = line_number;
20 //this.column_number = column_number;
23 public MethodMirror Method {
24 get {
25 return method;
29 public int ILOffset {
30 get {
31 return il_offset;
35 public string SourceFile {
36 get {
37 return source_file;
41 public int LineNumber {
42 get {
43 return line_number;