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
Product and Version Used:
When running the conversion for RCS1096 it incorrectly converts the HasFlag logic. The current conversion treats composite flags as though HasFlag is identifying that any of the bits is set, where as in reality HasFlag will only return true if all bits are set.
Product and Version Used:
When running the conversion for RCS1096 it incorrectly converts the HasFlag logic. The current conversion treats composite flags as though HasFlag is identifying that any of the bits is set, where as in reality HasFlag will only return true if all bits are set.
Here is a sample program to demonstrate:
https://rextester.com/RENET59796
Steps to Reproduce:
given an enumeration and a variable x:
if I apply the fix for RCS1096 and code:
I get:
When I would expect:
The text was updated successfully, but these errors were encountered: