10 writes to ExceptionType
Microsoft.Build.Framework (1)
Telemetry\CrashTelemetry.cs (1)
397
ExceptionType
= exception.GetType().FullName;
Microsoft.Build.Framework.UnitTests (9)
CrashTelemetry_Tests.cs (9)
107
ExceptionType
= "System.InvalidOperationException",
139
ExceptionType
= "System.Exception",
159
ExceptionType
= "System.InvalidOperationException",
320
ExceptionType
= "System.TypeInitializationException",
344
ExceptionType
= "System.OutOfMemoryException",
572
ExceptionType
= "Microsoft.Build.Framework.InternalErrorException",
589
ExceptionType
= "System.NullReferenceException",
604
ExceptionType
= "Microsoft.Build.Framework.InternalErrorException",
665
ExceptionType
= "System.Exception",
9 references to ExceptionType
Microsoft.Build.Framework (3)
Telemetry\CrashTelemetry.cs (2)
495
AddIfNotNull(
ExceptionType
);
565
AddIfNotNull(
ExceptionType
);
Telemetry\CrashTelemetryRecorder.cs (1)
156
string description = $"{crashTelemetry.ExitType}: {crashTelemetry.
ExceptionType
}";
Microsoft.Build.Framework.UnitTests (6)
CrashTelemetry_Tests.cs (6)
33
telemetry.
ExceptionType
.ShouldBe("System.InvalidOperationException");
55
telemetry.
ExceptionType
.ShouldBe("System.IO.FileNotFoundException");
121
props[nameof(CrashTelemetry.
ExceptionType
)].ShouldBe("System.InvalidOperationException");
144
props.ShouldContainKey(nameof(CrashTelemetry.
ExceptionType
));
172
props[nameof(CrashTelemetry.
ExceptionType
)].ShouldBe("System.InvalidOperationException");
209
telemetry.
ExceptionType
.ShouldBe("System.TypeInitializationException");