6 references to Choice
Microsoft.AspNetCore.Http.Extensions.Tests (6)
ParameterBindingMethodCacheTests.cs (6)
178var type = typeof(Choice); 198var type = typeof(Choice); 209var parseEnum = Expression.Lambda<Func<string, Choice>>(Expression.Block(new[] { parsedValue }, 213Assert.Equal(Choice.One, parseEnum("One")); 214Assert.Equal(Choice.Two, parseEnum("Two")); 215Assert.Equal(Choice.Three, parseEnum("Three"));