6 writes to ConverterStrategy
System.Text.Json (6)
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
33ConverterStrategy = sourceConverter.ConverterStrategy;
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
30ConverterStrategy = elementConverter.ConverterStrategy;
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
30ConverterStrategy = elementConverter.ConverterStrategy;
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
37ConverterStrategy = converter.ConverterStrategy;
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
25ConverterStrategy = elementConverter.ConverterStrategy;
System\Text\Json\Serialization\JsonConverter.cs (1)
21ConverterStrategy = GetDefaultConverterStrategy();
18 references to ConverterStrategy
System.Text.Json (18)
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
21Debug.Assert(converter is { IsInternalConverter: true, ConverterStrategy: ConverterStrategy.Value });
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
33ConverterStrategy = sourceConverter.ConverterStrategy;
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
30ConverterStrategy = elementConverter.ConverterStrategy;
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
30ConverterStrategy = elementConverter.ConverterStrategy;
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
37ConverterStrategy = converter.ConverterStrategy;
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
397Debug.Assert(jsonPropertyInfo.EffectiveConverter.ConverterStrategy != ConverterStrategy.Value);
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
25ConverterStrategy = elementConverter.ConverterStrategy;
System\Text\Json\Serialization\JsonConverter.cs (1)
54/// Invoked by the base contructor to populate the initial value of the <see cref="ConverterStrategy"/> property.
System\Text\Json\Serialization\JsonConverterOfT.cs (3)
163if (ConverterStrategy == ConverterStrategy.Value) 342if (ConverterStrategy == ConverterStrategy.Value) 501Debug.Assert(isValueConverter == (ConverterStrategy == ConverterStrategy.Value));
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
542if ((EffectiveConverter.ConverterStrategy & (ConverterStrategy.Enumerable | ConverterStrategy.Dictionary)) != 0) 703((ConverterStrategy.Enumerable | ConverterStrategy.Dictionary) & EffectiveConverter.ConverterStrategy) == 0)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
185EffectiveConverter.ConverterStrategy != ConverterStrategy.Value &&
System\Text\Json\Serialization\ReadStack.cs (1)
399private string DebuggerDisplay => $"Path = {JsonPath()}, Current = ConverterStrategy.{Current.JsonTypeInfo?.Converter.ConverterStrategy}, {Current.JsonTypeInfo?.Type.Name}";
System\Text\Json\Serialization\ReadStackFrame.cs (1)
166private string DebuggerDisplay => $"ConverterStrategy.{JsonTypeInfo?.Converter.ConverterStrategy}, {JsonTypeInfo?.Type.Name}";
System\Text\Json\Serialization\WriteStack.cs (1)
446private string DebuggerDisplay => $"Path = {PropertyPath()} Current = ConverterStrategy.{Current.JsonPropertyInfo?.EffectiveConverter.ConverterStrategy}, {Current.JsonTypeInfo?.Type.Name}";
System\Text\Json\Serialization\WriteStackFrame.cs (1)
169private readonly string DebuggerDisplay => $"ConverterStrategy.{JsonTypeInfo?.Converter.ConverterStrategy}, {JsonTypeInfo?.Type.Name}";