Skip to content

Improve punctuation handling - handle empty messages and use index ac…

8307e33
Select commit
Loading
Failed to load commit list.
Draft

Improve IsExactInstanceOfType error message for NULL values #7418

Improve punctuation handling - handle empty messages and use index ac…
8307e33
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Linux Debug) failed Feb 16, 2026 in 3m 34s

Build Linux Debug failed

Annotations

Check failure on line 352 in src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux 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)

Check failure on line 352 in src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux 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)

Check failure on line 352 in src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux 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)

Check failure on line 348 in src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs#L348

src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs(348,62): error CS0518: (NETCORE_ENGINEERING_TELEMETRY=Build) Predefined type 'System.Index' is not defined or imported

Check failure on line 348 in src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs#L348

src/TestFramework/TestFramework/Assertions/Assert.IsExactInstanceOfType.cs(348,62): error CS0656: (NETCORE_ENGINEERING_TELEMETRY=Build) Missing compiler required member 'System.Index..ctor'