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