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