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