You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to have been reported before, but it is still not working correctly.
Repo:
internalclassProgram{privatestaticFileAttributes_skipMask=FileAttributes.Device|FileAttributes.Offline;internalstaticvoidMain(){varfileAttr=FileAttributes.Device;//RCS1096 is reported hereif((fileAttr&_skipMask)!=0)Console.WriteLine("AndCheck: Flags were present");elseConsole.WriteLine("AndCheck: Flags not present");if(fileAttr.HasFlag(_skipMask))Console.WriteLine("HasFlag: Flags were present");elseConsole.WriteLine("HasFlag: Flags not present");}}
Output:
AndCheck: Flags were present
HasFlag: Flags not present
The text was updated successfully, but these errors were encountered:
This seems to have been reported before, but it is still not working correctly.
Repo:
Output:
The text was updated successfully, but these errors were encountered: