Skip to content

Add ReactiveCommandGenerator #217

Add ReactiveCommandGenerator

Add ReactiveCommandGenerator #217

Triggered via pull request December 30, 2024 18:59
Status Failure
Total duration 56s
Artifacts

build.yml

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

Annotations

9 errors and 20 warnings
Build macos-latest
Process completed with exit code 1.
Build windows-latest
The job was canceled because "macos-latest" failed.
Build windows-latest
The operation was canceled.
Build ubuntu-latest
The job was canceled because "macos-latest" failed.
Build ubuntu-latest
The operation was canceled.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L169
Cannot convert null literal to non-nullable reference type.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L191
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L347
Cannot convert null literal to non-nullable reference type.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L369
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L464
'DiagnosticAnalyzerExtensions.WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions?, CancellationToken)' is obsolete: 'Use WithAnalyzers overload without a cancellation token'
Build macos-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L558
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#L558
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#L560
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#L560
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#L485
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build ubuntu-latest: ReactiveGenerator/ReactiveCommandGenerator.cs#L38
Dereference of a possibly null reference.
Build ubuntu-latest: ReactiveGenerator/ReactiveCommandGenerator.cs#L43
Converting null literal or possible null value to non-nullable type.
Build ubuntu-latest: ReactiveGenerator/ReactiveCommandGenerator.cs#L44
Possible null reference argument for parameter 'typeSymbol' in 'string ReactiveCommandGenerator.GeneratePartialForCommands(Compilation compilation, INamedTypeSymbol typeSymbol, List<IMethodSymbol> methods)'.
Build ubuntu-latest: ReactiveGenerator/ReactiveCommandGenerator.cs#L44
Argument of type 'List<IMethodSymbol?>' cannot be used for parameter 'methods' of type 'List<IMethodSymbol>' in 'string ReactiveCommandGenerator.GeneratePartialForCommands(Compilation compilation, INamedTypeSymbol typeSymbol, List<IMethodSymbol> methods)' due to differences in the nullability of reference types.
Build ubuntu-latest: ReactiveGenerator/ReactiveGenerator.cs#L197
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/ReactiveCommandGenerator.cs#L253
Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'.
Build ubuntu-latest: ReactiveGenerator/ReactiveCommandGenerator.cs#L375
Possible null reference return.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L169
Cannot convert null literal to non-nullable reference type.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L191
Possible null reference argument for parameter 'key' in 'bool Dictionary<ClassDeclarationSyntax, SyntaxNode>.TryGetValue(ClassDeclarationSyntax key, out SyntaxNode value)'.
Build ubuntu-latest: ReactiveGenerator/ReactivePropertyCodeFixProvider.cs#L347
Cannot convert null literal to non-nullable reference type.