15 references to GetAnalyzerConfigDocument
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (2)
33=> solution.GetDocument(documentId) ?? solution.GetAdditionalDocument(documentId) ?? solution.GetAnalyzerConfigDocument(documentId); 77=> solution.GetAnalyzerConfigDocument(documentId) ?? throw CreateDocumentNotFoundException();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
1155var doc = workspace.CurrentSolution.GetAnalyzerConfigDocument(analyzerConfigDoc.Id); 1275var doc = workspace.CurrentSolution.GetAnalyzerConfigDocument(analyzerConfigDoc.Id);
Microsoft.CodeAnalysis.EditorFeatures (1)
CodeActions\CodeActionEditHandlerService.cs (1)
254return oldSolution.GetAnalyzerConfigDocument(changedAnalyzerConfigDocuments[0]);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
159solution.GetAnalyzerConfigDocument).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (2)
33=> solution.GetDocument(documentId) ?? solution.GetAdditionalDocument(documentId) ?? solution.GetAnalyzerConfigDocument(documentId); 77=> solution.GetAnalyzerConfigDocument(documentId) ?? throw CreateDocumentNotFoundException();
Workspace\Solution\Project.cs (1)
750return this.Solution.AddAnalyzerConfigDocument(id, name, text, folders, filePath).GetAnalyzerConfigDocument(id)!;
Workspace\Workspace.cs (2)
1138static (solution, docId) => solution.GetAnalyzerConfigDocument(docId), 1189static (solution, docId) => solution.GetAnalyzerConfigDocument(docId),
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
WorkspaceTests\AdhocWorkspaceTests.cs (3)
299var doc = ws.CurrentSolution.GetAnalyzerConfigDocument(docInfo.Id); 304doc = ws.CurrentSolution.GetAnalyzerConfigDocument(docInfo.Id); 312doc = ws.CurrentSolution.GetAnalyzerConfigDocument(docInfo.Id);
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.RemoveAnalyzerConfigDocumentUndoUnit.cs (1)
25=> currentSolution.GetAnalyzerConfigDocument(this.DocumentId);