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