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