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)
71state.SemanticDocument.Document.Name, 72state.SemanticDocument.SemanticModel, 100state.SemanticDocument.SemanticModel, 110var manyTypes = MultipleTopLevelTypeDeclarationInSourceDocument(state.SemanticDocument.Root); 113var syntaxFacts = state.SemanticDocument.Document.GetRequiredLanguageService<ISyntaxFactsService>(); 116: ClassNextToGlobalStatements(state.SemanticDocument.Root, syntaxFacts); 122state.SemanticDocument.Document.Name, 123state.SemanticDocument.SemanticModel, 189var root = state.SemanticDocument.Root; 190var 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);