1 instantiation of State
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (1)
39var state = new State(document, fallbackOptions);
18 references to State
Microsoft.CodeAnalysis.Features (18)
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (7)
48var state = await CreateStateAsync(document, textSpan, fallbackOptions, cancellationToken).ConfigureAwait(false); 61var state = await CreateStateAsync(document, textSpan, fallbackOptions, cancellationToken).ConfigureAwait(false); 83private async Task<State> CreateStateAsync(Document document, TextSpan textSpan, CodeCleanupOptionsProvider fallbackOptions, CancellationToken cancellationToken) 92return State.Generate(semanticDocument, nodeToAnalyze, fallbackOptions, cancellationToken); 95private ImmutableArray<CodeAction> CreateActions(State state, CancellationToken cancellationToken) 169private CodeAction GetCodeAction(State state, string fileName, MoveTypeOperationKind operationKind) 188private static bool AnyTopLevelTypeMatchesDocumentName(State state, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.Editor.cs (3)
25State state, 35protected State State { get; } 61public static Editor GetEditor(MoveTypeOperationKind operationKind, TService service, State state, string fileName, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeCodeAction.cs (2)
19private readonly State _state; 27State state,
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (1)
29State state,
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
26public MoveTypeNamespaceScopeEditor(TService service, State state, string fileName, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameFileEditor.cs (1)
18public RenameFileEditor(TService service, State state, string fileName, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameTypeEditor.cs (1)
17public RenameTypeEditor(TService service, State state, string fileName, CancellationToken cancellationToken)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (2)
35internal static State Generate( 39var state = new State(document, fallbackOptions);