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