5 references to EnumWithDisplayOrder
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (5)
DataAnnotationsMetadataProviderTest.cs (5)
1000new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.Three)), "2"), 1001new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.Two)), "1"), 1002new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.One)), "0"), 1003new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.Null)), "3"), 1008var key = ModelMetadataIdentity.ForType(typeof(EnumWithDisplayOrder));