[sdb] Fix round tripping of vtypes with boxed fields. Fixes #12354.
[mono.git] / mcs / class / Mono.Debugger.Soft / Mono.Debugger.Soft / MethodExitEvent.cs
1
2 namespace Mono.Debugger.Soft
3 {
4         public class MethodExitEvent : Event {
5                 MethodMirror method;
6                 long id;
7
8                 internal MethodExitEvent (VirtualMachine vm, int req_id, long thread_id, long id) : base (EventType.MethodExit, vm, req_id, thread_id) {
9                         this.id = id;
10                 }
11
12                 public MethodMirror Method {
13                         get {
14                                 if (method == null)
15                                         method = vm.GetMethod (id);
16                                 return method;
17                         }
18                 }
19         }
20 }