80 references to OpenFiles
AnalyzerRunner (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (36)
SolutionCrawler\WorkCoordinatorTests.cs (30)
86[InlineData(BackgroundAnalysisScope.OpenFiles)]
114[InlineData(BackgroundAnalysisScope.OpenFiles)]
130[InlineData(BackgroundAnalysisScope.OpenFiles)]
146[InlineData(BackgroundAnalysisScope.OpenFiles)]
164[InlineData(BackgroundAnalysisScope.OpenFiles)]
184[InlineData(BackgroundAnalysisScope.OpenFiles)]
208[InlineData(BackgroundAnalysisScope.OpenFiles)]
235[InlineData(BackgroundAnalysisScope.OpenFiles)]
254[InlineData(BackgroundAnalysisScope.OpenFiles)]
276[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
304[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
332[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
362[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
390[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
418[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
446[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
502var newAnalysisScope = BackgroundAnalysisScope.OpenFiles;
532[InlineData(BackgroundAnalysisScope.OpenFiles)]
554[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
588[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
618[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
644[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
690[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
716[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
759[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
799[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
854[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
962[InlineData(BackgroundAnalysisScope.OpenFiles, false)]
984(BackgroundAnalysisScope.OpenFiles or BackgroundAnalysisScope.FullSolution or BackgroundAnalysisScope.None, _) => 0,
991(BackgroundAnalysisScope.OpenFiles or BackgroundAnalysisScope.FullSolution or BackgroundAnalysisScope.None, _) => 0,
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (30)
Diagnostics\PullDiagnosticTests.cs (30)
42await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
56await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
78markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics: true);
115await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics: true);
140await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
163await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
191await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, pullDiagnostics: false);
209GetInitializationOptions(BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, DiagnosticMode.Default));
228GetInitializationOptions(BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, DiagnosticMode.Default));
246await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
278await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
305await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
338await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
361await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
390await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
411await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
443await using var testLspServer = await CreateTestWorkspaceFromXmlAsync(workspaceXml, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
492await using var testLspServer = await CreateTestWorkspaceFromXmlAsync(workspaceXml, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics: false);
623GetInitializationOptions(BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, DiagnosticMode.SolutionCrawlerPush, WellKnownLspServerKinds.RazorLspServer));
648GetInitializationOptions(BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, DiagnosticMode.SolutionCrawlerPush, WellKnownLspServerKinds.LiveShareLspServer));
669await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, pullDiagnostics: true);
701await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
740await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
766await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
802new[] { markup1, markup2 }, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
835new[] { markup1 }, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
851new[] { markup1 }, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics);
881new[] { markup1 }, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics: true);
985new[] { markup1, markup2 }, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, pullDiagnostics: true);
1019await using var testLspServer = await CreateTestWorkspaceWithDiagnosticsAsync(markup, BackgroundAnalysisScope.OpenFiles, useVSDiagnostics, pullDiagnostics: true);
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.VisualStudio.LanguageServices (3)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)