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)
65
state.
SemanticDocument
.Document.Name,
66
state.
SemanticDocument
.SemanticModel,
93
state.
SemanticDocument
.SemanticModel,
103
var manyTypes = MultipleTopLevelTypeDeclarationInSourceDocument(state.
SemanticDocument
.Root);
106
var syntaxFacts = state.
SemanticDocument
.Document.GetRequiredLanguageService<ISyntaxFactsService>();
109
: ClassNextToGlobalStatements(state.
SemanticDocument
.Root, syntaxFacts);
115
state.
SemanticDocument
.Document.Name,
116
state.
SemanticDocument
.SemanticModel,
182
var root = state.
SemanticDocument
.Root;
183
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);