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)
38
public ProfilerResult? ProfiledResult =>
_shouldTrackElements
? (ProfilerResult?)new ProfilerResult(_timeSpent) : null;
44
return
_shouldTrackElements
54
return
_shouldTrackElements
? new EvaluationFrame(this, CurrentLocation.WithFile(file)) : null;
61
return
_shouldTrackElements
72
return
_shouldTrackElements
? new EvaluationFrame(this, CurrentLocation.WithFileLineAndElement(element.Location.File, element.Location.Line, element)) : null;
79
return
_shouldTrackElements
? new EvaluationFrame(this, CurrentLocation.WithFileLineAndCondition(location.File, location.Line, condition)) : null;