3 instantiations of StructWithDefaultCtor
Microsoft.Extensions.AI.Tests (3)
Functions\AIFunctionFactoryTest.cs (3)
850
Assert.NotEqual(new
StructWithDefaultCtor
().Value, default(StructWithDefaultCtor).Value);
861
Assert.NotEqual(new
StructWithDefaultCtor
().Value, default(StructWithDefaultCtor).Value);
894
Assert.NotEqual(new
StructWithDefaultCtor
().Value, default(StructWithDefaultCtor).Value);
5 references to StructWithDefaultCtor
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
850
Assert.NotEqual(new StructWithDefaultCtor().Value, default(
StructWithDefaultCtor
).Value);
852
AIFunction f = AIFunctionFactory.Create((Guid g = default,
StructWithDefaultCtor
s = default) => g.ToString() + "," + s.Value.ToString(), serializerOptions: JsonContext.Default.Options);
861
Assert.NotEqual(new StructWithDefaultCtor().Value, default(
StructWithDefaultCtor
).Value);
894
Assert.NotEqual(new StructWithDefaultCtor().Value, default(
StructWithDefaultCtor
).Value);
1026
[JsonSerializable(typeof(
StructWithDefaultCtor
))]