10 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)
Microsoft.Extensions.AI.AzureAIInference (1)
JsonContext.cs (1)
53if (JsonSerializer.IsReflectionEnabledByDefault)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
702if (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