src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/SpecialFileProviders/AbstractSpecialFileProvider.cs
/// <summary>
/// Find a file with the given filename within the given node.
/// </summary>
Find a file with the given filename within the given node.
Find a file with the given filename within the given node .
private IProjectTree FindFileWithinNode(IProjectTree parentNode, string fileName)
        {
            parentNode.TryFindImmediateChild(fileName, out IProjectTree fileNode);
            if (fileNode != null && fileNode.IsFolder)
            {
                return null;
            }
            return fileNode;
        }
private IProjectTree FindFileWithinNode ( IProjectTree parentNode , string fileName ) { parentNode . TryFindImmediateChild ( fileName , out IProjectTree fileNode ) ; if ( fileNode != null && fileNode . IsFolder ) { return null ; } return fileNode ; }
Find a file with the given filename within the given node.
Find a file with the given filename within the given node .
// The user has created a folder with this name which means we don't have a special file.
parentNode
IProjectTree
fileName
string