Enums.NET
Enums.NET copied to clipboard
HasAnyFlags fails while HasFlag is not
unfortunately cannot repro it in a clean sample, but somewhere deep in my modules the next call is not valid, but when I use the HasFlag method it is

Is there an error or does it return false when true is expected? What is the base type of the ObjectModification enum, int, byte, etc? What version of Enums.NET are you using? What runtime version is this on, .NET Framework 4.8, .NET Core 3.1, etc?
no error, just wrong result, ObjectModification is int, this is a test that runs nunit on .net5,0
from Rider IDE if it matters