1 write to Data
Microsoft.Build (1)
BuildCheck\OM\BuildCheckDataContext.cs (1)
81
Data
= data;
27 references to Data
Microsoft.Build (27)
BuildCheck\Checks\DoubleWritesCheck.cs (9)
55
switch (context.
Data
.TaskName)
66
var taskParameters = context.
Data
.Parameters;
86
var taskParameters = context.
Data
.Parameters;
113
fileBeingWritten = Path.GetFullPath(fileBeingWritten, context.
Data
.ProjectFileDirectory);
119
context.
Data
.TaskInvocationLocation,
120
context.
Data
.TaskName,
122
Path.GetFileName(context.
Data
.ProjectFilePath),
128
_filesWritten.Add(fileBeingWritten, (context.
Data
.ProjectFilePath, context.
Data
.TaskName));
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (12)
56
EnvironmentVariableIdentityKey identityKey = new(context.
Data
.EnvironmentVariableName, context.
Data
.EnvironmentVariableLocation);
62
_buildCheckResults.Enqueue((context.
Data
.ProjectFilePath, context));
64
else if (CheckScopeClassifier.IsActionInObservedScope(_scope, context.
Data
.EnvironmentVariableLocation.File, context.
Data
.ProjectFilePath))
68
context.
Data
.EnvironmentVariableLocation,
69
GetFormattedMessage(context.
Data
.EnvironmentVariableName, context.
Data
.EnvironmentVariableValue)));
86
if (!CheckScopeClassifier.IsActionInObservedScope(_scope, context.
Data
.EnvironmentVariableLocation.File, projectPath))
93
context.
Data
.EnvironmentVariableLocation,
94
GetFormattedMessage(context.
Data
.EnvironmentVariableName, context.
Data
.EnvironmentVariableValue)));
BuildCheck\Checks\PropertiesUsageCheck.cs (2)
133
PropertyWriteData writeData = context.
Data
;
173
PropertyReadData readData = context.
Data
;
BuildCheck\Checks\SharedOutputPathCheck.cs (4)
45
if (!_projects.Add(context.
Data
.ProjectFilePath))
52
context.
Data
.EvaluatedProperties.TryGetValue("OutputPath", out binPath);
53
context.
Data
.EvaluatedProperties.TryGetValue("IntermediateOutputPath", out objPath);
74
string projectPath = context.
Data
.ProjectFilePath;