7 writes to PartialBuildTelemetry
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
513
KnownTelemetry.
PartialBuildTelemetry
= null;
BackEnd\Node\OutOfProcServerNode.cs (1)
381
BuildTelemetry buildTelemetry = KnownTelemetry.
PartialBuildTelemetry
??= new BuildTelemetry();
Microsoft.Build.Engine.UnitTests (3)
BackEnd\KnownTelemetry_Tests.cs (3)
18
KnownTelemetry.
PartialBuildTelemetry
= new BuildTelemetry();
19
KnownTelemetry.
PartialBuildTelemetry
= null;
28
KnownTelemetry.
PartialBuildTelemetry
= buildTelemetry;
MSBuild (2)
XMake.cs (2)
250
KnownTelemetry.
PartialBuildTelemetry
= new BuildTelemetry { StartAt = DateTime.UtcNow };
656
KnownTelemetry.
PartialBuildTelemetry
??= new BuildTelemetry { StartAt = DateTime.UtcNow };
17 references to PartialBuildTelemetry
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (1)
510
_buildTelemetry = KnownTelemetry.
PartialBuildTelemetry
;
BackEnd\Client\MSBuildClient.cs (8)
177
if (KnownTelemetry.
PartialBuildTelemetry
!= null)
179
KnownTelemetry.
PartialBuildTelemetry
.InitialServerState = serverIsAlreadyRunning ? "hot" : "cold";
518
Debug.Assert(KnownTelemetry.
PartialBuildTelemetry
== null || KnownTelemetry.
PartialBuildTelemetry
.StartAt.HasValue, "BuildTelemetry.StartAt was not initialized!");
520
PartialBuildTelemetry? partialBuildTelemetry = KnownTelemetry.
PartialBuildTelemetry
== null
523
startedAt: KnownTelemetry.
PartialBuildTelemetry
.StartAt.GetValueOrDefault(),
524
initialServerState: KnownTelemetry.
PartialBuildTelemetry
.InitialServerState,
525
serverFallbackReason: KnownTelemetry.
PartialBuildTelemetry
.ServerFallbackReason);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\KnownTelemetry_Tests.cs (2)
21
KnownTelemetry.
PartialBuildTelemetry
.ShouldBeNull();
30
KnownTelemetry.
PartialBuildTelemetry
.ShouldBeSameAs(buildTelemetry);
MSBuild (6)
MSBuildClientApp.cs (2)
81
if (KnownTelemetry.
PartialBuildTelemetry
!= null)
83
KnownTelemetry.
PartialBuildTelemetry
.ServerFallbackReason = exitResult.MSBuildClientExitType.ToString();
XMake.cs (4)
334
if (KnownTelemetry.
PartialBuildTelemetry
!= null)
336
KnownTelemetry.
PartialBuildTelemetry
.ServerFallbackReason = "Arguments";
343
if (KnownTelemetry.
PartialBuildTelemetry
!= null)
345
KnownTelemetry.
PartialBuildTelemetry
.ServerFallbackReason = "ErrorParsingCommandLine";