5 instantiations of AnalyzerConfigDocumentState
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\Solution\AnalyzerConfigDocumentState.cs (3)
41=> new AnalyzerConfigDocumentState( 51=> new AnalyzerConfigDocumentState( 71return new AnalyzerConfigDocumentState(
Workspace\Solution\ProjectState.cs (2)
106AnalyzerConfigDocumentStates = new TextDocumentStates<AnalyzerConfigDocumentState>(projectInfoFixed.AnalyzerConfigDocuments, info => new AnalyzerConfigDocumentState(languageServices.SolutionServices, info, loadTextOptions)); 296typeof(TDocumentState) == typeof(AnalyzerConfigDocumentState) ? new AnalyzerConfigDocumentState(LanguageServices.SolutionServices, documentInfo, new LoadTextOptions(ChecksumAlgorithm)) :
32 references to AnalyzerConfigDocumentState
Microsoft.CodeAnalysis.Workspaces (32)
Workspace\Solution\AnalyzerConfigDocument.cs (1)
9internal AnalyzerConfigDocument(Project project, AnalyzerConfigDocumentState state)
Workspace\Solution\AnalyzerConfigDocumentState.cs (6)
60public new AnalyzerConfigDocumentState UpdateText(TextLoader loader, PreservationMode mode) 61=> (AnalyzerConfigDocumentState)base.UpdateText(loader, mode); 63public new AnalyzerConfigDocumentState UpdateText(SourceText text, PreservationMode mode) 64=> (AnalyzerConfigDocumentState)base.UpdateText(text, mode); 66public new AnalyzerConfigDocumentState UpdateText(TextAndVersion newTextAndVersion, PreservationMode mode) 67=> (AnalyzerConfigDocumentState)base.UpdateText(newTextAndVersion, mode);
Workspace\Solution\Project.cs (1)
472(documentId, project) => project.State.AnalyzerConfigDocumentStates.TryGetState(documentId, out var state) ? new AnalyzerConfigDocument(project, state) : null;
Workspace\Solution\ProjectState.AnalyzerConfigOptionsCache.cs (1)
22private readonly struct AnalyzerConfigOptionsCache(TextDocumentStates<AnalyzerConfigDocumentState> analyzerConfigDocumentStates, StructuredAnalyzerConfigOptions fallbackOptions)
Workspace\Solution\ProjectState.cs (11)
47public readonly TextDocumentStates<AnalyzerConfigDocumentState> AnalyzerConfigDocumentStates; 73TextDocumentStates<AnalyzerConfigDocumentState> analyzerConfigDocumentStates, 106AnalyzerConfigDocumentStates = new TextDocumentStates<AnalyzerConfigDocumentState>(projectInfoFixed.AnalyzerConfigDocuments, info => new AnalyzerConfigDocumentState(languageServices.SolutionServices, info, loadTextOptions)); 141typeof(TDocumentState) == typeof(AnalyzerConfigDocumentState) ? AnalyzerConfigDocumentStates : 296typeof(TDocumentState) == typeof(AnalyzerConfigDocumentState) ? new AnalyzerConfigDocumentState(LanguageServices.SolutionServices, documentInfo, new LoadTextOptions(ChecksumAlgorithm)) : 685TextDocumentStates<AnalyzerConfigDocumentState>? analyzerConfigDocumentStates = null, 883public ProjectState AddAnalyzerConfigDocuments(ImmutableArray<AnalyzerConfigDocumentState> documents) 895private ProjectState CreateNewStateForChangedAnalyzerConfig(TextDocumentStates<AnalyzerConfigDocumentState> newAnalyzerConfigDocumentStates, StructuredAnalyzerConfigOptions fallbackOptions) 1011public ProjectState UpdateAnalyzerConfigDocument(AnalyzerConfigDocumentState newDocument) 1014public ProjectState UpdateAnalyzerConfigDocuments(ImmutableArray<AnalyzerConfigDocumentState> oldDocuments, ImmutableArray<AnalyzerConfigDocumentState> newDocuments)
Workspace\Solution\Solution.cs (2)
1112=> WithCompilationState(CompilationState.AddDocumentsToMultipleProjects<AnalyzerConfigDocumentState>(documentInfos)); 1175=> WithCompilationState(CompilationState.RemoveDocumentsFromMultipleProjects<AnalyzerConfigDocumentState>(documentIds));
Workspace\Solution\SolutionCompilationState.cs (5)
609UpdateDocuments<AnalyzerConfigDocumentState>(info.AnalyzerConfigDocuments); 895ImmutableArray<AnalyzerConfigDocumentState> analyzerConfigNewDocumentStates => GetUpdateAnalyzerConfigDocumentsTranslationAction(oldProjectState, analyzerConfigNewDocumentStates), 913TranslationAction GetUpdateAnalyzerConfigDocumentsTranslationAction(ProjectState oldProjectState, ImmutableArray<AnalyzerConfigDocumentState> newDocumentStates) 1736ImmutableArray<AnalyzerConfigDocumentState> _ => new TranslationAction.TouchAnalyzerConfigDocumentsAction(oldProject, oldProject.RemoveAnalyzerConfigDocuments(documentIds)), 1745ImmutableArray<AnalyzerConfigDocumentState> analyzerConfigDocumentStates => new TranslationAction.TouchAnalyzerConfigDocumentsAction(oldProject, oldProject.AddAnalyzerConfigDocuments(analyzerConfigDocumentStates)),
Workspace\Solution\SolutionState.cs (5)
307private AnalyzerConfigDocumentState GetRequiredAnalyzerConfigDocumentState(DocumentId documentId) 1032var oldDocument = GetRequiredAnalyzerConfigDocumentState(documentId); 1080var oldDocument = GetRequiredAnalyzerConfigDocumentState(documentId); 1134var oldDocument = GetRequiredAnalyzerConfigDocumentState(documentId); 1165private StateChange UpdateAnalyzerConfigDocumentState(AnalyzerConfigDocumentState newDocument)