2 instantiations of PocoWithNullableConstructorParameter
Shared.Tests (2)
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableConstructorParameter.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter((string)args[0]),
JsonSchemaExporter\TestTypes.cs (1)
579Value: new(null),
18 references to PocoWithNullableConstructorParameter
Shared.Tests (18)
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableConstructorParameter.g.cs (15)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>? _PocoWithNullableConstructorParameter; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> PocoWithNullableConstructorParameter 24get => _PocoWithNullableConstructorParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> Create_PocoWithNullableConstructorParameter(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)obj).Value, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79private void PocoWithNullableConstructorParameterSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter? value) 89writer.WriteString(PropName_Value, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)value).Value);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
160if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter))
JsonSchemaExporter\TestTypes.cs (2)
578yield return new TestData<PocoWithNullableConstructorParameter>( 1287[JsonSerializable(typeof(PocoWithNullableConstructorParameter))]