1 write to IsFlagsEnum
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
167
displayMetadata.
IsFlagsEnum
= underlyingType.IsDefined(typeof(FlagsAttribute), inherit: false);
2 references to IsFlagsEnum
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
286
public override bool IsFlagsEnum => DisplayMetadata.
IsFlagsEnum
;
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
DataAnnotationsMetadataProviderTest.cs (1)
678
Assert.Equal(expectedIsFlagsEnum, context.DisplayMetadata.
IsFlagsEnum
);