8 instantiations of SimplePoco
Shared.Tests (8)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.SimplePoco.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
(),
JsonSchemaExporter\TestTypes.cs (7)
152
Value:
new
() { String = "string", StringNullable = "string", Int = 42, Double = 3.14, Boolean = true },
153
AdditionalValues: [
new
() { String = "str", StringNullable = null }],
533
Value:
new
() { String = "string", StringNullable = "string", Int = 42, Double = 3.14, Boolean = true },
534
AdditionalValues: [
new
() { String = "str", StringNullable = null }],
841
["one"] =
new
() { String = "string", StringNullable = "string", Int = 42, Double = 3.14, Boolean = true },
842
["two"] =
new
() { String = "string", StringNullable = null, Int = 42, Double = 3.14, Boolean = true },
843
["three"] =
new
() { String = "string", StringNullable = null, Int = 42, Double = 3.14, Boolean = true },
56 references to SimplePoco
Shared.Tests (56)
Generated\361d1da7f942c932\TestTypesContext.DictionaryStringSimplePoco.g.cs (13)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>>? _DictionaryStringSimplePoco;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>> DictionaryStringSimplePoco
24
get => _DictionaryStringSimplePoco ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>> Create_DictionaryStringSimplePoco(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>> jsonTypeInfo))
31
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>>
33
ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>(),
37
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>, string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>(options, info);
47
private void DictionaryStringSimplePocoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>? value)
57
foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
> entry in value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (2)
212
if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
))
248
if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.SimplePoco.g.cs (36)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>? _SimplePoco;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
> SimplePoco
24
get => _SimplePoco ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
> Create_SimplePoco(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).String,
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).String = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
).GetProperty("String", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
80
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
),
82
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).StringNullable,
83
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).StringNullable = value!,
90
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
).GetProperty("StringNullable", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
),
102
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).Int,
103
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).Int = value!,
110
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
).GetProperty("Int", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
),
122
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).Double,
123
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).Double = value!,
130
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
).GetProperty("Double", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null),
140
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
),
142
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).Boolean,
143
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)obj).Boolean = value!,
150
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
).GetProperty("Boolean", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
160
private void SimplePocoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
? value)
170
writer.WriteString(PropName_String, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)value).String);
171
writer.WriteString(PropName_StringNullable, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)value).StringNullable);
172
writer.WriteNumber(PropName_Int, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)value).Int);
173
writer.WriteNumber(PropName_Double, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)value).Double);
174
writer.WriteBoolean(PropName_Boolean, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
SimplePoco
)value).Boolean);
JsonSchemaExporter\TestTypes.cs (5)
151
yield return new TestData<
SimplePoco
>(
532
yield return new TestData<
SimplePoco
>(
838
yield return new TestData<Dictionary<string,
SimplePoco
>>(
1266
[JsonSerializable(typeof(
SimplePoco
))]
1309
[JsonSerializable(typeof(Dictionary<string,
SimplePoco
>))]