Skip to content

取消NetCorePal.Attributes包,暂时不考虑提供Attributes相关能力 #209

取消NetCorePal.Attributes包,暂时不考虑提供Attributes相关能力

取消NetCorePal.Attributes包,暂时不考虑提供Attributes相关能力 #209

Triggered via push October 28, 2023 04:05
Status Success
Total duration 8m 24s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
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/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/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/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/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/Snowflake.Consul/ConsulWorkerIdGenerator.cs#L75
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
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/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/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/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/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/Snowflake.Consul/ConsulWorkerIdGenerator.cs#L87
Remove the unused local variable 'renewResult'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
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/DistributedTransactions.CAP/Sagas/SagaHostedService.cs#L9
Remove this unread private field '_sagaRepository' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
build: src/DistributedTransactions.CAP/Sagas/SagaHostedService.cs#L10
Remove this unread private field '_sagaManager' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
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/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/Snowflake.Consul/ConsulWorkerIdGenerator.cs#L75
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
build: src/Snowflake.Consul/ConsulWorkerIdGenerator.cs#L87
Remove the unused local variable 'renewResult'. (https://rules.sonarsource.com/csharp/RSPEC-1481)