1 implementation of BuildEventContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
33public BuildEventContext BuildEventContext => _eventContext;
14 references to BuildEventContext
Microsoft.Build (14)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
165{ BuildEventContext = checkContext.BuildEventContext };
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (4)
122eventArgs.BuildEventContext = checkContext.BuildEventContext!; 383if (TryGetProjectFullPath(checkContext.BuildEventContext, out string projectPath)) 517_projectsByEvaluationId[checkContext.BuildEventContext.EvaluationId] = projectFullPath; 533BuildEventContext buildEventContext = checkContext.BuildEventContext;
BuildCheck\Infrastructure\BuildEventsProcessor.cs (2)
94EnvironmentVariableCheckData checkData = new(projectPath, checkContext.BuildEventContext?.ProjectInstanceId, envVarKey, envVarValue, elementLocation); 217new ProjectRequestProcessingDoneData(projectFullPath, checkContext.BuildEventContext.ProjectInstanceId),
BuildCheck\Infrastructure\CheckContext\ICheckContext.cs (6)
15/// Interface that contains an instance of <see cref="BuildEventContext"/> and methods to dispatch it. 20/// Instance of <see cref="BuildEventContext"/>. 25/// Dispatch the instance of <see cref="BuildEventContext"/> as a comment. 35/// Dispatch the instance of <see cref="BuildEventContext"/> as an error message. 40/// Dispatch the instance of <see cref="BuildEventContext"/> as a comment with provided text for the message. 45/// Dispatch the instance of <see cref="BuildEventContext"/> as a warning message.
BuildCheck\Infrastructure\CheckWrapper.cs (1)
162eventArgs.BuildEventContext = checkContext.BuildEventContext;