jskeet / unconstrained-melody

Automatically exported from code.google.com/p/unconstrained-melody
131 stars 17 forks source link

Make it easy to iterate over a flags value #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Given a flags value, it would be nice to be able to do:

    foreach (var bit in flags.GetIndividualFlags())

or something similar.

Original issue reported on code.google.com by jonsk...@google.com on 23 Sep 2011 at 2:28

GoogleCodeExporter commented 9 years ago

Original comment by jonathan.skeet on 23 Sep 2011 at 2:28