1 instantiation of DocumentAnalysisResults
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DocumentAnalysisResults.cs (1)
192=> new(
23 references to DocumentAnalysisResults
Microsoft.CodeAnalysis.Features (22)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (6)
505public async Task<DocumentAnalysisResults> AnalyzeDocumentAsync( 570return DocumentAnalysisResults.SyntaxErrors(newDocument.Id, filePath, [], syntaxError, analysisStopwatch.Elapsed, hasChanges); 581return DocumentAnalysisResults.Unchanged(newDocument.Id, filePath, analysisStopwatch.Elapsed); 589return DocumentAnalysisResults.SyntaxErrors(newDocument.Id, filePath, [new RudeEditDiagnostic(RudeEditKind.ExperimentalFeaturesEnabled, default)], syntaxError: null, analysisStopwatch.Elapsed, hasChanges); 598return DocumentAnalysisResults.SyntaxErrors(newDocument.Id, filePath, [new RudeEditDiagnostic(RudeEditKind.NotSupportedByRuntime, default)], syntaxError: null, analysisStopwatch.Elapsed, hasChanges); 702return DocumentAnalysisResults.SyntaxErrors(newDocument.Id, filePath, [diagnostic], syntaxError: null, analysisStopwatch.Elapsed, hasChanges);
EditAndContinue\DocumentAnalysisResults.cs (2)
191public static DocumentAnalysisResults SyntaxErrors(DocumentId documentId, string filePath, ImmutableArray<RudeEditDiagnostic> rudeEdits, Diagnostic? syntaxError, TimeSpan elapsedTime, bool hasChanges) 210public static DocumentAnalysisResults Unchanged(DocumentId documentId, string filePath, TimeSpan elapsedTime)
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (5)
27private readonly Dictionary<DocumentId, (AsyncLazy<DocumentAnalysisResults> results, Project baseProject, Document document, ImmutableArray<ActiveStatementLineSpan> activeStatementSpans)> _analyses = []; 32public async ValueTask<ImmutableArray<DocumentAnalysisResults>> GetDocumentAnalysesAsync( 62public async ValueTask<DocumentAnalysisResults> GetDocumentAnalysisAsync( 82AsyncLazy<DocumentAnalysisResults> lazyResults; 164private AsyncLazy<DocumentAnalysisResults> GetDocumentAnalysisNoLock(Project baseProject, Document document, ImmutableArray<ActiveStatementLineSpan> activeStatementSpans)
EditAndContinue\EditSession.cs (8)
155public async Task<ImmutableArray<Diagnostic>?> GetModuleDiagnosticsAsync(Guid mvid, Project oldProject, Project newProject, ImmutableArray<DocumentAnalysisResults> documentAnalyses, CancellationToken cancellationToken) 183private static async IAsyncEnumerable<Location> CreateChangedLocationsAsync(Project oldProject, Project newProject, ImmutableArray<DocumentAnalysisResults> documentAnalyses, [EnumeratorCancellation] CancellationToken cancellationToken) 186foreach (var documentAnalysis in documentAnalyses) 535private async Task<(ImmutableArray<DocumentAnalysisResults> results, ImmutableArray<Diagnostic> diagnostics)> AnalyzeDocumentsAsync( 575private static ProjectAnalysisSummary GetProjectAnalysisSummary(ImmutableArray<DocumentAnalysisResults> documentAnalyses) 580foreach (var analysis in documentAnalyses) 624ImmutableArray<DocumentAnalysisResults> changedDocumentAnalyses, 636foreach (var analysis in changedDocumentAnalyses)
EditAndContinue\IEditAndContinueAnalyzer.cs (1)
16Task<DocumentAnalysisResults> AnalyzeDocumentAsync(
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
183var result = Analyzer.AnalyzeDocumentAsync(oldProject, lazyOldActiveStatementMap, newDocument, newActiveStatementSpans, lazyCapabilities, log, CancellationToken.None).Result;