public override ImmutableArray <DiagnosticAnalyzer> GetAnalyzers(string language) { FileWatcherService.WatchDirectories(_visualStudioAnalyzer, new [] { _visualStudioAnalyzer.FullPath.ParentDirectory }).Ignore(); return(_underlying.GetAnalyzers(language)); }
public override ImmutableArray <DiagnosticAnalyzer> GetAnalyzers(string language) { _visualStudioAnalyzer._tracker.EnsureSubscription(); return(_underlying.GetAnalyzers(language)); }
public override ImmutableArray <DiagnosticAnalyzer> GetAnalyzers(string language) { // TODO: ensure the file watcher is subscribed // (tracked by https://devdiv.visualstudio.com/DevDiv/_workitems/edit/661546) return(_underlying.GetAnalyzers(language)); }