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