private static List <string> FindFilePaths(IEnumerable <string> directories, string assemblyName) { #if !SILVERLIGHT return(directories.Select(d => Path.Combine(d, assemblyName)).Where(f => IOHelpers.FileExists(f)).ToList()); #else return(new List <string>()); #endif }
private static List <string> FindFilePaths(IEnumerable <string> directories, string assemblyName) { return(directories.Select(d => Path.Combine(d, assemblyName)).Where(f => IOHelpers.FileExists(f)).ToList()); }