src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Tree/Dependencies/GraphNodes/GraphNodeIdExtensions.cs
/// <summary>
/// Finds a tree node by it's flags. If there many nodes that sattisfy flags, returns first.
/// </summary>
Finds a tree node by it's flags. If there many nodes that sattisfy flags, returns first.
Finds a tree node by it ' s flags . If there many nodes that sattisfy flags returns first .
internal static IProjectTree GetSubTreeNode(this IProjectTree self, ProjectTreeFlags flags)
        {
            foreach (IProjectTree child in self.Children)
            {
                if (child.Flags.Contains(flags))
                {
                    return child;
                }
            }
            return null;
        }
internal static IProjectTree GetSubTreeNode ( this IProjectTree self , ProjectTreeFlags flags ) { foreach ( IProjectTree child in self . Children ) { if ( child . Flags . Contains ( flags ) ) { return child ; } } return null ; }
Finds a tree node by it's flags.
Finds a tree node by it ' s flags .
IProjectTree
this
flags
ProjectTreeFlags