8 references to GetAnalyzerConfigDocument
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1086
var analyzerConfigDocument = project.
GetAnalyzerConfigDocument
(analyzerConfigDoc.Id);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.SolutionCreator.cs (1)
531
var document = project.GetDocument(documentId) ?? project.GetAdditionalDocument(documentId) ?? project.
GetAnalyzerConfigDocument
(documentId);
Microsoft.CodeAnalysis.Workspaces (6)
Shared\Extensions\ProjectExtensions.cs (1)
44
=> project.
GetAnalyzerConfigDocument
(documentId) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.The_solution_does_not_contain_the_specified_document);
Workspace\Solution\Project.cs (2)
206
public IEnumerable<AnalyzerConfigDocument> AnalyzerConfigDocuments => AnalyzerConfigDocumentIds.Select(
GetAnalyzerConfigDocument
)!;
275
var document = GetDocument(documentId) ?? GetAdditionalDocument(documentId) ??
GetAnalyzerConfigDocument
(documentId);
Workspace\Solution\Solution.cs (1)
290
return this.GetProject(documentId.ProjectId)!.
GetAnalyzerConfigDocument
(documentId);
Workspace\Workspace.cs (2)
1959
var document = projectChanges.NewProject.
GetAnalyzerConfigDocument
(documentId)!;
1984
var newDoc = projectChanges.NewProject.
GetAnalyzerConfigDocument
(documentId)!;