54 references to BuildCheckDataContext
Microsoft.Build (54)
BuildCheck\API\IBuildCheckRegistrationContext.cs (6)
10
void RegisterEvaluatedPropertiesAction(Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction);
12
void RegisterParsedItemsAction(Action<
BuildCheckDataContext
<ParsedItemsCheckData>> parsedItemsAction);
14
void RegisterTaskInvocationAction(Action<
BuildCheckDataContext
<TaskInvocationCheckData>> taskInvocationAction);
16
void RegisterEnvironmentVariableReadAction(Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>> environmentVariableAction);
18
void RegisterBuildFinishedAction(Action<
BuildCheckDataContext
<BuildFinishedCheckData>> buildFinishedAction);
20
void RegisterProjectImportedAction(Action<
BuildCheckDataContext
<ProjectImportedCheckData>> projectImportedAction);
BuildCheck\API\IInternalCheckRegistrationContext.cs (3)
10
void RegisterPropertyReadAction(Action<
BuildCheckDataContext
<PropertyReadData>> propertyReadAction);
12
void RegisterPropertyWriteAction(Action<
BuildCheckDataContext
<PropertyWriteData>> propertyWriteAction);
14
void RegisterProjectRequestProcessingDoneAction(Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>> propertyWriteAction);
BuildCheck\Checks\DoubleWritesCheck.cs (4)
52
private void TaskInvocationAction(
BuildCheckDataContext
<TaskInvocationCheckData> context)
64
private void CheckCompilerTask(
BuildCheckDataContext
<TaskInvocationCheckData> context)
84
private void CheckCopyTask(
BuildCheckDataContext
<TaskInvocationCheckData> context)
107
private void CheckWrite(
BuildCheckDataContext
<TaskInvocationCheckData> context, string fileBeingWritten)
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (4)
24
private readonly Queue<(string projectPath,
BuildCheckDataContext
<EnvironmentVariableCheckData>)> _buildCheckResults = new Queue<(string,
BuildCheckDataContext
<EnvironmentVariableCheckData>)>();
54
private void ProcessEnvironmentVariableReadAction(
BuildCheckDataContext
<EnvironmentVariableCheckData> context)
85
(string projectPath,
BuildCheckDataContext
<EnvironmentVariableCheckData> context) = _buildCheckResults.Dequeue();
BuildCheck\Checks\PropertiesUsageCheck.cs (3)
131
private void ProcessPropertyWrite(
BuildCheckDataContext
<PropertyWriteData> context)
171
private void ProcessPropertyRead(
BuildCheckDataContext
<PropertyReadData> context)
217
private void DoneWithProject(
BuildCheckDataContext
<ProjectRequestProcessingDoneData> context)
BuildCheck\Checks\SharedOutputPathCheck.cs (2)
43
private void EvaluatedPropertiesAction(
BuildCheckDataContext
<EvaluatedPropertiesCheckData> context)
67
private string? CheckAndAddFullOutputPath(string? path,
BuildCheckDataContext
<EvaluatedPropertiesCheckData> context)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (23)
25
List<(CheckWrapper, Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>>)> EvaluatedPropertiesActions,
26
List<(CheckWrapper, Action<
BuildCheckDataContext
<ParsedItemsCheckData>>)> ParsedItemsActions,
27
List<(CheckWrapper, Action<
BuildCheckDataContext
<TaskInvocationCheckData>>)> TaskInvocationActions,
28
List<(CheckWrapper, Action<
BuildCheckDataContext
<PropertyReadData>>)> PropertyReadActions,
29
List<(CheckWrapper, Action<
BuildCheckDataContext
<PropertyWriteData>>)> PropertyWriteActions,
30
List<(CheckWrapper, Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>>)> ProjectRequestProcessingDoneActions,
31
List<(CheckWrapper, Action<
BuildCheckDataContext
<BuildFinishedCheckData>>)> BuildFinishedActions,
32
List<(CheckWrapper, Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>>)> EnvironmentVariableCheckDataActions,
33
List<(CheckWrapper, Action<
BuildCheckDataContext
<ProjectImportedCheckData>>)> ProjectImportedCheckDataActions)
69
internal void RegisterEnvironmentVariableReadAction(CheckWrapper check, Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>> environmentVariableAction)
72
internal void RegisterEvaluatedPropertiesAction(CheckWrapper check, Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction)
77
internal void RegisterParsedItemsAction(CheckWrapper check, Action<
BuildCheckDataContext
<ParsedItemsCheckData>> parsedItemsAction)
80
internal void RegisterTaskInvocationAction(CheckWrapper check, Action<
BuildCheckDataContext
<TaskInvocationCheckData>> taskInvocationAction)
83
internal void RegisterPropertyReadAction(CheckWrapper check, Action<
BuildCheckDataContext
<PropertyReadData>> propertyReadAction)
86
internal void RegisterPropertyWriteAction(CheckWrapper check, Action<
BuildCheckDataContext
<PropertyWriteData>> propertyWriteAction)
89
internal void RegisterProjectRequestProcessingDoneAction(CheckWrapper check, Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>> projectDoneAction)
92
internal void RegisterBuildFinishedAction(CheckWrapper check, Action<
BuildCheckDataContext
<BuildFinishedCheckData>> buildFinishedAction)
95
internal void RegisterProjectImportedAction(CheckWrapper check, Action<
BuildCheckDataContext
<ProjectImportedCheckData>> projectImportedAction)
100
Action<
BuildCheckDataContext
<T>> handler,
101
List<(CheckWrapper, Action<
BuildCheckDataContext
<T>>)> handlersRegistry)
104
void WrappedHandler(
BuildCheckDataContext
<T> context)
185
List<(CheckWrapper, Action<
BuildCheckDataContext
<T>>)> registeredCallbacks,
223
BuildCheckDataContext
<T> context = new BuildCheckDataContext<T>(
BuildCheck\Infrastructure\CheckRegistrationContext.cs (9)
12
public void RegisterEnvironmentVariableReadAction(Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>> environmentVariableAction) =>
15
public void RegisterEvaluatedPropertiesAction(Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction) =>
18
public void RegisterParsedItemsAction(Action<
BuildCheckDataContext
<ParsedItemsCheckData>> parsedItemsAction) =>
21
public void RegisterTaskInvocationAction(Action<
BuildCheckDataContext
<TaskInvocationCheckData>> taskInvocationAction) =>
24
public void RegisterPropertyReadAction(Action<
BuildCheckDataContext
<PropertyReadData>> propertyReadAction)
27
public void RegisterPropertyWriteAction(Action<
BuildCheckDataContext
<PropertyWriteData>> propertyWriteAction)
30
public void RegisterProjectRequestProcessingDoneAction(Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>> projectDoneAction)
33
public void RegisterBuildFinishedAction(Action<
BuildCheckDataContext
<BuildFinishedCheckData>> buildFinishedAction)
36
public void RegisterProjectImportedAction(Action<
BuildCheckDataContext
<ProjectImportedCheckData>> projectImportedAction) =>