60 references to BuildCheckDataContext
Microsoft.Build (60)
BuildCheck\API\IBuildCheckRegistrationContext.cs (7)
10
void RegisterEvaluatedPropertiesAction(Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction);
13
void RegisterParsedItemsAction(Action<
BuildCheckDataContext
<ParsedItemsCheckData>> parsedItemsAction);
15
void RegisterEvaluatedItemsAction(Action<
BuildCheckDataContext
<EvaluatedItemsCheckData>> evaluatedItemsAction);
17
void RegisterTaskInvocationAction(Action<
BuildCheckDataContext
<TaskInvocationCheckData>> taskInvocationAction);
19
void RegisterEnvironmentVariableReadAction(Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>> environmentVariableAction);
21
void RegisterBuildFinishedAction(Action<
BuildCheckDataContext
<BuildFinishedCheckData>> buildFinishedAction);
23
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)
49
private void TaskInvocationAction(
BuildCheckDataContext
<TaskInvocationCheckData> context)
61
private void CheckCompilerTask(
BuildCheckDataContext
<TaskInvocationCheckData> context)
81
private void CheckCopyTask(
BuildCheckDataContext
<TaskInvocationCheckData> context)
104
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\PreferProjectReferenceCheck.cs (2)
41
private void EvaluatedPropertiesAction(
BuildCheckDataContext
<EvaluatedPropertiesCheckData> context)
81
private void EvaluatedItemsAction(
BuildCheckDataContext
<EvaluatedItemsCheckData> context)
BuildCheck\Checks\PropertiesUsageCheck.cs (3)
129
private void ProcessPropertyWrite(
BuildCheckDataContext
<PropertyWriteData> context)
169
private void ProcessPropertyRead(
BuildCheckDataContext
<PropertyReadData> context)
215
private void DoneWithProject(
BuildCheckDataContext
<ProjectRequestProcessingDoneData> context)
BuildCheck\Checks\SharedOutputPathCheck.cs (2)
39
private void EvaluatedPropertiesAction(
BuildCheckDataContext
<EvaluatedPropertiesCheckData> context)
65
private string? CheckAndAddFullOutputPath(string? path,
BuildCheckDataContext
<EvaluatedPropertiesCheckData> context)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (25)
28
List<(CheckWrapper, Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>>)> EvaluatedPropertiesActions,
30
List<(CheckWrapper, Action<
BuildCheckDataContext
<ParsedItemsCheckData>>)> ParsedItemsActions,
32
List<(CheckWrapper, Action<
BuildCheckDataContext
<EvaluatedItemsCheckData>>)> EvaluatedItemsActions,
33
List<(CheckWrapper, Action<
BuildCheckDataContext
<TaskInvocationCheckData>>)> TaskInvocationActions,
34
List<(CheckWrapper, Action<
BuildCheckDataContext
<PropertyReadData>>)> PropertyReadActions,
35
List<(CheckWrapper, Action<
BuildCheckDataContext
<PropertyWriteData>>)> PropertyWriteActions,
36
List<(CheckWrapper, Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>>)> ProjectRequestProcessingDoneActions,
37
List<(CheckWrapper, Action<
BuildCheckDataContext
<BuildFinishedCheckData>>)> BuildFinishedActions,
38
List<(CheckWrapper, Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>>)> EnvironmentVariableCheckDataActions,
39
List<(CheckWrapper, Action<
BuildCheckDataContext
<ProjectImportedCheckData>>)> ProjectImportedCheckDataActions)
77
internal void RegisterEnvironmentVariableReadAction(CheckWrapper check, Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>> environmentVariableAction)
80
internal void RegisterEvaluatedPropertiesAction(CheckWrapper check, Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction)
86
internal void RegisterParsedItemsAction(CheckWrapper check, Action<
BuildCheckDataContext
<ParsedItemsCheckData>> parsedItemsAction)
90
internal void RegisterEvaluatedItemsAction(CheckWrapper check, Action<
BuildCheckDataContext
<EvaluatedItemsCheckData>> parsedItemsAction)
93
internal void RegisterTaskInvocationAction(CheckWrapper check, Action<
BuildCheckDataContext
<TaskInvocationCheckData>> taskInvocationAction)
96
internal void RegisterPropertyReadAction(CheckWrapper check, Action<
BuildCheckDataContext
<PropertyReadData>> propertyReadAction)
99
internal void RegisterPropertyWriteAction(CheckWrapper check, Action<
BuildCheckDataContext
<PropertyWriteData>> propertyWriteAction)
102
internal void RegisterProjectRequestProcessingDoneAction(CheckWrapper check, Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>> projectDoneAction)
105
internal void RegisterBuildFinishedAction(CheckWrapper check, Action<
BuildCheckDataContext
<BuildFinishedCheckData>> buildFinishedAction)
108
internal void RegisterProjectImportedAction(CheckWrapper check, Action<
BuildCheckDataContext
<ProjectImportedCheckData>> projectImportedAction)
113
Action<
BuildCheckDataContext
<T>> handler,
114
List<(CheckWrapper, Action<
BuildCheckDataContext
<T>>)> handlersRegistry)
117
void WrappedHandler(
BuildCheckDataContext
<T> context)
208
List<(CheckWrapper, Action<
BuildCheckDataContext
<T>>)> registeredCallbacks,
246
BuildCheckDataContext
<T> context = new BuildCheckDataContext<T>(
BuildCheck\Infrastructure\CheckRegistrationContext.cs (10)
12
public void RegisterEnvironmentVariableReadAction(Action<
BuildCheckDataContext
<EnvironmentVariableCheckData>> environmentVariableAction) =>
15
public void RegisterEvaluatedPropertiesAction(Action<
BuildCheckDataContext
<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction) =>
19
public void RegisterParsedItemsAction(Action<
BuildCheckDataContext
<ParsedItemsCheckData>> parsedItemsAction) =>
23
public void RegisterEvaluatedItemsAction(Action<
BuildCheckDataContext
<EvaluatedItemsCheckData>> evaluatedItemsAction) =>
26
public void RegisterTaskInvocationAction(Action<
BuildCheckDataContext
<TaskInvocationCheckData>> taskInvocationAction) =>
29
public void RegisterPropertyReadAction(Action<
BuildCheckDataContext
<PropertyReadData>> propertyReadAction)
32
public void RegisterPropertyWriteAction(Action<
BuildCheckDataContext
<PropertyWriteData>> propertyWriteAction)
35
public void RegisterProjectRequestProcessingDoneAction(Action<
BuildCheckDataContext
<ProjectRequestProcessingDoneData>> projectDoneAction)
38
public void RegisterBuildFinishedAction(Action<
BuildCheckDataContext
<BuildFinishedCheckData>> buildFinishedAction)
41
public void RegisterProjectImportedAction(Action<
BuildCheckDataContext
<ProjectImportedCheckData>> projectImportedAction) =>