1 instantiation of EnvironmentVariableCheckData
Microsoft.Build (1)
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
107
EnvironmentVariableCheckData checkData =
new
(projectPath, checkContext.BuildEventContext?.ProjectInstanceId, envVarKey, envVarValue, elementLocation);
11 references to EnvironmentVariableCheckData
Microsoft.Build (10)
BuildCheck\API\IBuildCheckRegistrationContext.cs (1)
19
void RegisterEnvironmentVariableReadAction(Action<BuildCheckDataContext<
EnvironmentVariableCheckData
>> environmentVariableAction);
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\Infrastructure\BuildCheckCentralContext.cs (3)
38
List<(CheckWrapper, Action<BuildCheckDataContext<
EnvironmentVariableCheckData
>>)> EnvironmentVariableCheckDataActions,
77
internal void RegisterEnvironmentVariableReadAction(CheckWrapper check, Action<BuildCheckDataContext<
EnvironmentVariableCheckData
>> environmentVariableAction)
132
EnvironmentVariableCheckData
environmentVariableCheckData,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
107
EnvironmentVariableCheckData
checkData = new(projectPath, checkContext.BuildEventContext?.ProjectInstanceId, envVarKey, envVarValue, elementLocation);
BuildCheck\Infrastructure\CheckRegistrationContext.cs (1)
12
public void RegisterEnvironmentVariableReadAction(Action<BuildCheckDataContext<
EnvironmentVariableCheckData
>> environmentVariableAction) =>
Microsoft.Build.BuildCheck.UnitTests (1)
MockBuildCheckRegistrationContext.cs (1)
60
public void RegisterEnvironmentVariableReadAction(Action<BuildCheckDataContext<
EnvironmentVariableCheckData
>> environmentVariableAction) => throw new NotImplementedException();