how do i switch on an enum which have the flags attribute set (or more precisely is used for bit operations) ?
I want to be able to hit all cases in a switch that matche
Should be possible in C# 7
switch (t1) { case var t when t.HasFlag(TST.M1): { break; } case var t when t.HasFlag(TST.M2): { break; }