1 write to Processor
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\WorkCoordinator.AbstractPriorityProcessor.cs (1)
39Processor = processor;
45 references to Processor
Microsoft.CodeAnalysis.Features (45)
SolutionCrawler\WorkCoordinator.AbstractPriorityProcessor.cs (3)
40Processor._documentTracker.NonRoslynBufferTextChanged += OnNonRoslynBufferTextChanged; 64=> SolutionCrawlerLogger.LogGlobalOperation(Processor._logAggregator); 125Processor._documentTracker.NonRoslynBufferTextChanged -= OnNonRoslynBufferTextChanged;
SolutionCrawler\WorkCoordinator.LowPriorityProcessor.cs (14)
55var preferableProjectId = Processor._documentTracker.SupportsDocumentTracking 56? Processor._documentTracker.TryGetActiveDocument()?.ProjectId 60preferableProjectId, Processor.DependencyGraph, Processor.DiagnosticAnalyzerService, 76return Task.WhenAll(Processor._highPriorityProcessor.Running, Processor._normalPriorityProcessor.Running); 84return Processor._highPriorityProcessor.HasAnyWork || Processor._normalPriorityProcessor.HasAnyWork; 100item = item.ToProjectWorkItem(Processor._listener.BeginAsyncOperation("WorkItem")); 110SolutionCrawlerLogger.LogWorkItemEnqueue(Processor._logAggregator, item.ProjectId); 133var processingSolution = Processor._registration.GetSolutionToAnalyze(); 146await Processor.RunAnalyzersAsync(analyzers, project, workItem, (a, p, c) => a.AnalyzeProjectAsync(p, semanticsChanged, reasons, c), cancellationToken).ConfigureAwait(false); 150SolutionCrawlerLogger.LogProcessProjectNotExist(Processor._logAggregator); 176SolutionCrawlerLogger.LogProcessProject(Processor._logAggregator, projectId.Id, processedEverything);
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (28)
76Processor._logAggregator, item.Language, item.DocumentId, item.InvocationReasons, item.IsLowPriority, item.ActiveMember, added); 94SolutionCrawlerLogger.LogHigherPriority(Processor._logAggregator, id.Id); 130_currentProjectProcessing, Processor.DependencyGraph, Processor.DiagnosticAnalyzerService, 163return Processor._highPriorityProcessor.Running; 171return Processor._highPriorityProcessor.HasAnyWork; 189var activeDocumentId = Processor._documentTracker.TryGetActiveDocument(); 196foreach (var visibleDocumentId in Processor._documentTracker.GetVisibleDocuments()) 212if (!Processor._documentTracker.SupportsDocumentTracking) 287var solution = Processor._registration.GetSolutionToAnalyze(); 310await Processor.ProcessDocumentAnalyzersAsync(textDocument, analyzers, workItem, cancellationToken).ConfigureAwait(false); 314SolutionCrawlerLogger.LogProcessDocumentNotExist(Processor._logAggregator); 340SolutionCrawlerLogger.LogProcessDocument(Processor._logAggregator, documentId.Id, processedEverything); 354SolutionCrawlerLogger.LogProcessOpenDocument(Processor._logAggregator, textDocument.Id.Id); 356await Processor.RunAnalyzersAsync(analyzers, textDocument, workItem, DocumentOpenAsync, cancellationToken).ConfigureAwait(false); 379SolutionCrawlerLogger.LogProcessCloseDocument(Processor._logAggregator, textDocument.Id.Id); 381await Processor.RunAnalyzersAsync(analyzers, textDocument, workItem, DocumentCloseAsync, cancellationToken).ConfigureAwait(false); 408await Processor.RunAnalyzersAsync(analyzers, document, workItem, DocumentResetAsync, cancellationToken).ConfigureAwait(false); 414await Processor.RunAnalyzersAsync(analyzers, document, workItem, (a, d, c) => AnalyzeSyntaxAsync(a, d, reasons, c), cancellationToken).ConfigureAwait(false); 422await Processor.RunAnalyzersAsync(analyzers, sourceDocument, workItem, (a, d, c) => a.AnalyzeDocumentAsync(d, null, reasons, c), cancellationToken).ConfigureAwait(false); 477await Processor.RunAnalyzersAsync( 479Processor._registration.GetSolutionToAnalyze(), 482foreach (var id in Processor.GetOpenDocumentIds()) 487SolutionCrawlerLogger.LogResetStates(Processor._logAggregator); 496var currentSolution = Processor._registration.GetSolutionToAnalyze(); 525Processor._registration.CorrelationId, oldSolution, Processor._logAggregator, Analyzers); 527Processor.ResetLogAggregator();