1 write to IsValueType
System.Text.Json (1)
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
22IsValueType = typeof(T).IsValueType;
15 references to IsValueType
System.Text.Json (15)
System\Text\Json\Serialization\Converters\Collection\ICollectionOfTConverter.cs (1)
23if (IsValueType)
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
25if (IsValueType)
System\Text\Json\Serialization\Converters\Collection\IDictionaryOfTKeyTValueConverter.cs (1)
25if (IsValueType)
System\Text\Json\Serialization\Converters\Collection\IListConverter.cs (1)
22if (IsValueType)
System\Text\Json\Serialization\Converters\Collection\IListOfTConverter.cs (1)
23if (IsValueType)
System\Text\Json\Serialization\Converters\Collection\ISetOfTConverter.cs (1)
20if (IsValueType)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
166Debug.Assert(!IsValueType);
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
188Debug.Assert(!IsValueType);
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
91Debug.Assert(!IsValueType);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
154Debug.Assert(!IsValueType);
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (3)
16Debug.Assert(!IsValueType); 71Debug.Assert(!IsValueType); 140Debug.Assert(!IsValueType);
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
114if (converter.IsValueType)
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
107if (propertyType.IsValueType && converter.IsValueType &&