anchor.diff:    /// is deprecated.
     bool _inDeprecatedMember;
   
  +  /// A flag indicating whether a surrounding member is annotated as
  +  /// `@doNotStore`.
  +  bool _inDoNotStoreMember;
  +
     /// The error reporter by which errors will be reported.
     final ErrorReporter _errorReporter;
   
  
positive.code:   @override
    void visitMethodDeclaration(MethodDeclaration node) {
      bool wasInDeprecatedMember = _inDeprecatedMember;
      ExecutableElement element = node.declaredElement;
      Element enclosingElement = element?.enclosingElement;
  
  
negative.code:     _invalidAccessVerifier._enclosingClass = element;
  
      bool wasInDeprecatedMember = _inDeprecatedMember;
      bool wasInDoNotStoreMember = _inDoNotStoreMember;
      if (element != null && element.hasDeprecated) {
        _inDeprecatedMember = true;
      }
      if (element != null && element.hasDoNotStore) {
        _inDoNotStoreMember = true;
      }
  
      try {
  