Improve IsExactInstanceOfType error message for NULL values #7418
+21
−4
Azure Pipelines / microsoft.testfx (Build Linux Release)
failed
Feb 16, 2026 in 3m 25s
Build Linux Release failed
Annotations
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Linux Release)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: /mnt/vss/_work/1/s/artifacts/packages/Release/Shipping
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Linux Release)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: /mnt/vss/_work/1/a/binlogs
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Linux Release)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: /mnt/vss/_work/1/s/artifacts/TestResults/Release
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Linux Release)
Build log #L9
Error: Not found SourceFolder: /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite
azure-pipelines / microsoft.testfx (Build Linux Release)
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