Update LocalizationBuilderExtensions.cs #12
Annotations
1 error and 11 warnings
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: microsoft/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build:
src/Lepo.i18n/IO/EmbeddedResourceReader.cs#L25
Converting null literal or possible null value to non-nullable type.
|
Build:
src/Lepo.i18n/IO/EmbeddedResourceReader.cs#L30
Possible null reference argument for parameter 'oldValue' in 'string string.Replace(string oldValue, string? newValue, StringComparison comparisonType)'.
|
Build:
src/Lepo.i18n/IO/EmbeddedResourceReader.cs#L25
Converting null literal or possible null value to non-nullable type.
|
Build:
src/Lepo.i18n/IO/EmbeddedResourceReader.cs#L30
Possible null reference argument for parameter 'oldValue' in 'string string.Replace(string oldValue, string? newValue, StringComparison comparisonType)'.
|
Build:
src/Lepo.i18n.Json/LocalizationBuilderExtensions.cs#L75
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
Build:
src/Lepo.i18n.Json/Converters/TranslationsContainerConverter.cs#L43
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
Build:
src/Lepo.i18n.Json/LocalizationBuilderExtensions.cs#L87
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
Build:
src/Lepo.i18n.Json/Converters/TranslationsContainerConverter.cs#L43
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Build:
src/Lepo.i18n.Json/LocalizationBuilderExtensions.cs#L75
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Build:
src/Lepo.i18n.Json/LocalizationBuilderExtensions.cs#L87
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
The logs for this run have expired and are no longer available.
Loading