2 writes to AnalyzerConfigDocumentStates
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
80
AnalyzerConfigDocumentStates
= analyzerConfigDocumentStates;
102
AnalyzerConfigDocumentStates
= new TextDocumentStates<AnalyzerConfigDocumentState>(projectInfoFixed.AnalyzerConfigDocuments, info => new AnalyzerConfigDocumentState(languageServices.SolutionServices, info, loadTextOptions));
15 references to AnalyzerConfigDocumentStates
Microsoft.CodeAnalysis.Workspaces (15)
Workspace\Solution\Project.cs (3)
190
internal IReadOnlyList<DocumentId> AnalyzerConfigDocumentIds => State.
AnalyzerConfigDocumentStates
.Ids;
224
=> State.
AnalyzerConfigDocumentStates
.Contains(documentId);
472
(documentId, project) => project.State.
AnalyzerConfigDocumentStates
.TryGetState(documentId, out var state) ? new AnalyzerConfigDocument(project, state) : null;
Workspace\Solution\ProjectChanges.cs (6)
112
=> NewProject.State.
AnalyzerConfigDocumentStates
.GetAddedStateIds(OldProject.State.
AnalyzerConfigDocumentStates
);
144
=> NewProject.State.
AnalyzerConfigDocumentStates
.GetChangedStateIds(OldProject.State.
AnalyzerConfigDocumentStates
);
162
=> NewProject.State.
AnalyzerConfigDocumentStates
.GetRemovedStateIds(OldProject.State.
AnalyzerConfigDocumentStates
);
Workspace\Solution\ProjectState.cs (2)
104
_analyzerConfigOptionsCache = new AnalyzerConfigOptionsCache(
AnalyzerConfigDocumentStates
, fallbackAnalyzerOptions);
134
typeof(TDocumentState) == typeof(AnalyzerConfigDocumentState) ?
AnalyzerConfigDocumentStates
:
Workspace\Solution\ProjectState_Checksum.cs (1)
49
var analyzerConfigDocumentChecksumsTask =
AnalyzerConfigDocumentStates
.GetDocumentChecksumsAndIdsAsync(cancellationToken);
Workspace\Solution\SolutionCompilationState.cs (1)
893
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.
AnalyzerConfigDocumentStates
.GetRequiredState(s.Id), oldProjectState);
Workspace\Solution\SolutionState.cs (2)
298
this.GetProjectState(documentId.ProjectId)!.
AnalyzerConfigDocumentStates
.Contains(documentId);
308
=> GetRequiredProjectState(documentId.ProjectId).
AnalyzerConfigDocumentStates
.GetRequiredState(documentId);