3 writes to _startTimeForCurrentState
Microsoft.Build (3)
BackEnd\Components\Scheduler\ScheduleTimeRecord.cs (3)
31_startTimeForCurrentState = DateTime.MinValue; 53_startTimeForCurrentState = currentTime; 64_startTimeForCurrentState = DateTime.MinValue;
4 references to _startTimeForCurrentState
Microsoft.Build (4)
BackEnd\Components\Scheduler\ScheduleTimeRecord.cs (4)
42ErrorUtilities.VerifyThrow(_startTimeForCurrentState == DateTime.MinValue, "Can't get the accumulated time while the timer is still running."); 52ErrorUtilities.VerifyThrow(_startTimeForCurrentState == DateTime.MinValue, "Cannot start the counter when it is already running."); 61if (_startTimeForCurrentState != DateTime.MinValue) 63_accumulatedTime += currentTime - _startTimeForCurrentState;