Skip to content

fix:项目中出现同名但不同命名空间的强类型id时,源生成器出错 #14

fix:项目中出现同名但不同命名空间的强类型id时,源生成器出错

fix:项目中出现同名但不同命名空间的强类型id时,源生成器出错 #14

Triggered via push December 26, 2023 05:26
Status Failure
Total duration 1m 35s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build
Partial declarations of 'OrderId222ValueConverter' must not specify different base classes
build
Type 'OrderId222ValueConverter' already defines a member called 'OrderId222ValueConverter' with the same parameter types
build
Partial declarations of 'OrderId222ValueConverter' must not specify different base classes
build
Type 'OrderId222ValueConverter' already defines a member called 'OrderId222ValueConverter' with the same parameter types
build
Partial declarations of 'OrderId222ValueConverter' must not specify different base classes
build
Type 'OrderId222ValueConverter' already defines a member called 'OrderId222ValueConverter' with the same parameter types
build
Partial declarations of 'OrderId222ValueConverter' must not specify different base classes
build
Type 'OrderId222ValueConverter' already defines a member called 'OrderId222ValueConverter' with the same parameter types
build
Partial declarations of 'OrderId222ValueConverter' must not specify different base classes
build
Type 'OrderId222ValueConverter' already defines a member called 'OrderId222ValueConverter' with the same parameter types
build: src/Snowflake/WorkerIdConflictException.cs#L9
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Snowflake/WorkerIdConflictException.cs#L9
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/Snowflake/WorkerIdConflictException.cs#L9
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build: src/AspNetCore/Json/NewtonsoftEntityIdJsonConverter.cs#L59
Make '_supportedTypes' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
build: src/AspNetCore/IRequestCancellationToken.cs#L21
The parameter name 'HttpContext' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
build: src/AspNetCore/Json/NewtonsoftEntityIdJsonConverter.cs#L69
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: src/Repository.EntityFrameworkCore/Extensions/ServiceCollectionExtensions.cs#L30
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
build: src/AspNetCore/Json/NewtonsoftEntityIdJsonConverter.cs#L59
Make '_supportedTypes' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
build: src/AspNetCore/Json/NewtonsoftEntityIdJsonConverter.cs#L69
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
build: src/AspNetCore/IRequestCancellationToken.cs#L21
The parameter name 'HttpContext' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)