1 write to State
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\MoveType\AbstractMoveTypeService.Editor.cs (1)
29State = state;
18 references to State
Microsoft.CodeAnalysis.Features (18)
CodeRefactorings\MoveType\AbstractMoveTypeService.Editor.cs (1)
39protected SemanticDocument SemanticDocument => State.SemanticDocument;
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (13)
83var documentWithMovedTypeFormattingOptions = await documentWithMovedType.GetSyntaxFormattingOptionsAsync(State.FallbackOptions, CancellationToken).ConfigureAwait(false); 102var sourceDocumentFormattingOptions = await sourceDocument.GetSyntaxFormattingOptionsAsync(State.FallbackOptions, CancellationToken).ConfigureAwait(false); 165var documentFormattingOptions = await document.GetDocumentFormattingOptionsAsync(State.FallbackOptions, CancellationToken).ConfigureAwait(false); 176var lineFormattingOptions = await document.GetLineFormattingOptionsAsync(State.FallbackOptions, CancellationToken).ConfigureAwait(false); 201documentEditor.RemoveNode(State.TypeNode, SyntaxRemoveOptions.KeepUnbalancedDirectives); 220spine.AddRange(State.TypeNode.GetAncestors()); 225.Where(n => FilterToTopLevelMembers(n, State.TypeNode)).ToSet(); 267var semanticFacts = State.SemanticDocument.Document.GetRequiredLanguageService<ISemanticFactsService>(); 268var typeChain = State.TypeNode.Ancestors().OfType<TTypeDeclarationSyntax>(); 272var symbol = (ITypeSymbol?)State.SemanticDocument.SemanticModel.GetDeclaredSymbol(node, CancellationToken); 292documentEditor.ReplaceNode(State.TypeNode, 306var syntaxFacts = State.SemanticDocument.Document.GetRequiredLanguageService<ISyntaxFactsService>(); 307var bannerService = State.SemanticDocument.Document.GetRequiredLanguageService<IFileBannerFactsService>();
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (2)
33var node = State.TypeNode; 34var documentToEdit = State.SemanticDocument.Document;
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameTypeEditor.cs (2)
31var symbol = State.SemanticDocument.SemanticModel.GetDeclaredSymbol(State.TypeNode, CancellationToken);