Merge pull request #2075 from kasthack/system-web-import-enums
[mono.git] / mcs / class / Mono.Debugger.Soft / Mono.Debugger.Soft / StepEvent.cs
1
2 namespace Mono.Debugger.Soft
3 {
4         public class StepEvent : Event {
5                 MethodMirror method;
6                 long id, loc;
7
8                 internal StepEvent (VirtualMachine vm, int req_id, long thread_id, long id, long loc) : base (EventType.Step, vm, req_id, thread_id) {
9                         this.id = id;
10                         this.loc = loc;
11                 }
12
13                 public MethodMirror Method {
14                         get {
15                                 if (method == null)
16                                         method = vm.GetMethod (id);
17                                 return method;
18                         }
19                 }
20
21                 public long Location {
22                         get {
23                                 return loc;
24                         }
25                 }
26         }
27 }