anchor.diff:    directives: const [
       EventDir,
     ],
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class EventDirectiveComponent {
  +  @ViewChild(EventDir)
  +  EventDir directive;
  +
     void doNothing() {}
   }
   
  
positive.code:   directives: const [
      MyDir,
    ],
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class UnboundDirectiveInputComponent {}
  
  @Directive(
    selector: '[no-duplicate]',
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class DuplicateDir {
    DuplicateDir(HtmlElement element) {
  
negative.code:   directives: const [
      ChildComponent,
    ],
  )
  class ParentComponent {}
  
  