Skip to content

Handle override, virtual and abstract property modifiers #181

Handle override, virtual and abstract property modifiers

Handle override, virtual and abstract property modifiers #181

Triggered via pull request December 25, 2024 20:09
Status Success
Total duration 2m 18s
Artifacts

build.yml

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

Annotations

31 warnings
Build macos-latest: ReactiveGenerator/ReactiveGenerator.cs#L293
Argument of type 'Dictionary<ISymbol?, List<ReactiveGenerator.PropertyInfo>>' cannot be used for parameter 'propertyGroups' of type 'Dictionary<ISymbol, List<ReactiveGenerator.PropertyInfo>>' in 'bool ReactiveGenerator.HasAnyReactiveProperties(INamedTypeSymbol type, Dictionary<ISymbol, List<PropertyInfo>> propertyGroups)' due to differences in the nullability of reference types.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L170
Cannot convert null literal to non-nullable reference type.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L192
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L37
Possible null reference argument for parameter 'document' in 'Task<ImmutableArray<Diagnostic>> FixAllContext.GetDocumentDiagnosticsAsync(Document document)'.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L348
Cannot convert null literal to non-nullable reference type.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L370
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L465
'DiagnosticAnalyzerExtensions.WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions?, CancellationToken)' is obsolete: 'Use WithAnalyzers overload without a cancellation token'
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L559
The type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' cannot be used as type parameter 'TNode' in the generic type or method 'SyntaxFactory.List<TNode>(IEnumerable<TNode>)'. Nullability of type argument 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L559
Argument of type 'SyntaxList<MemberDeclarationSyntax?>' cannot be used for parameter 'members' of type 'SyntaxList<MemberDeclarationSyntax>' in 'ClassDeclarationSyntax ClassDeclarationSyntax.WithMembers(SyntaxList<MemberDeclarationSyntax> members)' due to differences in the nullability of reference types.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L561
The type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' cannot be used as type parameter 'TNode' in the generic type or method 'SyntaxFactory.List<TNode>(IEnumerable<TNode>)'. Nullability of type argument 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.
Build ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build ubuntu-latest: ReactiveGenerator/ReactiveGenerator.cs#L293
Argument of type 'Dictionary<ISymbol?, List<ReactiveGenerator.PropertyInfo>>' cannot be used for parameter 'propertyGroups' of type 'Dictionary<ISymbol, List<ReactiveGenerator.PropertyInfo>>' in 'bool ReactiveGenerator.HasAnyReactiveProperties(INamedTypeSymbol type, Dictionary<ISymbol, List<PropertyInfo>> propertyGroups)' due to differences in the nullability of reference types.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L37
Possible null reference argument for parameter 'document' in 'Task<ImmutableArray<Diagnostic>> FixAllContext.GetDocumentDiagnosticsAsync(Document document)'.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L170
Cannot convert null literal to non-nullable reference type.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L192
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L348
Cannot convert null literal to non-nullable reference type.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L370
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L465
'DiagnosticAnalyzerExtensions.WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions?, CancellationToken)' is obsolete: 'Use WithAnalyzers overload without a cancellation token'
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L559
The type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' cannot be used as type parameter 'TNode' in the generic type or method 'SyntaxFactory.List<TNode>(IEnumerable<TNode>)'. Nullability of type argument 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L559
Argument of type 'SyntaxList<MemberDeclarationSyntax?>' cannot be used for parameter 'members' of type 'SyntaxList<MemberDeclarationSyntax>' in 'ClassDeclarationSyntax ClassDeclarationSyntax.WithMembers(SyntaxList<MemberDeclarationSyntax> members)' due to differences in the nullability of reference types.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L561
The type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' cannot be used as type parameter 'TNode' in the generic type or method 'SyntaxFactory.List<TNode>(IEnumerable<TNode>)'. Nullability of type argument 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L37
Possible null reference argument for parameter 'document' in 'Task<ImmutableArray<Diagnostic>> FixAllContext.GetDocumentDiagnosticsAsync(Document document)'.
Build windows-latest: ReactiveGenerator/ReactiveGenerator.cs#L293
Argument of type 'Dictionary<ISymbol?, List<ReactiveGenerator.PropertyInfo>>' cannot be used for parameter 'propertyGroups' of type 'Dictionary<ISymbol, List<ReactiveGenerator.PropertyInfo>>' in 'bool ReactiveGenerator.HasAnyReactiveProperties(INamedTypeSymbol type, Dictionary<ISymbol, List<PropertyInfo>> propertyGroups)' due to differences in the nullability of reference types.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L170
Cannot convert null literal to non-nullable reference type.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L192
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L348
Cannot convert null literal to non-nullable reference type.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L370
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L465
'DiagnosticAnalyzerExtensions.WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions?, CancellationToken)' is obsolete: 'Use WithAnalyzers overload without a cancellation token'
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L559
The type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' cannot be used as type parameter 'TNode' in the generic type or method 'SyntaxFactory.List<TNode>(IEnumerable<TNode>)'. Nullability of type argument 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L559
Argument of type 'SyntaxList<MemberDeclarationSyntax?>' cannot be used for parameter 'members' of type 'SyntaxList<MemberDeclarationSyntax>' in 'ClassDeclarationSyntax ClassDeclarationSyntax.WithMembers(SyntaxList<MemberDeclarationSyntax> members)' due to differences in the nullability of reference types.
Build windows-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L561
The type 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' cannot be used as type parameter 'TNode' in the generic type or method 'SyntaxFactory.List<TNode>(IEnumerable<TNode>)'. Nullability of type argument 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.