Skip to content

feat: add exception property assertions #15697

feat: add exception property assertions

feat: add exception property assertions #15697

Triggered via pull request February 19, 2026 08:05
Status Failure
Total duration 44m 59s
Artifacts 3

dotnet.yml

on: pull_request
Matrix: modularpipeline
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 66 warnings
modularpipeline (windows-latest)
Process completed with exit code 1.
modularpipeline (ubuntu-latest)
Process completed with exit code 1.
modularpipeline (macos-latest)
Process completed with exit code 1.
modularpipeline (windows-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (windows-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L43
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Assertion Usage Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L52
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L43
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Test Method and Structure Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
modularpipeline (windows-latest): TUnit.Assertions.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Assertion Usage Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L43
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L52
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L52
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L43
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (ubuntu-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (macos-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L43
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L52
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L52
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L43
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
modularpipeline (macos-latest): TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.

Artifacts

Produced during runtime
Name Size Digest
NuGetPackages-macos-latest Expired
5.52 KB
sha256:0af514459334247e32bb8c7a48e99d6c73dda9be736f0e805f0cd542ca11f712
NuGetPackages-ubuntu-latest Expired
5.52 KB
sha256:d544e04e87f3ba0cdb787c2b741d228d0ecbb422c78b3d20e8f962debbcba4d8
NuGetPackages-windows-latest Expired
5.52 KB
sha256:f2cf9432ca8ca4f3cb194e69d1a1854d065799830c0315a19665921f7207066a