FindHandlerForFile() static private method

static private FindHandlerForFile ( FilePath file ) : ItemTypeNode
file FilePath
return ItemTypeNode
 public bool CanReadFile(FilePath file, Type expectedType)
 {
     if (expectedType.IsAssignableFrom(typeof(Solution)) && slnFileFormat.CanReadFile(file, this))
     {
         return(true);
     }
     else if (expectedType.IsAssignableFrom(typeof(SolutionEntityItem)))
     {
         ItemTypeNode node = MSBuildProjectService.FindHandlerForFile(file);
         if (node == null)
         {
             return(false);
         }
         return(toolsVersion == ReadToolsVersion(file));
     }
     return(false);
 }