I remembered that resharper can generate all the case statement
for an empty switch statement when the switch target is type of enum.
but I don't how to do that?
for example, variable v is type of enum E, and enum E has two value A, B.
when I have the following code:
resharper will suggest to generate following code: