JsonSourceGenerator.Parser.cs (31)
199private TypeRef EnqueueType(ITypeSymbol type, JsonSourceGenerationMode? generationMode)
379List<TypeRef>? converters = null;
380List<TypeRef>? typeClassifiers = null;
428converters = new List<TypeRef>();
432TypeRef? typeRef = GetConverterTypeFromAttribute(contextType, converterType, contextType, attributeData, ref optionsExperimentalIds);
542typeClassifiers = new List<TypeRef>();
546TypeRef? typeRef = GetTypeClassifierFactoryTypeFromAttribute(contextType, classifierType, contextType, attributeData, ref optionsExperimentalIds);
659TypeRef? collectionKeyType = null;
660TypeRef? collectionValueType = null;
661TypeRef? nullableUnderlyingType = null;
663TypeRef? runtimeTypeRef = null;
685out TypeRef? customConverterType,
688out TypeRef? unionClassifierFactoryType);
825TypeRef caseTypeRef = EnqueueType(caseType, typeToGenerate.Mode);
839TypeRef patternTypeRef = SymbolEqualityComparer.Default.Equals(patternType, caseType)
867var typeRef = new TypeRef(type);
948out TypeRef? customConverterType,
951out TypeRef? unionClassifierFactoryType)
970TypeRef? polymorphicClassifierFactoryType = null;
1268TypeRef derivedTypeRef = EnqueueType(derivedType, typeToGenerate.Mode);
2166private TypeRef? GetDictionaryTypeRef(ITypeSymbol keyType, ITypeSymbol valueType)
2192var declaringTypeRef = new TypeRef(currentType);
2251TypeRef declaringTypeRef,
2405TypeRef declaringType,
2430out TypeRef? converterType,
2508TypeRef propertyTypeRef = ignoreCondition != JsonIgnoreCondition.Always
2592out TypeRef? converterType,
2843TypeRef parameterTypeRef;
2958private TypeRef? GetConverterTypeFromJsonConverterAttribute(INamedTypeSymbol contextType, ISymbol declaringSymbol, AttributeData attributeData, ref HashSet<string>? experimentalIds, ITypeSymbol? typeToConvert = null)
2977private TypeRef? GetConverterTypeFromAttribute(INamedTypeSymbol contextType, ITypeSymbol? converterType, ISymbol declaringSymbol, AttributeData attributeData, ref HashSet<string>? experimentalIds, ITypeSymbol? typeToConvert = null)
3018private TypeRef? GetTypeClassifierFactoryTypeFromAttribute(INamedTypeSymbol contextType, ITypeSymbol? classifierType, ISymbol declaringSymbol, AttributeData attributeData, ref HashSet<string>? experimentalIds)