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