Skip to content

feat: add string length range assertions #15675

feat: add string length range assertions

feat: add string length range assertions #15675

Triggered via pull request February 19, 2026 07:46
Status Failure
Total duration 11m 40s
Artifacts

dotnet.yml

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

Annotations

27 errors and 39 warnings
modularpipeline (macos-latest)
Process completed with exit code 1.
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest)
Process completed with exit code 1.
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (ubuntu-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest)
Process completed with exit code 1.
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (windows-latest): TUnit.Analyzers/TimeoutCancellationTokenAnalyzer.cs#L73
The name 'lastParameter' does not exist in the current context
modularpipeline (macos-latest)
No files were found with the provided path: **/*.*nupkg. No artifacts will be uploaded.
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/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.RpcTests/Tests.cs#L237
'CollectionAssertionBase<IList<TestNodeUpdate>, TestNodeUpdate>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.RpcTests/Tests.cs#L231
'CollectionAssertionBase<IList<TestNodeUpdate>, TestNodeUpdate>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.RpcTests/Tests.cs#L230
'CollectionAssertionBase<IList<TestNodeUpdate>, TestNodeUpdate>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-latest): TUnit.RpcTests/Tests.cs#L185
'CollectionAssertionBase<IList<TestNodeUpdate>, TestNodeUpdate>.HasCount()' is obsolete: 'Use Count() instead, which provides all numeric assertion methods. Example: Assert.That(list).Count().IsGreaterThan(5)'
modularpipeline (macos-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 (macos-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: **/*.*nupkg. No artifacts will be uploaded.
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/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.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)
No files were found with the provided path: **/*.*nupkg. No artifacts will be uploaded.
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)