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