// whether we can afford the time to compute the namespace to look for differences.
DartEntry libraryEntry = getReadableDartEntry(librarySource);
if (libraryEntry != null) {
Source[] includedParts = libraryEntry.getValue(DartEntry.INCLUDED_PARTS);
DartEntryImpl libraryCopy = libraryEntry.getWritableCopy();
libraryCopy.invalidateAllResolutionInformation(false);
cache.put(librarySource, libraryCopy);
workManager.add(librarySource, SourcePriority.LIBRARY);
for (Source partSource : includedParts) {
SourceEntry partEntry = cache.get(partSource);
if (partEntry instanceof DartEntry) {