1 implementation of IProjectSnapshot
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteProjectSnapshot.cs (1)
21internal sealed class RemoteProjectSnapshot : IProjectSnapshot
22 references to IProjectSnapshot
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
ProjectSystem\TestDocumentSnapshot.cs (1)
24public IProjectSnapshot Project => throw new NotImplementedException();
Microsoft.CodeAnalysis.Razor.Workspaces (13)
CodeActions\Razor\IRoslynCodeActionHelpers.cs (1)
13Task<string> GetFormattedNewFileContentsAsync(IProjectSnapshot projectSnapshot, Uri csharpFileUri, string newFileContent, CancellationToken cancellationToken);
GoToDefinition\AbstractDefinitionService.cs (1)
156var project = documentSnapshot.Project;
ProjectSystem\IDocumentSnapshot.cs (1)
17IProjectSnapshot Project { get; }
ProjectSystem\IDocumentSnapshotExtensions.cs (1)
31var project = documentSnapshot.Project;
ProjectSystem\ISolutionQueryOperations.cs (2)
14IEnumerable<IProjectSnapshot> GetProjects(); 24ImmutableArray<IProjectSnapshot> GetProjectsContainingDocument(string documentFilePath);
RazorComponentSearchEngine.cs (1)
62foreach (var project in solutionQueryOperations.GetProjects())
Tooltip\AbstractComponentAvailabilityService.cs (5)
14public async Task<ImmutableArray<(IProjectSnapshot Project, bool IsAvailable)>> GetComponentAvailabilityAsync( 25using var result = new PooledArrayBuilder<(IProjectSnapshot, bool IsAvailable)>(capacity: projects.Length); 27foreach (var project in projects) 37protected abstract ImmutableArray<IProjectSnapshot> GetProjectsContainingDocument(string documentFilePath); 40IProjectSnapshot projectSnapshot,
Tooltip\IComponentAvailabilityService.cs (1)
17Task<ImmutableArray<(IProjectSnapshot Project, bool IsAvailable)>> GetComponentAvailabilityAsync(
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (2)
Tooltip\TestComponentAvailabilityService.cs (2)
16public Task<ImmutableArray<(IProjectSnapshot Project, bool IsAvailable)>> GetComponentAvailabilityAsync(string documentFilePath, string typeName, CancellationToken cancellationToken) 18return SpecializedTasks.EmptyImmutableArray<(IProjectSnapshot Project, bool IsAvailable)>();
Microsoft.CodeAnalysis.Remote.Razor (6)
CodeActions\RoslynCodeActionHelpers.cs (1)
24public Task<string> GetFormattedNewFileContentsAsync(IProjectSnapshot projectSnapshot, Uri csharpFileUri, string newFileContent, CancellationToken cancellationToken)
Hover\ComponentAvailabilityService.cs (1)
15protected override ImmutableArray<IProjectSnapshot> GetProjectsContainingDocument(string documentFilePath)
ProjectSystem\RemoteDocumentSnapshot.cs (1)
38public IProjectSnapshot Project => ProjectSnapshot;
ProjectSystem\RemoteSolutionSnapshot.cs (3)
56public IEnumerable<IProjectSnapshot> GetProjects() 61public ImmutableArray<IProjectSnapshot> GetProjectsContainingDocument(string documentFilePath) 75using var results = new PooledArrayBuilder<IProjectSnapshot>(capacity: documentIds.Length);