Generated\361d1da7f942c932\TestJsonSerializerContext.CodeInterpreterToolCallContent.g.cs (13)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.CodeInterpreterToolCallContent).GetProperty("Inputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>(options, info0);
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
99Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
100Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
139Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
140Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.CodeInterpreterToolResultContent.g.cs (13)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>(options, info0);
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
99Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
100Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
139Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
140Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ErrorContent.g.cs (10)
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
120Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
138DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
158DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
160Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
161Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (10)
158DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
160Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
161Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
178DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
188AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
198DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
200Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
201Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
208AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionResultContent.g.cs (10)
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
119Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
157DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
159Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
160Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
167AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.HostedFileContent.g.cs (10)
198DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
200Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
201Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
208AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
218DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
228AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
238DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
240Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
241Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
248AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.HostedVectorStoreContent.g.cs (10)
78DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
80Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
98DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
120Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ImageGenerationToolCallContent.g.cs (10)
77DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
79Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
80Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
87AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
119Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ImageGenerationToolResultContent.g.cs (13)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ImageGenerationToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>(options, info0);
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
99Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
100Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
139Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
140Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.InputRequestContent.g.cs (10)
77DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
79Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
80Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
87AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
119Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.InputResponseContent.g.cs (10)
77DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
79Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
80Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
87AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
119Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.McpServerToolCallContent.g.cs (10)
138DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
140Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
141Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
158DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
178DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
180Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
181Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
188AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.McpServerToolResultContent.g.cs (13)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>(options, info0);
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
99Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
100Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
139Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
140Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.TextReasoningContent.g.cs (10)
98DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
100Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
101Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
138DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
140Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
141Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalRequestContent.g.cs (10)
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
120Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
138DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
158DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
160Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
161Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalResponseContent.g.cs (10)
138DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
140Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
141Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
158DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
178DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
180Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
181Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
188AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (10)
77DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
79Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
80Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
87AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
119Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolResultContent.g.cs (10)
77DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
79Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
80Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
87AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
119Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.UsageContent.g.cs (10)
78DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
80Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
98DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
120Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.WebSearchToolCallContent.g.cs (10)
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
99Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
100Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
139Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
140Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.WebSearchToolResultContent.g.cs (13)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.WebSearchToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>>(options, info0);
97DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
99Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
100Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
107AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
117DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
137DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
139Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
140Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
147AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.DerivedAIContent.g.cs (10)
78DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
80Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
98DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
120Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.DerivedToolCallContent.g.cs (10)
99DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
101Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
102Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
109AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
119DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
129AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
139DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
141Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
142Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
149AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.LeafContent.g.cs (10)
98DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
100Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
101Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
138DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
140Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
141Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.AIContent.g.cs (20)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIContent>? _AIContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIContent> AIContent
22get => _AIContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.AIContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIContent> Create_AIContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.AIContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.AIContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.AIContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
76DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
86AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
96DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
98Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
99Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
106AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.DataContent.g.cs (10)
158DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
160Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
161Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
178DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
188AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
198DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
200Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
201Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
208AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.TextContent.g.cs (10)
78DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
80Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
98DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
118DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
120Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.UriContent.g.cs (10)
100DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
102Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations,
103Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).Annotations = value!,
110AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("Annotations", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIAnnotation>), global::System.Array.Empty<global::System.Type>(), null),
120DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
130AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
140DeclaringType = typeof(global::Microsoft.Extensions.AI.AIContent),
142Getter = static obj => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties,
143Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIContent)obj).AdditionalProperties = value!,
150AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIContent).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
Utilities\AIJsonUtilitiesTests.cs (21)
706JsonElement schema = AIJsonUtilities.CreateJsonSchema(typeof(AIContent), serializerOptions: options);
1240AIContent c = new DerivedAIContent { DerivedValue = 42 };
1244AIContent? deserialized = JsonSerializer.Deserialize<AIContent>(json, options);
1267Assert.Throws<ArgumentException>("contentType", () => options.AddAIContentType<AIContent>("discriminator"));
1281AIContent c = new DerivedAIContent();
1317var aiContentTypes = options.GetTypeInfo(typeof(AIContent)).PolymorphismOptions!.DerivedTypes;
1333AIContent ac = new LeafContent { DerivedValue = 2, LeafValue = 99 };
1339LeafContent deserializedAc = Assert.IsType<LeafContent>(JsonSerializer.Deserialize<AIContent>(json2, options));
1369var aiContentTypes = options.GetTypeInfo(typeof(AIContent)).PolymorphismOptions!.DerivedTypes;
1383AIContent ac = new DerivedToolCallContent { CustomValue = 99 };
1388DerivedToolCallContent deserializedAc = Assert.IsType<DerivedToolCallContent>(JsonSerializer.Deserialize<AIContent>(json2, options));
1407var aiContentDerivedTypes = options.GetTypeInfo(typeof(AIContent)).PolymorphismOptions!.DerivedTypes;
1414AIContent ac = new DerivedAIContent { DerivedValue = 1 };
1417DerivedAIContent deserializedDc = Assert.IsType<DerivedAIContent>(JsonSerializer.Deserialize<AIContent>(json, options));
1429AIContent ac2 = new LeafContent { DerivedValue = 3, LeafValue = 99 };
1432LeafContent deserializedAc = Assert.IsType<LeafContent>(JsonSerializer.Deserialize<AIContent>(json3, options));
1453var aiContentDerivedTypes = options.GetTypeInfo(typeof(AIContent)).PolymorphismOptions!.DerivedTypes;
1460AIContent ac = new LeafContent { DerivedValue = 1, LeafValue = 42 };
1463Assert.IsType<LeafContent>(JsonSerializer.Deserialize<AIContent>(json, options));
1466AIContent unregistered = new DerivedAIContent { DerivedValue = 99 };