1 instantiation of CustomType
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests..cs (1)
147ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create(() => new CustomType(), serializerOptions: TestJsonSerializerContext.Default.Options));
3 references to CustomType
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\FunctionCallContentTests..cs (3)
143var ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((CustomType arg) => { }, serializerOptions: TestJsonSerializerContext.Default.Options)); 145Assert.Contains(nameof(CustomType), ex.Message); 149Assert.Contains(nameof(CustomType), ex.Message);