1 instantiation of State
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (1)
35var state = new State(document);
17 references to State
Microsoft.CodeAnalysis.Features (17)
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (6)
47var state = await CreateStateAsync(document, textSpan, cancellationToken).ConfigureAwait(false); 60var state = await CreateStateAsync(document, textSpan, cancellationToken).ConfigureAwait(false); 82private async Task<State> CreateStateAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken) 94private ImmutableArray<CodeAction> CreateActions(State state, CancellationToken cancellationToken) 168private CodeAction GetCodeAction(State state, string fileName, MoveTypeOperationKind operationKind) 187private static bool AnyTopLevelTypeMatchesDocumentName(State state, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.Editor.cs (3)
22State state, 26protected State State { get; } = state; 52public static Editor GetEditor(MoveTypeOperationKind operationKind, TService service, State state, string fileName, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeCodeAction.cs (2)
20private readonly State _state; 28State state,
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (1)
26State state,
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
23private sealed class MoveTypeNamespaceScopeEditor(TService service, State state, string fileName, CancellationToken cancellationToken) : Editor(service, state, fileName, cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameFileEditor.cs (1)
16private sealed class RenameFileEditor(TService service, State state, string fileName, CancellationToken cancellationToken) : Editor(service, state, fileName, cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameTypeEditor.cs (1)
15private sealed class RenameTypeEditor(TService service, State state, string fileName, CancellationToken cancellationToken) : Editor(service, state, fileName, cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (2)
31internal static State Generate( 35var state = new State(document);