public static bool IsDefined(ReleaseInstanceMode x) { if (((x != ReleaseInstanceMode.None) && (x != ReleaseInstanceMode.BeforeCall)) && (x != ReleaseInstanceMode.AfterCall)) { return(x == ReleaseInstanceMode.BeforeAndAfterCall); } return(true); }
public static bool IsDefined(ReleaseInstanceMode x) { if (((x != ReleaseInstanceMode.None) && (x != ReleaseInstanceMode.BeforeCall)) && (x != ReleaseInstanceMode.AfterCall)) { return (x == ReleaseInstanceMode.BeforeAndAfterCall); } return true; }
static public bool IsDefined(ReleaseInstanceMode x) { return x == ReleaseInstanceMode.None || x == ReleaseInstanceMode.BeforeCall || x == ReleaseInstanceMode.AfterCall || x == ReleaseInstanceMode.BeforeAndAfterCall || false; }
static public bool IsDefined(ReleaseInstanceMode x) { return (x == ReleaseInstanceMode.None || x == ReleaseInstanceMode.BeforeCall || x == ReleaseInstanceMode.AfterCall || x == ReleaseInstanceMode.BeforeAndAfterCall || false); }