92 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 (1)
GeneratedRouteBuilderExtensions.g.cs (1)
89
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)
78
_jsonSerializerOptions.
MakeReadOnly
();
92
_jsonSerializerOptions.
MakeReadOnly
();
107
_jsonSerializerOptions.
MakeReadOnly
();
118
_jsonSerializerOptions.
MakeReadOnly
();
ChatCompletion\OpenTelemetryChatClient.cs (3)
133
_jsonSerializerOptions.
MakeReadOnly
();
164
_jsonSerializerOptions.
MakeReadOnly
();
617
options.
MakeReadOnly
();
Embeddings\DistributedCachingEmbeddingGenerator.cs (2)
79
_jsonSerializerOptions.
MakeReadOnly
();
94
_jsonSerializerOptions.
MakeReadOnly
();
Microsoft.Extensions.AI.Abstractions (5)
Functions\AIFunctionFactory.cs (1)
644
serializerOptions.
MakeReadOnly
();
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
700
options.
MakeReadOnly
();
Utilities\AIJsonUtilities.cs (1)
85
serializerOptions.
MakeReadOnly
();
Utilities\AIJsonUtilities.Defaults.cs (1)
59
options.
MakeReadOnly
();
Utilities\AIJsonUtilities.Schema.Create.cs (1)
216
serializerOptions.
MakeReadOnly
();
Microsoft.Extensions.AI.Evaluation.Reporting (1)
JsonSerialization\JsonUtilities.cs (1)
43
options.
MakeReadOnly
();
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
JsonSerialization\AzureStorageJsonUtilities.cs (1)
40
options.
MakeReadOnly
();
Sample (51)
artifacts\obj\Sample\Release\net10.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
();
667
jsonSerializerOptions.
MakeReadOnly
();
752
jsonSerializerOptions.
MakeReadOnly
();
836
jsonSerializerOptions.
MakeReadOnly
();
923
jsonSerializerOptions.
MakeReadOnly
();
1010
jsonSerializerOptions.
MakeReadOnly
();
1100
jsonSerializerOptions.
MakeReadOnly
();
1275
jsonSerializerOptions.
MakeReadOnly
();
1399
jsonSerializerOptions.
MakeReadOnly
();
1508
jsonSerializerOptions.
MakeReadOnly
();
1649
jsonSerializerOptions.
MakeReadOnly
();
1771
jsonSerializerOptions.
MakeReadOnly
();
1874
jsonSerializerOptions.
MakeReadOnly
();
1959
jsonSerializerOptions.
MakeReadOnly
();
2061
jsonSerializerOptions.
MakeReadOnly
();
2180
jsonSerializerOptions.
MakeReadOnly
();
2299
jsonSerializerOptions.
MakeReadOnly
();
2418
jsonSerializerOptions.
MakeReadOnly
();
2537
jsonSerializerOptions.
MakeReadOnly
();
2656
jsonSerializerOptions.
MakeReadOnly
();
2775
jsonSerializerOptions.
MakeReadOnly
();
2894
jsonSerializerOptions.
MakeReadOnly
();
3017
jsonSerializerOptions.
MakeReadOnly
();
3143
jsonSerializerOptions.
MakeReadOnly
();
3269
jsonSerializerOptions.
MakeReadOnly
();
3373
jsonSerializerOptions.
MakeReadOnly
();
3478
jsonSerializerOptions.
MakeReadOnly
();
3601
jsonSerializerOptions.
MakeReadOnly
();
3724
jsonSerializerOptions.
MakeReadOnly
();
3829
jsonSerializerOptions.
MakeReadOnly
();
3917
jsonSerializerOptions.
MakeReadOnly
();
4019
jsonSerializerOptions.
MakeReadOnly
();
4142
jsonSerializerOptions.
MakeReadOnly
();
4265
jsonSerializerOptions.
MakeReadOnly
();
4370
jsonSerializerOptions.
MakeReadOnly
();
4457
jsonSerializerOptions.
MakeReadOnly
();
4548
jsonSerializerOptions.
MakeReadOnly
();
4687
jsonSerializerOptions.
MakeReadOnly
();
4796
jsonSerializerOptions.
MakeReadOnly
();
4918
jsonSerializerOptions.
MakeReadOnly
();
5001
jsonSerializerOptions.
MakeReadOnly
();
5107
jsonSerializerOptions.
MakeReadOnly
();
5230
jsonSerializerOptions.
MakeReadOnly
();
5349
jsonSerializerOptions.
MakeReadOnly
();
5468
jsonSerializerOptions.
MakeReadOnly
();
5587
jsonSerializerOptions.
MakeReadOnly
();
5706
jsonSerializerOptions.
MakeReadOnly
();
Shared.Tests (1)
JsonSchemaExporter\JsonSchemaExporterTests.cs (1)
165
options.
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
();