1 write to SemanticDocument
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (1)
28
SemanticDocument
= document;
15 references to SemanticDocument
Microsoft.CodeAnalysis.Features (15)
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (10)
71
state.
SemanticDocument
.Document.Name,
72
state.
SemanticDocument
.SemanticModel,
100
state.
SemanticDocument
.SemanticModel,
110
var manyTypes = MultipleTopLevelTypeDeclarationInSourceDocument(state.
SemanticDocument
.Root);
113
var syntaxFacts = state.
SemanticDocument
.Document.GetRequiredLanguageService<ISyntaxFactsService>();
116
: ClassNextToGlobalStatements(state.
SemanticDocument
.Root, syntaxFacts);
122
state.
SemanticDocument
.Document.Name,
123
state.
SemanticDocument
.SemanticModel,
189
var root = state.
SemanticDocument
.Root;
190
var semanticModel = state.
SemanticDocument
.SemanticModel;
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (5)
53
var tree =
SemanticDocument
.SyntaxTree;
54
var root =
SemanticDocument
.Root;
55
var syntaxFacts =
SemanticDocument
.Document.GetLanguageService<ISyntaxFactsService>();
58
if (
SemanticDocument
.SemanticModel.GetDeclaredSymbol(typeDeclaration, cancellationToken) is not INamedTypeSymbol typeSymbol ||
69
DocumentNameWithoutExtension = Path.GetFileNameWithoutExtension(
SemanticDocument
.Document.Name);