anchor.diff:    }
   
     /**
  -   * Build an [ElementLocationImpl] for the entity in the given [unit] of the
  -   * given [dependency], having the given [name].
  -   */
  -  ElementLocationImpl getReferencedLocation(
  -      LinkedDependency dependency, int unit, String name) {
  +   * Build the components of an [ElementLocationImpl] for the entity in the
  +   * given [unit] of the dependency located at [dependencyIndex], and having
  +   * the given [name].
  +   */
  +  List<String> getReferencedLocationComponents(
  +      int dependencyIndex, int unit, String name) {
  +    if (dependencyIndex == 0) {
  +      String referencedLibraryUri = librarySource.uri.toString();
  +      String partUri;
  +      if (unit != 0) {
  +        String uri = unlinkedUnits[0].publicNamespace.parts[unit - 1];
  +        Source partSource =
  +            summaryResynthesizer.sourceFactory.resolveUri(librarySource, uri);
  +        partUri = partSource.uri.toString();
  +      } else {
  +        partUri = referencedLibraryUri;
  +      }
  +      return <String>[referencedLibraryUri, partUri, name];
  +    }
  +    LinkedDependency dependency = linkedLibrary.dependencies[dependencyIndex];
       Source referencedLibrarySource = summaryResynthesizer.sourceFactory
           .resolveUri(librarySource, dependency.uri);
       String referencedLibraryUri = referencedLibrarySource.uri.toString();
  
positive.code:     } else {
        partUri = referencedLibraryUri;
      }
      return new ElementLocationImpl.con3(
          <String>[referencedLibraryUri, partUri, name]);
    }
  
    /**
  
negative.code:       } else if (name == 'void') {
          type = VoidTypeImpl.instance;
        } else {
          ElementLocation location = new ElementLocationImpl.con3(
              getReferencedLocationComponents(
                  linkedReference.dependency, linkedReference.unit, name));
          switch (linkedReference.kind) {
            case ReferenceKind.classOrEnum:
              element = new ClassElementHandle(summaryResynthesizer, location);
  