1 instantiation of StructWithDefaultCtor
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
815
Assert.NotEqual(new
StructWithDefaultCtor
().Value, default(StructWithDefaultCtor).Value);
3 references to StructWithDefaultCtor
Microsoft.Extensions.AI.Tests (3)
Functions\AIFunctionFactoryTest.cs (3)
815
Assert.NotEqual(new StructWithDefaultCtor().Value, default(
StructWithDefaultCtor
).Value);
817
AIFunction f = AIFunctionFactory.Create((Guid g = default,
StructWithDefaultCtor
s = default) => g.ToString() + "," + s.Value.ToString(), serializerOptions: JsonContext.Default.Options);
898
[JsonSerializable(typeof(
StructWithDefaultCtor
))]