Data Localization #16341
Annotations
10 errors
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L177
'CultureDictionaryRecordKey' does not contain a constructor that takes 1 arguments
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L30
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L186
The logging message template should not vary between calls to 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2254)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L94
Change return type of method 'GetAllStringsFromCultureHierarchy' from 'System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString>' to 'System.Collections.Generic.List<Microsoft.Extensions.Localization.LocalizedString>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/NullDataTranslationProvider.cs#L3
Type 'NullDataTranslationProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L177
'CultureDictionaryRecordKey' does not contain a constructor that takes 1 arguments
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L30
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L186
The logging message template should not vary between calls to 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2254)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/DataLocalizer.cs#L94
Change return type of method 'GetAllStringsFromCultureHierarchy' from 'System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString>' to 'System.Collections.Generic.List<Microsoft.Extensions.Localization.LocalizedString>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
Build:
src/OrchardCore/OrchardCore.Localization.Core/Data/NullDataTranslationProvider.cs#L3
Type 'NullDataTranslationProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
Loading