19 references to RegularEnum
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (19)
DefaultHtmlGeneratorTest.cs (19)
905{ nameof(Model.RegularEnum), RegularEnum.Zero, new [] { "0", "Zero" } }, 906{ nameof(Model.RegularEnum), RegularEnum.One, new [] { "1", "One" } }, 907{ nameof(Model.RegularEnum), RegularEnum.Two, new [] { "2", "Two" } }, 908{ nameof(Model.RegularEnum), RegularEnum.Three, new [] { "3", "Three" } }, 909{ nameof(Model.RegularEnum), string.Empty, new [] { string.Empty } }, 910{ nameof(Model.RegularEnum), "Zero", new [] { "0", "Zero" } }, 911{ nameof(Model.RegularEnum), "Two", new [] { "2", "Two" } }, 912{ nameof(Model.RegularEnum), "One, Two", new [] { "One, Two", "3", "Three" } }, 913{ nameof(Model.RegularEnum), "garbage", new [] { "garbage" } }, 914{ nameof(Model.RegularEnum), "0", new [] { "0", "Zero" } }, 915{ nameof(Model.RegularEnum), " 43", new [] { " 43", "43" } }, 916{ nameof(Model.RegularEnum), "-5 ", new [] { "-5 ", "-5" } }, 917{ nameof(Model.RegularEnum), 0, new [] { "0", "Zero" } }, 918{ nameof(Model.RegularEnum), 1, new [] { "1", "One" } }, 919{ nameof(Model.RegularEnum), 43, new [] { "43" } }, 920{ nameof(Model.RegularEnum), -5, new [] { "-5" } }, 921{ nameof(Model.RegularEnum), int.MaxValue, new [] { "2147483647" } }, 922{ nameof(Model.RegularEnum), (uint)int.MaxValue + 1, new [] { "2147483648" } }, 923{ nameof(Model.RegularEnum), uint.MaxValue, new [] { "4294967295" } },