19 references to NullableEnum
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (19)
DefaultHtmlGeneratorTest.cs (19)
885{ nameof(Model.NullableEnum), RegularEnum.Zero, new [] { "0", "Zero" } }, 886{ nameof(Model.NullableEnum), RegularEnum.One, new [] { "1", "One" } }, 887{ nameof(Model.NullableEnum), RegularEnum.Two, new [] { "2", "Two" } }, 888{ nameof(Model.NullableEnum), RegularEnum.Three, new [] { "3", "Three" } }, 889{ nameof(Model.NullableEnum), string.Empty, new [] { string.Empty } }, 890{ nameof(Model.NullableEnum), "Zero", new [] { "0", "Zero" } }, 891{ nameof(Model.NullableEnum), "Two", new [] { "2", "Two" } }, 892{ nameof(Model.NullableEnum), "One, Two", new [] { "One, Two", "3", "Three" } }, 893{ nameof(Model.NullableEnum), "garbage", new [] { "garbage" } }, 894{ nameof(Model.NullableEnum), "0", new [] { "0", "Zero" } }, 895{ nameof(Model.NullableEnum), " 43", new [] { " 43", "43" } }, 896{ nameof(Model.NullableEnum), "-5 ", new [] { "-5 ", "-5" } }, 897{ nameof(Model.NullableEnum), 0, new [] { "0", "Zero" } }, 898{ nameof(Model.NullableEnum), 1, new [] { "1", "One" } }, 899{ nameof(Model.NullableEnum), 43, new [] { "43" } }, 900{ nameof(Model.NullableEnum), -5, new [] { "-5" } }, 901{ nameof(Model.NullableEnum), int.MaxValue, new [] { "2147483647" } }, 902{ nameof(Model.NullableEnum), (uint)int.MaxValue + 1, new [] { "2147483648" } }, 903{ nameof(Model.NullableEnum), uint.MaxValue, new [] { "4294967295" } },