1 instantiation of SomeType
Microsoft.Extensions.AI.Abstractions.Tests (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.SomeType.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
(),
25 references to SomeType
Microsoft.Extensions.AI.Abstractions.Tests (25)
ChatCompletion\ChatResponseFormatTests.cs (2)
142
ChatResponseFormat.ForJsonSchema<
SomeType
>(TestJsonSerializerContext.Default.Options, name, description) :
143
ChatResponseFormat.ForJsonSchema(typeof(
SomeType
), TestJsonSerializerContext.Default.Options, name, description);
Generated\361d1da7f942c932\TestJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
106
if (type == typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.SomeType.g.cs (21)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
>? _SomeType;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
> SomeType
22
get => _SomeType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
> Create_SomeType(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
),
58
Getter = static obj => ((global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
)obj).SomeInteger,
59
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
)obj).SomeInteger = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
).GetProperty("SomeInteger", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
),
78
Getter = static obj => ((global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
)obj).SomeString,
79
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
)obj).SomeString = value!,
86
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
).GetProperty("SomeString", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
96
private void SomeTypeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
? value)
106
writer.WriteNumber(PropName_someInteger, ((global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
)value).SomeInteger);
107
string __value_SomeString = ((global::Microsoft.Extensions.AI.ChatResponseFormatTests.
SomeType
)value).SomeString;
TestJsonSerializerContext.cs (1)
43
[JsonSerializable(typeof(ChatResponseFormatTests.
SomeType
))]