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