14 writes to IsValid
Microsoft.Build (14)
BackEnd\Components\Logging\EvaluationLoggingContext.cs (2)
25
IsValid
= true;
46
IsValid
= false;
BackEnd\Components\Logging\NodeLoggingContext.cs (2)
34
this.
IsValid
= true;
57
this.
IsValid
= false;
BackEnd\Components\Logging\ProjectLoggingContext.cs (3)
113
this.
IsValid
= true;
152
this.
IsValid
= true;
273
this.
IsValid
= false;
BackEnd\Components\Logging\TargetLoggingContext.cs (3)
38
this.
IsValid
= true;
58
this.
IsValid
= true;
101
this.
IsValid
= false;
BackEnd\Components\Logging\TaskLoggingContext.cs (3)
43
this.
IsValid
= true;
90
this.
IsValid
= true;
139
this.
IsValid
= false;
Instance\ProjectInstance.cs (1)
3562
: base(loggingService, eventContext) =>
IsValid
= true;
15 references to IsValid
Microsoft.Build (15)
BackEnd\Components\Logging\EvaluationLoggingContext.cs (1)
44
Assumed.True(
IsValid
, "invalid");
BackEnd\Components\Logging\NodeLoggingContext.cs (3)
49
Assumed.True(this.
IsValid
, "Build not started.");
74
Assumed.True(this.
IsValid
, "Build not started.");
86
Assumed.True(this.
IsValid
, "Build not started.");
BackEnd\Components\Logging\ProjectLoggingContext.cs (2)
271
Assumed.True(this.
IsValid
, "invalid");
281
Assumed.True(this.
IsValid
, "invalid");
BackEnd\Components\Logging\TaskLoggingContext.cs (1)
131
Assumed.True(this.
IsValid
, "invalid");
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
846
if (LoggingContext.
IsValid
)
884
if (LoggingContext.
IsValid
)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
727
catch (InternalErrorException) when (!_taskLoggingContext.
IsValid
)
1764
catch (InternalErrorException) when (!_taskLoggingContext.
IsValid
)
Definition\ProjectProperty.cs (2)
106
if (this is EnvironmentDerivedProjectProperty environmentProperty && environmentProperty.loggingContext is {
IsValid
: true } loggingContext && !environmentProperty._loggedEnvProperty && !Traits.LogAllEnvironmentVariables)
125
if (this is EnvironmentDerivedProjectProperty environmentProperty && environmentProperty.loggingContext is {
IsValid
: true } loggingContext && !environmentProperty._loggedEnvProperty && !Traits.LogAllEnvironmentVariables)
Instance\ProjectPropertyInstance.cs (2)
102
if (this is EnvironmentDerivedProjectPropertyInstance envProperty && envProperty.loggingContext?.
IsValid
== true && !envProperty._loggedEnvProperty && !Traits.LogAllEnvironmentVariables)
116
if (this is EnvironmentDerivedProjectPropertyInstance envProperty && envProperty.loggingContext?.
IsValid
== true && !envProperty._loggedEnvProperty && !Traits.LogAllEnvironmentVariables)