2 implementations of ActiveSession
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameService.cs (1)
178IInlineRenameSession? IInlineRenameService.ActiveSession => _activeRenameSession;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
LineCommit\CommitTestData.vb (1)
97Public ReadOnly Property ActiveSession As IInlineRenameSession Implements IInlineRenameService.ActiveSession
25 references to ActiveSession
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (1)
297if (_inlineRenameService.ActiveSession == null)
Microsoft.CodeAnalysis.EditorFeatures (7)
CodeActions\CodeActionEditHandlerService.cs (2)
118return _renameService.ActiveSession is null; 121if (_renameService.ActiveSession != null)
CodeRefactorings\EditorLayerCodeActionHelpersService.cs (1)
39return _service._renameService.ActiveSession != null;
ExtractMethod\ExtractMethodCommandHandler.cs (2)
96if (_renameService.ActiveSession != null) 98_threadingContext.JoinableTaskFactory.Run(() => _renameService.ActiveSession.CommitAsync(previewChanges: false, CancellationToken.None));
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (1)
67if (_editorOptionsService.GlobalOptions.GetOption(InlineRenameUIOptionsStorage.UseInlineAdornment) && _inlineRenameService.ActiveSession is not null)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
165if (_inlineRenameService.ActiveSession != null)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (15)
Rename\RenameCommandHandlerTests.vb (15)
530Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 568Assert.NotNull(workspace.GetService(Of IInlineRenameService).ActiveSession) 605Assert.NotNull(workspace.GetService(Of IInlineRenameService).ActiveSession) 654Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 708Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 773Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 884Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 923Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 959Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 993Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 1026Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 1068Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 1206Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession) 1241Assert.NotNull(workspace.GetService(Of IInlineRenameService).ActiveSession) 1285Assert.Null(workspace.GetService(Of IInlineRenameService).ActiveSession)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\CommitBufferManager.vb (1)
100If _inlineRenameService.ActiveSession IsNot Nothing Then
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
LineCommit\CommitTestData.vb (1)
97Public ReadOnly Property ActiveSession As IInlineRenameSession Implements IInlineRenameService.ActiveSession