示例#1
0
 public void Dispose()
 {
     this.stopwatch.Stop();
     DiagnosticContext.TraceDword(this.lid, (uint)this.stopwatch.ElapsedMilliseconds);
     if (DiagnosticContext.cachedStopwatch == null)
     {
         DiagnosticContext.cachedStopwatch = this.stopwatch;
     }
 }