1 write to IsValueType
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
20IsValueType = type.IsValueType;
3 references to IsValueType
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Emitter.cs (2)
631{ CanUseSetter: true } when typeGenerationSpec.TypeRef.IsValueType 973string valueTypeRef = typeGenSpec.TypeRef.IsValueType
src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
36public bool CanBeNull => !IsValueType || SpecialType is SpecialType.System_Nullable_T;