1 write to SemanticDocument
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (1)
28SemanticDocument = document;
15 references to SemanticDocument
Microsoft.CodeAnalysis.Features (15)
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (10)
65state.SemanticDocument.Document.Name, 66state.SemanticDocument.SemanticModel, 93state.SemanticDocument.SemanticModel, 103var manyTypes = MultipleTopLevelTypeDeclarationInSourceDocument(state.SemanticDocument.Root); 106var syntaxFacts = state.SemanticDocument.Document.GetRequiredLanguageService<ISyntaxFactsService>(); 109: ClassNextToGlobalStatements(state.SemanticDocument.Root, syntaxFacts); 115state.SemanticDocument.Document.Name, 116state.SemanticDocument.SemanticModel, 182var root = state.SemanticDocument.Root; 183var semanticModel = state.SemanticDocument.SemanticModel;
CodeRefactorings\MoveType\AbstractMoveTypeService.State.cs (5)
53var tree = SemanticDocument.SyntaxTree; 54var root = SemanticDocument.Root; 55var syntaxFacts = SemanticDocument.Document.GetLanguageService<ISyntaxFactsService>(); 58if (SemanticDocument.SemanticModel.GetDeclaredSymbol(typeDeclaration, cancellationToken) is not INamedTypeSymbol typeSymbol || 69DocumentNameWithoutExtension = Path.GetFileNameWithoutExtension(SemanticDocument.Document.Name);