13 references to MakeReadOnly
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
21options.MakeReadOnly();
Microsoft.AspNetCore.Http.Extensions.Tests (1)
ProblemDetailsServiceCollectionExtensionsTest.cs (1)
115options.SerializerOptions.MakeReadOnly();
Microsoft.AspNetCore.Http.Results (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
21options.MakeReadOnly();
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\SystemTextJsonOutputFormatter.cs (1)
26jsonSerializerOptions.MakeReadOnly();
src\Shared\Json\JsonSerializerExtensions.cs (1)
21options.MakeReadOnly();
Microsoft.AspNetCore.Routing (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
21options.MakeReadOnly();
System.Text.Json (7)
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
40options.MakeReadOnly();
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
390options.MakeReadOnly();
System\Text\Json\Serialization\JsonSerializerContext.cs (2)
32options.MakeReadOnly(); 44options.MakeReadOnly();
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
865/// or a user explicitly called the <see cref="MakeReadOnly()"/> methods on the instance. 915MakeReadOnly();
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
705Options.MakeReadOnly();