3 instantiations of DynamicFileInfo
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\Razor\RazorDynamicFileInfoProvider.cs (1)
46return new DynamicFileInfo(
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
996return new DynamicFileInfo(filePath, fileInfo.SourceCodeKind, fileInfo.TextLoader, fileInfo.DesignTimeOnly, fileInfo.DocumentServiceProvider);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestDynamicFileInfoProviderThatProducesFiles.cs (1)
32return Task.FromResult(new DynamicFileInfo(
17 references to DynamicFileInfo
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
IRazorDynamicFileInfoProvider.cs (1)
20/// return <see cref="DynamicFileInfo"/> for the context given
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\Razor\RazorDynamicFileInfoProvider.cs (1)
31public async Task<DynamicFileInfo?> GetDynamicFileInfoAsync(ProjectId projectId, string? projectFilePath, string filePath, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces (12)
Workspace\Host\SourceFiles\IDynamicFileInfoProvider.cs (3)
12/// Provider for the <see cref="DynamicFileInfo"/> 20/// return <see cref="DynamicFileInfo"/> for the context given 26Task<DynamicFileInfo?> GetDynamicFileInfoAsync(ProjectId projectId, string? projectFilePath, string filePath, CancellationToken cancellationToken);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (4)
47/// The map of <see cref="DocumentId"/> to <see cref="IDynamicFileInfoProvider"/> whose <see cref="DynamicFileInfo"/> got added into <see cref="Workspace"/> 205public void AddDynamicFile_NoLock(IDynamicFileInfoProvider fileInfoProvider, DynamicFileInfo fileInfo, ImmutableArray<string> folders) 493var fileInfo = await fileInfoProvider.GetDynamicFileInfoAsync( 634private DocumentInfo CreateDocumentInfoFromFileInfo(DynamicFileInfo fileInfo, ImmutableArray<string> folders)
Workspace\ProjectSystem\ProjectSystemProject.cs (5)
132/// Map of the original dynamic file path to the <see cref="DynamicFileInfo.FilePath"/> that was associated with it. 140/// The workspace snapshot will only have a document with <see cref="DynamicFileInfo.FilePath"/> (the value) but not the 926DynamicFileInfo? fileInfo = null; 990private static DynamicFileInfo FixUpDynamicFileInfo(DynamicFileInfo fileInfo, string filePath)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
TestDynamicFileInfoProviderThatProducesFiles.cs (1)
30public Task<DynamicFileInfo> GetDynamicFileInfoAsync(ProjectId projectId, string projectFilePath, string filePath, CancellationToken cancellationToken)
TestDynamicFileInfoProviderThatProducesNoFiles.cs (2)
30public Task<DynamicFileInfo> GetDynamicFileInfoAsync(ProjectId projectId, string projectFilePath, string filePath, CancellationToken cancellationToken) 31=> SpecializedTasks.Null<DynamicFileInfo>();