C# Extending all [Flag] enums?
<pre><code>public static bool Get(this EventFlags flags, EventFlags flag)
{
    return ((flags &amp; flag) != 0);
}

public static void Set(this EventFlags flags, EventFlags flag, bool value)
{
    if (value)
        flags |= flag;
    else
        flags &amp;= ~flag;
}
</code></pre>

<p>basically I want to do that for any [Flag] enum, for instance</p>

<pre><code>[Flags]
public enum FlagEn
{
   None = 0x0000,
   UseSkill = 0x0001
}
</code></pre>
