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