1 instantiation of CustomType
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests.cs (1)
228ex = 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)
224var ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((CustomType arg) => { }, serializerOptions: TestJsonSerializerContext.Default.Options)); 226Assert.Contains(nameof(CustomType), ex.Message); 230Assert.Contains(nameof(CustomType), ex.Message);