Skip to content

feat(mocks): discriminate generic-method mocks by type argument #18146

feat(mocks): discriminate generic-method mocks by type argument

feat(mocks): discriminate generic-method mocks by type argument #18146

Triggered via pull request June 2, 2026 20:04
Status Cancelled
Total duration 12m 9s
Artifacts

dotnet.yml

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

Annotations

7 errors, 59 warnings, and 1 notice
modularpipeline (ubuntu-latest)
Canceling since a higher priority waiting request for .NET-feature/mock-generic-method-typeargs exists
modularpipeline (ubuntu-latest)
The operation was canceled.
modularpipeline (windows-latest)
Canceling since a higher priority waiting request for .NET-feature/mock-generic-method-typeargs exists
modularpipeline (windows-latest)
The operation was canceled.
modularpipeline (macos-latest)
Canceling since a higher priority waiting request for .NET-feature/mock-generic-method-typeargs exists
modularpipeline (macos-latest)
The operation was canceled.
.NET
Canceling since a higher priority waiting request for .NET-feature/mock-generic-method-typeargs exists
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.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L211
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
modularpipeline (ubuntu-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 (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.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): TUnit.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L211
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
modularpipeline (ubuntu-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L1097
Possible null reference argument for parameter 'text' in 'TypeSyntax SyntaxFactory.ParseTypeName(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
modularpipeline (ubuntu-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L641
Possible null reference argument for parameter 'text' in 'AttributeArgumentListSyntax? SyntaxFactory.ParseAttributeArgumentList(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
modularpipeline (ubuntu-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L495
Possible null reference argument for parameter 'text' in 'TypeSyntax SyntaxFactory.ParseTypeName(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
modularpipeline (ubuntu-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L415
Possible null reference argument for parameter 'text' in 'SyntaxTrivia SyntaxFactory.Comment(string text)'.
modularpipeline (ubuntu-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)
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.Analyzers.CodeFixers/NUnitExpectedResultRewriter.cs#L180
Possible null reference argument for parameter 'actualExpression' in 'ExpressionStatementSyntax NUnitExpectedResultRewriter.CreateAssertStatement(ExpressionSyntax actualExpression)'.
modularpipeline (windows-latest): TUnit.Analyzers.CodeFixers/NUnitExpectedResultRewriter.cs#L168
Converting null literal or possible null value to non-nullable type.
modularpipeline (windows-latest): TUnit.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L211
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
modularpipeline (windows-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L1097
Possible null reference argument for parameter 'text' in 'TypeSyntax SyntaxFactory.ParseTypeName(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
modularpipeline (windows-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L641
Possible null reference argument for parameter 'text' in 'AttributeArgumentListSyntax? SyntaxFactory.ParseAttributeArgumentList(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
modularpipeline (windows-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L495
Possible null reference argument for parameter 'text' in 'TypeSyntax SyntaxFactory.ParseTypeName(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true)'.
modularpipeline (windows-latest): TUnit.Analyzers.CodeFixers/Base/TwoPhase/MigrationTransformer.cs#L415
Possible null reference argument for parameter 'text' in 'SyntaxTrivia SyntaxFactory.Comment(string text)'.
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 (windows-latest): TUnit.Mocks.Analyzers/Rules.cs#L30
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)
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.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L211
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
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 (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.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 (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.Mocks.Analyzers/Rules.cs#L30
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)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026