Improve IsExactInstanceOfType error message for NULL values #7418
+21
−4
Azure Pipelines / microsoft.testfx (Build Windows Debug)
failed
Feb 16, 2026 in 7m 15s
Build Windows Debug failed
Annotations
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Windows Debug)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\a\binlogs
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Windows Debug)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\packages\Debug\Shipping
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Windows Debug)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\TestResults\Debug
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Windows Debug)
Build log #L9
Error: Not found SourceFolder: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite
azure-pipelines / microsoft.testfx (Build Windows Debug)
src\TestFramework\TestFramework\Assertions\Assert.IsExactInstanceOfType.cs#L352
src\TestFramework\TestFramework\Assertions\Assert.IsExactInstanceOfType.cs(352,18): error IDE0045: (NETCORE_ENGINEERING_TELEMETRY=Build) 'if' statement can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0045)
Loading