99 references to MakeReadOnly
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
21
options.
MakeReadOnly
();
Microsoft.AspNetCore.Http.Results (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
21
options.
MakeReadOnly
();
Microsoft.AspNetCore.Identity (10)
GeneratedRouteBuilderExtensions.g.cs (10)
93
jsonSerializerOptions.
MakeReadOnly
();
213
jsonSerializerOptions.
MakeReadOnly
();
397
jsonSerializerOptions.
MakeReadOnly
();
514
jsonSerializerOptions.
MakeReadOnly
();
660
jsonSerializerOptions.
MakeReadOnly
();
778
jsonSerializerOptions.
MakeReadOnly
();
894
jsonSerializerOptions.
MakeReadOnly
();
1011
jsonSerializerOptions.
MakeReadOnly
();
1128
jsonSerializerOptions.
MakeReadOnly
();
1233
jsonSerializerOptions.
MakeReadOnly
();
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\SystemTextJsonOutputFormatter.cs (1)
26
jsonSerializerOptions.
MakeReadOnly
();
src\Shared\Json\JsonSerializerExtensions.cs (1)
21
options.
MakeReadOnly
();
Microsoft.AspNetCore.OpenApi (10)
GeneratedRouteBuilderExtensions.g.cs (10)
93
jsonSerializerOptions.
MakeReadOnly
();
213
jsonSerializerOptions.
MakeReadOnly
();
397
jsonSerializerOptions.
MakeReadOnly
();
514
jsonSerializerOptions.
MakeReadOnly
();
660
jsonSerializerOptions.
MakeReadOnly
();
778
jsonSerializerOptions.
MakeReadOnly
();
894
jsonSerializerOptions.
MakeReadOnly
();
1011
jsonSerializerOptions.
MakeReadOnly
();
1128
jsonSerializerOptions.
MakeReadOnly
();
1233
jsonSerializerOptions.
MakeReadOnly
();
Microsoft.AspNetCore.Routing (1)
src\Shared\Json\JsonSerializerExtensions.cs (1)
21
options.
MakeReadOnly
();
Microsoft.Extensions.AI (10)
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
149
serializerOptions.
MakeReadOnly
();
ChatCompletion\DistributedCachingChatClient.cs (4)
75
JsonSerializerOptions.
MakeReadOnly
();
89
JsonSerializerOptions.
MakeReadOnly
();
104
JsonSerializerOptions.
MakeReadOnly
();
115
JsonSerializerOptions.
MakeReadOnly
();
ChatCompletion\OpenTelemetryChatClient.cs (3)
152
_jsonSerializerOptions.
MakeReadOnly
();
183
_jsonSerializerOptions.
MakeReadOnly
();
956
options.
MakeReadOnly
();
Embeddings\DistributedCachingEmbeddingGenerator.cs (2)
79
_jsonSerializerOptions.
MakeReadOnly
();
94
_jsonSerializerOptions.
MakeReadOnly
();
Microsoft.Extensions.AI.Abstractions (4)
Functions\AIFunctionFactory.cs (1)
627
serializerOptions.
MakeReadOnly
();
Utilities\AIJsonUtilities.cs (1)
85
serializerOptions.
MakeReadOnly
();
Utilities\AIJsonUtilities.Defaults.cs (1)
73
options.
MakeReadOnly
();
Utilities\AIJsonUtilities.Schema.Create.cs (1)
227
serializerOptions.
MakeReadOnly
();
Microsoft.Extensions.AI.Evaluation.Reporting (1)
JsonSerialization\JsonUtilities.cs (1)
39
options.
MakeReadOnly
();
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
JsonSerialization\AzureStorageJsonUtilities.cs (1)
36
options.
MakeReadOnly
();
Sample (51)
artifacts\obj\Sample\Release\net11.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (51)
90
jsonSerializerOptions.
MakeReadOnly
();
202
jsonSerializerOptions.
MakeReadOnly
();
323
jsonSerializerOptions.
MakeReadOnly
();
445
jsonSerializerOptions.
MakeReadOnly
();
582
jsonSerializerOptions.
MakeReadOnly
();
670
jsonSerializerOptions.
MakeReadOnly
();
758
jsonSerializerOptions.
MakeReadOnly
();
843
jsonSerializerOptions.
MakeReadOnly
();
927
jsonSerializerOptions.
MakeReadOnly
();
1014
jsonSerializerOptions.
MakeReadOnly
();
1104
jsonSerializerOptions.
MakeReadOnly
();
1279
jsonSerializerOptions.
MakeReadOnly
();
1403
jsonSerializerOptions.
MakeReadOnly
();
1512
jsonSerializerOptions.
MakeReadOnly
();
1653
jsonSerializerOptions.
MakeReadOnly
();
1775
jsonSerializerOptions.
MakeReadOnly
();
1878
jsonSerializerOptions.
MakeReadOnly
();
1963
jsonSerializerOptions.
MakeReadOnly
();
2065
jsonSerializerOptions.
MakeReadOnly
();
2184
jsonSerializerOptions.
MakeReadOnly
();
2303
jsonSerializerOptions.
MakeReadOnly
();
2422
jsonSerializerOptions.
MakeReadOnly
();
2541
jsonSerializerOptions.
MakeReadOnly
();
2660
jsonSerializerOptions.
MakeReadOnly
();
2779
jsonSerializerOptions.
MakeReadOnly
();
2898
jsonSerializerOptions.
MakeReadOnly
();
3021
jsonSerializerOptions.
MakeReadOnly
();
3147
jsonSerializerOptions.
MakeReadOnly
();
3273
jsonSerializerOptions.
MakeReadOnly
();
3377
jsonSerializerOptions.
MakeReadOnly
();
3482
jsonSerializerOptions.
MakeReadOnly
();
3605
jsonSerializerOptions.
MakeReadOnly
();
3728
jsonSerializerOptions.
MakeReadOnly
();
3833
jsonSerializerOptions.
MakeReadOnly
();
3921
jsonSerializerOptions.
MakeReadOnly
();
4023
jsonSerializerOptions.
MakeReadOnly
();
4146
jsonSerializerOptions.
MakeReadOnly
();
4269
jsonSerializerOptions.
MakeReadOnly
();
4374
jsonSerializerOptions.
MakeReadOnly
();
4461
jsonSerializerOptions.
MakeReadOnly
();
4552
jsonSerializerOptions.
MakeReadOnly
();
4691
jsonSerializerOptions.
MakeReadOnly
();
4800
jsonSerializerOptions.
MakeReadOnly
();
4922
jsonSerializerOptions.
MakeReadOnly
();
5005
jsonSerializerOptions.
MakeReadOnly
();
5111
jsonSerializerOptions.
MakeReadOnly
();
5234
jsonSerializerOptions.
MakeReadOnly
();
5353
jsonSerializerOptions.
MakeReadOnly
();
5472
jsonSerializerOptions.
MakeReadOnly
();
5591
jsonSerializerOptions.
MakeReadOnly
();
5710
jsonSerializerOptions.
MakeReadOnly
();
System.Text.Json (7)
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
37
options.
MakeReadOnly
();
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
393
options.
MakeReadOnly
();
System\Text\Json\Serialization\JsonSerializerContext.cs (2)
32
options.
MakeReadOnly
();
44
options.
MakeReadOnly
();
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
901
/// or a user explicitly called the <see cref="
MakeReadOnly
()"/> methods on the instance.
951
MakeReadOnly
();
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
707
Options.
MakeReadOnly
();