2 writes to _currentConfiguration
MSBuildTaskHost (2)
OutOfProcTaskHostNode.cs (2)
437
_currentConfiguration
= taskHostConfiguration;
470
_currentConfiguration
= null;
17 references to _currentConfiguration
MSBuildTaskHost (17)
OutOfProcTaskHostNode.cs (17)
173
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration during a BuildEngine callback!");
174
return
_currentConfiguration
.ContinueOnError;
185
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration during a BuildEngine callback!");
186
return
_currentConfiguration
.LineNumberOfTask;
197
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration during a BuildEngine callback!");
198
return
_currentConfiguration
.ColumnNumberOfTask;
209
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration during a BuildEngine callback!");
210
return
_currentConfiguration
.ProjectFileOfTask;
850
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, $"{nameof(
_currentConfiguration
)} is null.");
862
LogMessagePacketBase logMessage = new(new KeyValuePair<int, BuildEventArgs>(
_currentConfiguration
.NodeId, e));
872
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration when we're trying to log messages!");
877
_currentConfiguration
.TaskName,
888
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration when we're trying to log warnings!");
900
senderName:
_currentConfiguration
.TaskName);
910
ErrorUtilities.VerifyThrow(
_currentConfiguration
!= null, "We should never have a null configuration when we're trying to log errors!");
922
senderName:
_currentConfiguration
.TaskName);