private bool IsCandidateLibrary(RuntimeLibrary library) { return library.Dependencies.Any(dependency => string.Equals(AssemblyRoot, dependency.Name, StringComparison.Ordinal)); } }