src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/ProjectTreeFlagsExtensions.cs
/// <summary>
///     Returns a value indicating whether the specified flags exist.
/// </summary>
Returns a value indicating whether the specified flags exist.
Returns a value indicating whether the specified flags exist .
public static bool Contains(this ProjectTreeFlags source, ProjectTreeFlags flags)
        {
            var newFlags = source.Except(flags);
            return ((source.Count - newFlags.Count)) == flags.Count;
        }
public static bool Contains ( this ProjectTreeFlags source , ProjectTreeFlags flags ) { var newFlags = source . Except ( flags ) ; return ( ( source . Count - newFlags . Count ) ) == flags . Count ; }
Returns a value indicating whether the specified flags exist.
Returns a value indicating whether the specified flags exist .
ProjectTreeFlags
this
flags
ProjectTreeFlags