9 writes to Converters
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
29Converters = { SchemaOrderJsonNodeConverter.Instance },
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
332Converters = { new OSBasedCaseConverter() }
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
332Converters = { new OSBasedCaseConverter() }
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Defaults.cs (1)
34Converters = { new JsonStringEnumConverter() },
Microsoft.JSInterop (1)
JSRuntime.cs (1)
36Converters =
Microsoft.ML.AutoML.Tests (4)
AutoFeaturizerTests.cs (1)
29Converters =
SweepableEstimatorPipelineTest.cs (1)
32Converters =
SweepableExtensionTest.cs (1)
32Converters =
SweepablePipelineTests.cs (1)
29Converters =
37 references to Converters
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSRuntime.cs (1)
50JsonSerializerOptions.Converters.Add(new ElementReferenceJsonConverter(ElementReferenceContext));
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\JsonSerialization\JsonConverterFactoryTypeInfoResolver.cs (1)
28foreach (var converter in options.Converters)
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
37JsonSerializerOptions.Converters.Add(new ElementReferenceJsonConverter(ElementReferenceContext));
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewJSRuntime.cs (1)
19JsonSerializerOptions.Converters.Add(
Microsoft.AspNetCore.Grpc.JsonTranscoding (8)
Internal\Json\JsonConverterHelper.cs (8)
51options.Converters.Add(new NullValueConverter()); 52options.Converters.Add(new ByteStringConverter()); 53options.Converters.Add(new Int64Converter(context)); 54options.Converters.Add(new UInt64Converter(context)); 55options.Converters.Add(new BoolConverter()); 56options.Converters.Add(new JsonConverterFactoryForEnum(context)); 57options.Converters.Add(new JsonConverterFactoryForWrappers(context)); 58options.Converters.Add(new JsonConverterFactoryForWellKnownTypes(context));
Microsoft.AspNetCore.Http.Extensions.Tests (4)
HttpResponseJsonExtensionsTests.cs (1)
67options.Converters.Add(new IntegerConverter());
RequestDelegateFactoryTests.cs (1)
859jsonOptions.SerializerOptions.Converters.Add(new TodoJsonConverter());
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (2)
220jsonOptions.SerializerOptions.Converters.Add(new TodoJsonConverter()); 276jsonOptions.SerializerOptions.Converters.Add(new TodoJsonConverter());
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (1)
542options.SerializerOptions.Converters.Add(new CustomTypeConverter());
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
Remote\RazorServiceDescriptorsWrapper.cs (1)
53return options.Converters.ToImmutableArray();
Microsoft.CodeAnalysis.Features (1)
Intents\IntentDataProvider.cs (1)
21serializerOptions.Converters.Add(new JsonStringEnumConverter());
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Extensions\ProtocolConversions.cs (1)
108options.Converters.Add(new LSP.NaturalObjectConverter());
Protocol\Extensions\Converters\VSExtensionConverter.cs (1)
54options.Converters.Remove(this);
Protocol\Extensions\Converters\VSExtensionUtilities.cs (1)
26AddConverters(options.Converters);
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
24AddConverters(options.Converters);
Microsoft.CodeAnalysis.Remote.Workspaces (1)
RemoteSerializationOptions.cs (1)
73var converters = stjFormatter.JsonSerializerOptions.Converters;
Microsoft.JSInterop.Tests (3)
Infrastructure\DotNetStreamReferenceJsonConverterTest.cs (1)
16JsonSerializerOptions.Converters.Add(new DotNetStreamReferenceJsonConverter(JSRuntime));
Infrastructure\JSObjectReferenceJsonConverterTest.cs (1)
17JsonSerializerOptions.Converters.Add(new JSObjectReferenceJsonConverter(JSRuntime));
Infrastructure\JSStreamReferenceJsonConverterTest.cs (1)
17JsonSerializerOptions.Converters.Add(new JSStreamReferenceJsonConverter(JSRuntime));
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSRuntime.cs (1)
22JsonSerializerOptions.Converters.Insert(0, new WebAssemblyJSObjectReferenceJsonConverter(this));
Microsoft.ML.SearchSpace (1)
Parameter.cs (1)
77_settings.Converters.Add(new JsonStringEnumConverter());
Microsoft.ML.SearchSpace.Tests (2)
SearchSpaceTest.cs (2)
34_settings.Converters.Add(new DoubleConverter()); 35_settings.Converters.Add(new SingleConverter());
System.Text.Json (6)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
54/// Specifies the default value of <see cref="JsonSerializerOptions.Converters"/> when set.
System\Text\Json\Serialization\Attributes\JsonConverterAttribute.cs (1)
15/// <see cref="JsonSerializerOptions.Converters"/> or there is another <see cref="JsonConverterAttribute"/> on a property or field
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
61options.Converters.Count == 0 &&
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
465/// User-defined custom converters (specified either via <see cref="JsonConverterAttribute"/> or <see cref="JsonSerializerOptions.Converters"/>) 898/// <see cref="JsonSerializerOptions.Converters"/> or the built-in converters for the type. 929/// <see cref="JsonSerializerOptions.Converters"/> or the built-in converters for the type.