Skip to content

Bitwise complement operator ~ #261

@rkaderli

Description

@rkaderli

I have expression using [Flags]enum type where I would like to reset a bit using like "b = ~a;"

See also https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/bitwise-and-shift-operators#bitwise-complement-operator-

Is there a way to get this done? opposite operation with | works just fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions