1 write to SpecialType
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
22SpecialType = type.OriginalDefinition.SpecialType;
6 references to SpecialType
System.Text.Json.SourceGeneration (6)
JsonSourceGenerator.Emitter.cs (1)
824return caseSpec.CaseType.SpecialType is SpecialType.System_Nullable_T
Model\TypeGenerationSpec.cs (4)
186if (property.PropertyType.SpecialType is SpecialType.System_Object || 198CollectionValueType!.SpecialType is not SpecialType.System_Object; 201return CollectionKeyType!.SpecialType is SpecialType.System_String && 202CollectionValueType!.SpecialType is not SpecialType.System_Object;
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
36public bool CanBeNull => !IsValueType || SpecialType is SpecialType.System_Nullable_T;