4 instantiations of Option
System.Text.Json.SourceGeneration (4)
Helpers\KnownTypeSymbols.cs (4)
153: (_ByteArrayType = new(Compilation.CreateArrayTypeSymbol(Compilation.GetSpecialType(SpecialType.System_Byte), rank: 1))).Value; 159: (_MemoryByteType = new(MemoryType?.Construct(Compilation.GetSpecialType(SpecialType.System_Byte)))).Value; 165: (_ReadOnlyMemoryByteType = new(ReadOnlyMemoryType?.Construct(Compilation.GetSpecialType(SpecialType.System_Byte)))).Value; 356field = new(type);
75 references to Option
System.Text.Json.SourceGeneration (75)
Helpers\KnownTypeSymbols.cs (75)
26private Option<INamedTypeSymbol?> _IListOfTType; 29private Option<INamedTypeSymbol?> _ICollectionOfTType; 32private Option<INamedTypeSymbol?> _IEnumerableType; 35private Option<INamedTypeSymbol?> _IEnumerableOfTType; 38private Option<INamedTypeSymbol?> _ListOfTType; 41private Option<INamedTypeSymbol?> _DictionaryOfTKeyTValueType; 44private Option<INamedTypeSymbol?> _AsyncEnumerableOfTType; 47private Option<INamedTypeSymbol?> _IDictionaryOfTKeyTValueType; 50private Option<INamedTypeSymbol?> _IReadonlyDictionaryOfTKeyTValueType; 53private Option<INamedTypeSymbol?> _ISetOfTType; 56private Option<INamedTypeSymbol?> _StackOfTType; 59private Option<INamedTypeSymbol?> _QueueOfTType; 62private Option<INamedTypeSymbol?> _ConcurrentStackType; 65private Option<INamedTypeSymbol?> _ConcurrentQueueType; 68private Option<INamedTypeSymbol?> _IDictionaryType; 71private Option<INamedTypeSymbol?> _IListType; 74private Option<INamedTypeSymbol?> _StackType; 77private Option<INamedTypeSymbol?> _QueueType; 80private Option<INamedTypeSymbol?> _KeyValuePair; 83private Option<INamedTypeSymbol?> _ImmutableArrayType; 86private Option<INamedTypeSymbol?> _ImmutableListType; 89private Option<INamedTypeSymbol?> _IImmutableListType; 92private Option<INamedTypeSymbol?> _ImmutableStackType; 95private Option<INamedTypeSymbol?> _IImmutableStackType; 98private Option<INamedTypeSymbol?> _ImmutableQueueType; 101private Option<INamedTypeSymbol?> _IImmutableQueueType; 104private Option<INamedTypeSymbol?> _ImmutableSortedType; 107private Option<INamedTypeSymbol?> _ImmutableHashSetType; 110private Option<INamedTypeSymbol?> _IImmutableSetType; 113private Option<INamedTypeSymbol?> _ImmutableDictionaryType; 116private Option<INamedTypeSymbol?> _ImmutableSortedDictionaryType; 119private Option<INamedTypeSymbol?> _IImmutableDictionaryType; 122private Option<INamedTypeSymbol?> _KeyedCollectionType; 131private Option<INamedTypeSymbol?> _DateTimeOffsetType; 134private Option<INamedTypeSymbol?> _TimeSpanType; 137private Option<INamedTypeSymbol?> _DateOnlyType; 140private Option<INamedTypeSymbol?> _TimeOnlyType; 143private Option<INamedTypeSymbol?> _Int128Type; 146private Option<INamedTypeSymbol?> _UInt128Type; 149private Option<INamedTypeSymbol?> _HalfType; 155private Option<IArrayTypeSymbol?> _ByteArrayType; 161private Option<INamedTypeSymbol?> _MemoryByteType; 167private Option<INamedTypeSymbol?> _ReadOnlyMemoryByteType; 170private Option<INamedTypeSymbol?> _GuidType; 173private Option<INamedTypeSymbol?> _UriType; 176private Option<INamedTypeSymbol?> _VersionType; 180private Option<INamedTypeSymbol?> _JsonConverterType; 183private Option<INamedTypeSymbol?> _JsonSerializerContextType; 186private Option<INamedTypeSymbol?> _JsonSerializableAttributeType; 189private Option<INamedTypeSymbol?> _JsonDocumentType; 192private Option<INamedTypeSymbol?> _JsonElementType; 195private Option<INamedTypeSymbol?> _JsonNodeType; 198private Option<INamedTypeSymbol?> _JsonValueType; 201private Option<INamedTypeSymbol?> _JsonObjectType; 204private Option<INamedTypeSymbol?> _JsonArrayType; 208private Option<INamedTypeSymbol?> _JsonConverterAttributeType; 211private Option<INamedTypeSymbol?> _JsonDerivedTypeAttributeType; 214private Option<INamedTypeSymbol?> _JsonNumberHandlingAttributeType; 217private Option<INamedTypeSymbol?> _JsonObjectCreationHandlingAttributeType; 220private Option<INamedTypeSymbol?> _JsonSourceGenerationOptionsAttributeType; 223private Option<INamedTypeSymbol?> _JsonUnmappedMemberHandlingAttributeType; 226private Option<INamedTypeSymbol?> _JsonConstructorAttributeType; 229private Option<INamedTypeSymbol?> _SetsRequiredMembersAttributeType; 232private Option<INamedTypeSymbol?> _JsonStringEnumConverterType; 235private Option<INamedTypeSymbol?> _JsonStringEnumConverterOfTType; 238private Option<INamedTypeSymbol?> _IJsonOnSerializingType; 241private Option<INamedTypeSymbol?> _IJsonOnSerializedType; 248private Option<INamedTypeSymbol?> _MemberInfoType; 251private Option<INamedTypeSymbol?> _SerializationInfoType; 254private Option<INamedTypeSymbol?> _IntPtrType; 257private Option<INamedTypeSymbol?> _UIntPtrType; 260private Option<INamedTypeSymbol?> _MemoryType; 263private Option<INamedTypeSymbol?> _ReadOnlyMemoryType; 345private INamedTypeSymbol? GetOrResolveType(Type type, ref Option<INamedTypeSymbol?> field) 348private INamedTypeSymbol? GetOrResolveType(string fullyQualifiedName, ref Option<INamedTypeSymbol?> field)