11 instantiations of EnvironmentVariableReadEventArgs
Microsoft.Build (7)
Definition\ProjectProperty.cs (2)
108EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, string.Empty, 0, 0); 127EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, location.File, location.Line, location.Column);
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (1)
217var args = new EnvironmentVariableReadEventArgs(
Instance\ProjectPropertyInstance.cs (2)
104EnvironmentVariableReadEventArgs args = new(Name, _escapedValue, string.Empty, 0, 0); 118EnvironmentVariableReadEventArgs args = new(Name, _escapedValue, location.File, location.Line, location.Column);
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
1145BuildEventArgs e = new EnvironmentVariableReadEventArgs(
LogMessagePacketBase.cs (1)
662LoggingEventType.EnvironmentVariableReadEvent => new EnvironmentVariableReadEventArgs(),
Microsoft.Build.Engine.UnitTests (3)
BackEnd\NodePackets_Tests.cs (2)
78EnvironmentVariableReadEventArgs environmentVariableRead = new("env", "message", "file", 0, 0); 262new EnvironmentVariableReadEventArgs("env", "message", "file", 0, 0) { BuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6) },
BuildEventArgsSerialization_Tests.cs (1)
265EnvironmentVariableReadEventArgs args = new("VarName", "VarValue", "file", 10, 20);
MSBuild (1)
LogMessagePacketBase.cs (1)
662LoggingEventType.EnvironmentVariableReadEvent => new EnvironmentVariableReadEventArgs(),
31 references to EnvironmentVariableReadEventArgs
Microsoft.Build (19)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (3)
34{ typeof(EnvironmentVariableReadEventArgs), (BuildEventArgs e) => HandleEnvironmentVariableReadEvent((EnvironmentVariableReadEventArgs)e) }, 138private void HandleEnvironmentVariableReadEvent(EnvironmentVariableReadEventArgs eventArgs)
BuildCheck\Infrastructure\BuildCheckForwardingLogger.cs (1)
34typeof(EnvironmentVariableReadEventArgs),
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
427public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 429if (projectEvaluationEventArgs is EnvironmentVariableReadEventArgs evr)
BuildCheck\Infrastructure\IBuildCheckManager.cs (1)
42EnvironmentVariableReadEventArgs envVariableReadEventArgs);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (1)
93public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
Definition\ProjectProperty.cs (2)
108EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, string.Empty, 0, 0); 127EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, location.File, location.Line, location.Column);
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (1)
217var args = new EnvironmentVariableReadEventArgs(
Instance\ProjectPropertyInstance.cs (2)
104EnvironmentVariableReadEventArgs args = new(Name, _escapedValue, string.Empty, 0, 0); 118EnvironmentVariableReadEventArgs args = new(Name, _escapedValue, location.File, location.Line, location.Column);
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
515case EnvironmentVariableReadEventArgs environmentVariableRead: return Write(environmentVariableRead); 594private BinaryLogRecordKind Write(EnvironmentVariableReadEventArgs e)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1250if (e is EnvironmentVariableReadEventArgs environmentPropertyReadEventArgs)
Logging\SerialConsoleLogger.cs (1)
520string nonNullMessage = e is EnvironmentVariableReadEventArgs environmentDerivedProperty
LogMessagePacketBase.cs (2)
139/// Event is an <see cref="EnvironmentVariableReadEventArgs"/>. 800else if (eventType == typeof(EnvironmentVariableReadEventArgs))
Microsoft.Build.Engine.UnitTests (11)
BackEnd\NodePackets_Tests.cs (1)
78EnvironmentVariableReadEventArgs environmentVariableRead = new("env", "message", "file", 0, 0);
BuildEventArgsSerialization_Tests.cs (1)
265EnvironmentVariableReadEventArgs args = new("VarName", "VarValue", "file", 10, 20);
Evaluation\Evaluator_Tests.cs (9)
4720.OfType<EnvironmentVariableReadEventArgs>() 4752.OfType<EnvironmentVariableReadEventArgs>() 4783.OfType<EnvironmentVariableReadEventArgs>() 4815.OfType<EnvironmentVariableReadEventArgs>() 4867.OfType<EnvironmentVariableReadEventArgs>() 4872.OfType<EnvironmentVariableReadEventArgs>() 4901.OfType<EnvironmentVariableReadEventArgs>() 4932.OfType<EnvironmentVariableReadEventArgs>() 4937.OfType<EnvironmentVariableReadEventArgs>()
MSBuild (1)
LogMessagePacketBase.cs (1)
800else if (eventType == typeof(EnvironmentVariableReadEventArgs))