1 instantiation of WorkspaceRegistration
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Workspace_Registration.cs (1)
76return s_bufferToWorkspaceRegistrationMap.GetValue(textContainer, static _ => new WorkspaceRegistration());
17 references to WorkspaceRegistration
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
48private readonly WorkspaceRegistration _workspaceRegistration;
Shared\Tagging\EventSources\AbstractWorkspaceTrackingTaggerEventSource.cs (1)
17private readonly WorkspaceRegistration _workspaceRegistration;
Tagging\AbstractAsynchronousTaggerProvider.TagSource.cs (1)
60private readonly WorkspaceRegistration _workspaceRegistration;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActionsSource.State.cs (1)
23public readonly WorkspaceRegistration Registration;
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Workspace_Registration.cs (6)
15private static readonly ConditionalWeakTable<SourceTextContainer, WorkspaceRegistration> s_bufferToWorkspaceRegistrationMap = new(); 27var registration = GetWorkspaceRegistration(textContainer); 43var registration = GetWorkspaceRegistration(textContainer); 58var registration = GetWorkspaceRegistration(textContainer); 67/// Returns a <see cref="WorkspaceRegistration" /> for a given text container. 69public static WorkspaceRegistration GetWorkspaceRegistration(SourceTextContainer textContainer)
Microsoft.VisualStudio.LanguageServices (7)
ProjectSystem\MiscellaneousFilesWorkspace.cs (7)
42/// <see cref="WorkspaceRegistration"/> instances for all open buffers being tracked by by this object 45private IBidirectionalMap<string, WorkspaceRegistration> _monikerToWorkspaceRegistration = BidirectionalMap<string, WorkspaceRegistration>.Empty; 157var registration = Workspace.GetWorkspaceRegistration(textBuffer.AsTextContainer()); 182var workspaceRegistration = (WorkspaceRegistration)sender; 258private static bool IsClaimedByAnotherWorkspace(WorkspaceRegistration registration)