8 references to IsReflectionEnabledByDefault
Microsoft.AspNetCore.Http.Extensions (1)
JsonOptions.cs (1)
27
TypeInfoResolver = JsonSerializer.
IsReflectionEnabledByDefault
? CreateDefaultTypeResolver() : JsonTypeInfoResolver.Combine()
Microsoft.AspNetCore.Mvc.Core (1)
JsonOptions.cs (1)
45
TypeInfoResolver = JsonSerializer.
IsReflectionEnabledByDefault
? CreateDefaultTypeResolver() : JsonTypeInfoResolver.Combine()
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
287
if (JsonSerializer.
IsReflectionEnabledByDefault
)
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Defaults.cs (1)
28
if (JsonSerializer.
IsReflectionEnabledByDefault
)
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
48
if (JsonSerializer.
IsReflectionEnabledByDefault
)
System\Text\Json\Serialization\JsonSerializerOptions.cs (3)
894
/// The <see cref="JsonSerializer.
IsReflectionEnabledByDefault
"/> feature switch has been turned off.
928
if (JsonSerializer.
IsReflectionEnabledByDefault
)
1134
TypeInfoResolver = JsonSerializer.
IsReflectionEnabledByDefault