Skip to content

Replace calls to .Any() with .Count is not 0. #49

Replace calls to .Any() with .Count is not 0.

Replace calls to .Any() with .Count is not 0. #49

Triggered via pull request February 23, 2024 17:18
Status Failure
Total duration 46s
Artifacts

dotnetcore.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 12 warnings
build: tests/VisualBasicIncrementalGeneratorTest.cs#L7
'VisualBasicIncrementalGeneratorTest<TSourceGenerator, TVerifier>.GetSourceGenerators()': return type must be 'IEnumerable<Type>' to match overridden member 'SourceGeneratorTest<TVerifier>.GetSourceGenerators()'
build: tests/VisualBasicIncrementalGeneratorTest.cs#L15
'VisualBasicIncrementalGeneratorTest<TSourceGenerator, TVerifier>.CreateGeneratorDriver(Project, ImmutableArray<ISourceGenerator>)': no suitable method found to override
build: tests/CSharpIncrementalGeneratorTest.cs#L7
'CSharpIncrementalGeneratorTest<TSourceGenerator, TVerifier>.GetSourceGenerators()': return type must be 'IEnumerable<Type>' to match overridden member 'SourceGeneratorTest<TVerifier>.GetSourceGenerators()'
build: tests/CSharpIncrementalGeneratorTest.cs#L15
'CSharpIncrementalGeneratorTest<TSourceGenerator, TVerifier>.CreateGeneratorDriver(Project, ImmutableArray<ISourceGenerator>)': no suitable method found to override
build: tests/VisualBasicIncrementalGeneratorTest.cs#L7
'VisualBasicIncrementalGeneratorTest<TSourceGenerator, TVerifier>.GetSourceGenerators()': return type must be 'IEnumerable<Type>' to match overridden member 'SourceGeneratorTest<TVerifier>.GetSourceGenerators()'
build: tests/VisualBasicIncrementalGeneratorTest.cs#L15
'VisualBasicIncrementalGeneratorTest<TSourceGenerator, TVerifier>.CreateGeneratorDriver(Project, ImmutableArray<ISourceGenerator>)': no suitable method found to override
build: tests/CSharpIncrementalGeneratorTest.cs#L7
'CSharpIncrementalGeneratorTest<TSourceGenerator, TVerifier>.GetSourceGenerators()': return type must be 'IEnumerable<Type>' to match overridden member 'SourceGeneratorTest<TVerifier>.GetSourceGenerators()'
build: tests/CSharpIncrementalGeneratorTest.cs#L15
'CSharpIncrementalGeneratorTest<TSourceGenerator, TVerifier>.CreateGeneratorDriver(Project, ImmutableArray<ISourceGenerator>)': no suitable method found to override
build
😭 build failed
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Elskom/build-dotnet@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build: src/IDisposableGenerator/ClassItems.cs#L1
Convert to block scoped namespace (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0160)
build: src/IDisposableGenerator/DisposableCodeWriter.cs#L1
Convert to block scoped namespace (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0160)
build: src/IDisposableGenerator/SemanticHelper.cs#L1
Convert to block scoped namespace (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0160)
build: src/IDisposableGenerator/WorkItem.cs#L1
Convert to block scoped namespace (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0160)
build: src/IDisposableGenerator/WorkItemCollection.cs#L1
Convert to block scoped namespace (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0160)
build: src/IDisposableGenerator/ClassItems.cs#L39
Use block body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
build: src/IDisposableGenerator/SemanticHelper.cs#L7
Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
build: src/IDisposableGenerator/ClassItems.cs#L45
Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
build: src/IDisposableGenerator/DisposableCodeWriter.cs#L13
Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
build: src/IDisposableGenerator/DisposableCodeWriter.cs#L18
Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)