3 writes to ElementTypeInfo
System.Text.Json (3)
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
604ElementTypeInfo = elementTypeInfo, 622ElementTypeInfo = elementTypeInfo,
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
90typeInfo.ElementTypeInfo = collectionInfo.ElementInfo;
20 references to ElementTypeInfo
System.Text.Json (20)
System\Text\Json\Schema\JsonSchemaExporter.cs (5)
273Debug.Assert(typeInfo.ElementTypeInfo != null); 278JsonSchema items = MapJsonSchemaCore(ref state, typeInfo.ElementTypeInfo, customNumberHandling: effectiveNumberHandling); 299JsonSchema items = MapJsonSchemaCore(ref state, typeInfo.ElementTypeInfo, customNumberHandling: effectiveNumberHandling); 323Debug.Assert(typeInfo.ElementTypeInfo != null); 339JsonSchema valueSchema = MapJsonSchemaCore(ref state, typeInfo.ElementTypeInfo, customNumberHandling: effectiveNumberHandling);
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (1)
45_valueConverter ??= GetConverter<TValue>(typeInfo.ElementTypeInfo!);
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (1)
48_valueConverter ??= GetConverter<TValue>(typeInfo.ElementTypeInfo!);
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
60_valueConverter ??= GetConverter<object?>(typeInfo.ElementTypeInfo!);
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (2)
69JsonTypeInfo elementTypeInfo = jsonTypeInfo.ElementTypeInfo!; 321state.Current.JsonPropertyInfo = jsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (2)
81JsonTypeInfo elementTypeInfo = jsonTypeInfo.ElementTypeInfo!; 361state.Current.JsonPropertyInfo = jsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (2)
42state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo; 63state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (2)
42state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo; 64state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (2)
37state.Current.JsonTypeInfo = state.Current.JsonTypeInfo.ElementTypeInfo!; 58state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
483state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
887JsonTypeInfo.ElementTypeInfo