1 write to _shouldTrackElements
Microsoft.Build (1)
Evaluation\Profiler\EvaluationProfiler.cs (1)
32_shouldTrackElements = shouldTrackElements;
6 references to _shouldTrackElements
Microsoft.Build (6)
Evaluation\Profiler\EvaluationProfiler.cs (6)
38public ProfilerResult? ProfiledResult => _shouldTrackElements ? (ProfilerResult?)new ProfilerResult(_timeSpent) : null; 44return _shouldTrackElements 54return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFile(file)) : null; 61return _shouldTrackElements 72return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFileLineAndElement(element.Location.File, element.Location.Line, element)) : null; 79return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFileLineAndCondition(location.File, location.Line, condition)) : null;