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