示例#1
0
 public HandleEntry(DebugHandleTracker.HandleType.HandleEntry next, IntPtr handle)
 {
     this.handle = handle;
     this.next   = next;
     if (System.ComponentModel.CompModSwitches.HandleLeak.Level > TraceLevel.Off)
     {
         this.callStack = Environment.StackTrace;
     }
     else
     {
         this.callStack = null;
     }
 }
 public HandleEntry(DebugHandleTracker.HandleType.HandleEntry next, IntPtr handle)
 {
     this.handle = handle;
     this.next = next;
     if (System.ComponentModel.CompModSwitches.HandleLeak.Level > TraceLevel.Off)
     {
         this.callStack = Environment.StackTrace;
     }
     else
     {
         this.callStack = null;
     }
 }