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