Skip to content

增加Builder功能 #20

增加Builder功能

增加Builder功能 #20

Triggered via push August 24, 2024 14:11
Status Failure
Total duration 35s
Artifacts

push_nuget.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
build: src/Generators.Shared/Extensions/MethodBuilderExtensions.cs#L76
'SyntaxFactory.SwitchStatement(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken, SyntaxList<SwitchSectionSyntax>, SyntaxToken)' is a method, which is not valid in the given context
build: src/Generators.Shared/Extensions/MethodBuilderExtensions.cs#L109
'SyntaxFactory.IfStatement(ExpressionSyntax, StatementSyntax, ElseClauseSyntax?)' is a method, which is not valid in the given context
build: src/Generators.Shared/Extensions/MethodBuilderExtensions.cs#L76
'SyntaxFactory.SwitchStatement(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken, SyntaxList<SwitchSectionSyntax>, SyntaxToken)' is a method, which is not valid in the given context
build: src/Generators.Shared/Extensions/MethodBuilderExtensions.cs#L109
'SyntaxFactory.IfStatement(ExpressionSyntax, StatementSyntax, ElseClauseSyntax?)' is a method, which is not valid in the given context
build
Process completed with exit code 1.
build: src/Generators.Shared/RoslynExtensions.cs#L183
The local function 'IsSystemType' is declared but never used
build: src/Generators.Shared/RoslynExtensions.cs#L183
The local function 'IsSystemType' is declared but never used
build: src/Generators.Shared/RoslynExtensions.cs#L183
The local function 'IsSystemType' is declared but never used
build: src/Generators.Shared/RoslynExtensions.cs#L183
The local function 'IsSystemType' is declared but never used
build: src/TestProject1/Models/User.cs#L29
Nullability of reference types in return type of 'string? Power.PowerId.get' doesn't match implicitly implemented member 'string? IPower.PowerId.get' (possibly because of nullability attributes).
build: src/TestProject1/Models/User.cs#L30
Nullability of reference types in return type of 'string? Power.PowerName.get' doesn't match implicitly implemented member 'string? IPower.PowerName.get' (possibly because of nullability attributes).
build: src/Blazor.Test/Blazor.Test.Client/Models/User.cs#L9
Non-nullable property 'Product' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Blazor.Test/Blazor.Test.Client/Models/User.cs#L10
Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Blazor.Test/Blazor.Test.Client/Models/User.cs#L56
Non-nullable property 'Product1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Blazor.Test/Blazor.Test.Client/Models/User.cs#L71
Non-nullable property 'Display' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.