3 writes to ErrorCounts
Microsoft.Build (1)
BackEnd\Components\Logging\BuildErrorTelemetryTracker.cs (1)
87
buildTelemetry.
ErrorCounts
= new ErrorCountsInfo(
Microsoft.Build.Engine.UnitTests (2)
BackEnd\KnownTelemetry_Tests.cs (2)
137
buildTelemetry.
ErrorCounts
= new ErrorCountsInfo(
182
buildTelemetry.
ErrorCounts
= new ErrorCountsInfo(
19 references to ErrorCounts
Microsoft.Build.Engine.UnitTests (16)
BackEnd\BuildTelemetryErrorCategorization_Tests.cs (16)
68
buildTelemetry.
ErrorCounts
.Compiler.ShouldBe(1);
71
buildTelemetry.
ErrorCounts
.MsBuildGeneral.ShouldBe(1);
74
buildTelemetry.
ErrorCounts
.Task.ShouldBe(1);
77
buildTelemetry.
ErrorCounts
.SdkResolvers.ShouldBe(1);
80
buildTelemetry.
ErrorCounts
.NetSdk.ShouldBe(1);
83
buildTelemetry.
ErrorCounts
.NuGet.ShouldBe(1);
86
buildTelemetry.
ErrorCounts
.BuildCheck.ShouldBe(1);
89
buildTelemetry.
ErrorCounts
.Other.ShouldBe(1);
128
buildTelemetry.
ErrorCounts
.Compiler.ShouldBe(2);
129
buildTelemetry.
ErrorCounts
.MsBuildGeneral.ShouldBe(1);
130
buildTelemetry.
ErrorCounts
.Task.ShouldBe(1);
131
buildTelemetry.
ErrorCounts
.NuGet.ShouldBe(1);
132
buildTelemetry.
ErrorCounts
.Other.ShouldBe(1);
171
buildTelemetry.
ErrorCounts
.Task.ShouldBe(3);
172
buildTelemetry.
ErrorCounts
.Compiler.ShouldBe(1);
209
buildTelemetry.
ErrorCounts
.Compiler.ShouldBe(1);
Microsoft.Build.Framework (3)
Telemetry\BuildTelemetry.cs (3)
180
AddIfNotNull(
ErrorCounts
);
211
AddIfNotNull(
ErrorCounts
?.ToString(), nameof(
ErrorCounts
));