Fix README style #163
Annotations
30 warnings
Run tests (macos-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L23
Member 'E5Renewer.Controllers.SimpleDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'E5Renewer.Controllers.IDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|
Run tests (macos-latest):
E5Renewer/WebApplicationExtends.cs#L63
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (macos-latest):
E5Renewer/WebApplicationExtends.cs#L63
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' 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.
|
Run tests (macos-latest):
E5Renewer/WebApplicationExtends.cs#L108
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (macos-latest):
E5Renewer/WebApplicationExtends.cs#L93
Using member 'E5Renewer.WebApplicationExtends.ToDictionary<K, V>(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Calls System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken).
|
Run tests (macos-latest):
E5Renewer/WebApplicationExtends.cs#L108
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' 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.
|
Run tests (macos-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L37
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, 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.
|
Run tests (macos-latest):
E5Renewer/Program.cs#L136
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (macos-latest):
E5Renewer/Program.cs#L41
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
|
Run tests (macos-latest):
E5Renewer/Program.cs#L42
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
|
Run tests (ubuntu-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L23
Member 'E5Renewer.Controllers.SimpleDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'E5Renewer.Controllers.IDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|
Run tests (ubuntu-latest):
E5Renewer/WebApplicationExtends.cs#L63
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (ubuntu-latest):
E5Renewer/WebApplicationExtends.cs#L63
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' 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.
|
Run tests (ubuntu-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L37
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, 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.
|
Run tests (ubuntu-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L62
Using member 'E5Renewer.Controllers.SimpleDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Calls JsonSerializer.Deserialize<T>(ReadOnlySpan<byte>).
|
Run tests (ubuntu-latest):
E5Renewer/IServiceCollectionExtends.cs#L55
Using member 'E5Renewer.AssemblyExtends.IterE5RenewerModules(Assembly)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Calls System.Reflection.Assembly.GetTypes().
|
Run tests (ubuntu-latest):
E5Renewer/WebApplicationExtends.cs#L117
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)' 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.
|
Run tests (ubuntu-latest):
E5Renewer/WebApplicationExtends.cs#L108
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (ubuntu-latest):
E5Renewer/WebApplicationExtends.cs#L93
Using member 'E5Renewer.WebApplicationExtends.ToDictionary<K, V>(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Calls System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken).
|
Run tests (ubuntu-latest):
E5Renewer/WebApplicationExtends.cs#L108
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' 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.
|
Run tests (windows-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L23
Member 'E5Renewer.Controllers.SimpleDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'E5Renewer.Controllers.IDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|
Run tests (windows-latest):
E5Renewer/WebApplicationExtends.cs#L63
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (windows-latest):
E5Renewer/WebApplicationExtends.cs#L63
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' 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.
|
Run tests (windows-latest):
E5Renewer/WebApplicationExtends.cs#L117
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)' 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.
|
Run tests (windows-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L37
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, 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.
|
Run tests (windows-latest):
E5Renewer/WebApplicationExtends.cs#L108
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|
Run tests (windows-latest):
E5Renewer/WebApplicationExtends.cs#L93
Using member 'E5Renewer.WebApplicationExtends.ToDictionary<K, V>(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Calls System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken).
|
Run tests (windows-latest):
E5Renewer/WebApplicationExtends.cs#L108
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' 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.
|
Run tests (windows-latest):
E5Renewer/Controllers/SimpleDummyResultGenerator.cs#L62
Using member 'E5Renewer.Controllers.SimpleDummyResultGenerator.GenerateDummyResultAsync(HttpContext)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Calls JsonSerializer.Deserialize<T>(ReadOnlySpan<byte>).
|
Run tests (windows-latest):
E5Renewer/Program.cs#L136
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and need runtime code generation. Use the overload that takes a JsonTypeInfo or JsonSerializerContext for native AOT applications.
|