anchor.diff:          }
         } else if (element is PrefixElement) {
           // Possible cases: p.C() or p.C<>()
  -        Identifier identifier = astFactory.prefixedIdentifier(
  -            astFactory.simpleIdentifier(target.token),
  -            null,
  -            astFactory.simpleIdentifier(methodName.token));
  -        Element prefixedElement = nameScope.lookupIdentifier(identifier);
  +        Element prefixedElement = element.scope.lookup2(methodName.name).getter;
           if (prefixedElement is ClassElement) {
             TypeName typeName = astFactory.typeName(
                 astFactory.prefixedIdentifier(target, node.operator, methodName),
  
positive.code:         // This isn't a constructor invocation because it's in a cascade.
          return node;
        }
        Element element = nameScope.lookupIdentifier(methodName);
        if (element is ClassElement) {
          TypeName typeName = astFactory.typeName(methodName, node.typeArguments);
          ConstructorName constructorName =
  
negative.code:         // This isn't a constructor invocation because a null aware operator is
          // being used.
        }
        Element element = nameScope.lookup2(target.name).getter;
        if (element is ClassElement) {
          // Possible case: C.n()
          var constructorElement = element.getNamedConstructor(methodName.name);
  