/// <summary> /// Returns a value indicating whether the specified flags has the specified flag. /// </summary> public static bool HasFlag(this ProjectTreeFlags flags, ProjectTreeFlags.Common flag) { return(flags.Contains(flag)); }