14 references to JsonTypeInfoLocalVariableName
System.Text.Json.SourceGeneration (14)
JsonSourceGenerator.Emitter.cs (14)
238
{
JsonTypeInfoLocalVariableName
} = {JsonMetadataServicesTypeRef}.{GetCreateValueInfoMethodRef(typeFQN)}({OptionsLocalVariableName}, {JsonMetadataServicesTypeRef}.{typeInfoPropertyName}Converter);
259
{
JsonTypeInfoLocalVariableName
} = {JsonMetadataServicesTypeRef}.{GetCreateValueInfoMethodRef(typeFQN)} ({OptionsLocalVariableName}, converter);
280
{{
JsonTypeInfoLocalVariableName
}} = {{JsonMetadataServicesTypeRef}}.{{GetCreateValueInfoMethodRef(typeFQN)}}({{OptionsLocalVariableName}}, converter);
296
{
JsonTypeInfoLocalVariableName
} = {JsonMetadataServicesTypeRef}.{GetCreateValueInfoMethodRef(typeFQN)}({OptionsLocalVariableName}, {JsonMetadataServicesTypeRef}.GetUnsupportedTypeConverter<{typeFQN}>());
312
{
JsonTypeInfoLocalVariableName
} = {JsonMetadataServicesTypeRef}.{GetCreateValueInfoMethodRef(typeFQN)}({OptionsLocalVariableName}, {JsonMetadataServicesTypeRef}.GetEnumConverter<{typeFQN}>({OptionsLocalVariableName}));
389
{{
JsonTypeInfoLocalVariableName
}} = {{JsonMetadataServicesTypeRef}}.{{createCollectionMethodExpr}};
390
{{
JsonTypeInfoLocalVariableName
}}.{{NumberHandlingPropName}} = {{FormatNumberHandling(typeGenerationSpec.NumberHandling)}};
554
{{
JsonTypeInfoLocalVariableName
}} = {{JsonMetadataServicesTypeRef}}.CreateObjectInfo<{{typeMetadata.TypeRef.FullyQualifiedName}}>({{OptionsLocalVariableName}}, {{ObjectInfoVarName}});
555
{{
JsonTypeInfoLocalVariableName
}}.{{NumberHandlingPropName}} = {{FormatNumberHandling(typeMetadata.NumberHandling)}};
564
writer.WriteLine($"{
JsonTypeInfoLocalVariableName
}.{UnmappedMemberHandlingPropName} = {FormatUnmappedMemberHandling(typeMetadata.UnmappedMemberHandling.Value)};");
569
writer.WriteLine($"{
JsonTypeInfoLocalVariableName
}.{PreferredPropertyObjectCreationHandlingPropName} = {FormatObjectCreationHandling(typeMetadata.PreferredPropertyObjectCreationHandling.Value)};");
1090
if (!{{TryGetTypeInfoForRuntimeCustomConverterMethodName}}<{{typeFQN}}>({{OptionsLocalVariableName}}, out {{typeInfoFQN}} {{
JsonTypeInfoLocalVariableName
}}))
1105
{{
JsonTypeInfoLocalVariableName
}}.{{OriginatingResolverPropertyName}} = this;
1106
return {{
JsonTypeInfoLocalVariableName
}};