anchor.diff:  
     @Deprecated('This factory exists temporary until AnalysisSession migration.')
     factory ParsedLibraryResultImpl.tmp(LibraryElement library) {
  -    var units = <ParsedUnitResult>[];
  -
  +    var libraryPath = library.source.fullName;
       var session = library.session;
       if (session != null) {
  -      for (var unitElement in library.units) {
  -        var path = unitElement.source.fullName;
  -        var parsedUnitResult = session.getParsedUnit(path);
  -        units.add(parsedUnitResult);
  -      }
  +      return session.getParsedLibrary(libraryPath);
       } else {
         var analysisContext = library.context;
  +      var units = <ParsedUnitResult>[];
         for (var unitElement in library.units) {
           var unitSource = unitElement.source;
   
  
positive.code:         units.add(ResolvedUnitResultImpl(null, path, unitSource.uri, true,
              content, lineInfo, unitSource != library.source, unit, const []));
        }
      }
      return ResolvedLibraryResultImpl(null, library.source.fullName,
          library.source.uri, library, library.context.typeProvider, units);
    }
  }
  
  
negative.code:             unitSource != library.source,
              unit, const []));
        }
        return ParsedLibraryResultImpl(
            null, libraryPath, library.source.uri, units);
      }
    }
  
    @override
  