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)
48var state = await CreateStateAsync(document, textSpan, cancellationToken).ConfigureAwait(false); 54var state = await CreateStateAsync(document, textSpan, cancellationToken).ConfigureAwait(false); 74private async Task<State?> CreateStateAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken) 84private ImmutableArray<CodeAction> CreateActions(State? state, CancellationToken cancellationToken) 161private MoveTypeCodeAction GetCodeAction(State state, string fileName, MoveTypeOperationKind operationKind) 180private 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)
28State state,
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
23TService service, State state, string fileName, CancellationToken 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);