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