src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.AbstractCodeAction.cs (1)
51_document.Project.Solution,
Completion\CompletionService_GetCompletions.cs (7)
48var passThroughOptions = options ?? document.Project.Solution.Options;
78var providers = _providerManager.GetFilteredProviders(document.Project, roles, trigger, options);
137if (ShouldTriggerCompletion(document.Project, document.Project.Services, text, caretPosition, trigger, options, passThroughOptions, roles))
139var triggeredProviders = providers.Where(p => p.ShouldTriggerCompletion(document.Project.Services, text, caretPosition, trigger, options, passThroughOptions)).ToImmutableArrayOrEmpty();
155var extensionManager = document.Project.Solution.Services.GetRequiredService<IExtensionManager>();
329var extensionManager = document.Project.Solution.Services.GetRequiredService<IExtensionManager>();
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.AbstractCodeAction.cs (1)
51_document.Project.Solution,
FindSymbols\SyntaxTree\SyntaxTreeIndex.cs (6)
39=> GetRequiredIndexAsync(SolutionKey.ToSolutionKey(document.Project.Solution), document.Project.State, (DocumentState)document.State, cancellationToken);
45=> GetIndexAsync(SolutionKey.ToSolutionKey(document.Project.Solution), document.Project.State, (DocumentState)document.State, cancellationToken);
51=> GetIndexAsync(SolutionKey.ToSolutionKey(document.Project.Solution), document.Project.State, (DocumentState)document.State, loadOnly, cancellationToken);
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.cs (6)
47=> GetRequiredIndexAsync(SolutionKey.ToSolutionKey(document.Project.Solution), document.Project.State, (DocumentState)document.State, cancellationToken);
53=> GetIndexAsync(SolutionKey.ToSolutionKey(document.Project.Solution), document.Project.State, (DocumentState)document.State, cancellationToken);
59=> GetIndexAsync(SolutionKey.ToSolutionKey(document.Project.Solution), document.Project.State, (DocumentState)document.State, loadOnly, cancellationToken);
Workspace\Solution\Document.cs (19)
116var projectVersion = this.Project.Version;
133var projectVersion = this.Project.Version;
155return this.SupportsSyntaxTree && this.Project.SupportsCompilation;
333this.Project.Solution.OnSemanticModelObtained(this.Id, semanticModel);
352var compilation = await this.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false);
386=> this.Project.Solution.WithDocumentSourceCodeKind(this.Id, kind).GetRequiredDocument(Id);
392=> this.Project.Solution.WithDocumentText(this.Id, text, PreservationMode.PreserveIdentity).GetRequiredDocument(Id);
398=> this.Project.Solution.WithDocumentSyntaxRoot(this.Id, root, PreservationMode.PreserveIdentity).GetRequiredDocument(Id);
404=> this.Project.Solution.WithDocumentName(this.Id, name).GetRequiredDocument(Id);
410=> this.Project.Solution.WithDocumentFolders(this.Id, folders).GetRequiredDocument(Id);
416=> this.Project.Solution.WithDocumentFilePath(this.Id, filePath).GetRequiredDocument(Id);
486var filteredDocumentIds = this.Project.Solution.GetRelatedDocumentIds(this.Id);
516if (!forceFreeze && this.Project.TryGetCompilation(out _))
519var solution = this.Project.Solution;
526this.Project.SupportsCompilation)
528var newSolution = this.Project.Solution.WithFrozenPartialCompilationIncludingSpecificDocument(this.Id, cancellationToken);
555InitializeCachedOptions(Project.Solution.Options);
567return new DocumentOptionSet(options, arg.solutionOptions, arg.self.Project.Language);
577var provider = (ProjectState.ProjectHostAnalyzerConfigOptionsProvider)Project.State.HostAnalyzerOptions.AnalyzerConfigOptionsProvider;