2 writes to SyntaxTree
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DocumentSemanticModel.cs (2)
24SyntaxTree = model.SyntaxTree; 32SyntaxTree = syntaxTree;
11 references to SyntaxTree
Microsoft.CodeAnalysis.Features (11)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (10)
1191syntaxMaps = new SyntaxMaps(newModel.SyntaxTree, matchingNodes, runtimeRudeEdits); 1330newActiveStatements[activeStatementIndex] = GetActiveStatementWithSpan(oldActiveStatements[activeStatementIndex], newModel.SyntaxTree, newSpan, diagnostics, cancellationToken); 1361syntaxMaps = new SyntaxMaps(newModel.SyntaxTree); 2664if (oldSymbol == null || oldDeclaration == null || oldDeclaration != null && oldDeclaration.SyntaxTree != oldModel.SyntaxTree) 2668else if (newSymbol == null || newDeclaration == null || newDeclaration != null && newDeclaration.SyntaxTree != newModel.SyntaxTree) 3885var oldRoot = oldModel.SyntaxTree.GetRoot(cancellationToken); 3916var newRoot = newModel.SyntaxTree.GetRoot(cancellationToken); 4980var node = analyzer.GetSymbolDeclarationSyntax(newDiagnosticSymbol, newModel.SyntaxTree, cancellationToken); 4995return newModel.SyntaxTree.GetRoot(cancellationToken); 5037span: (locationNode.SyntaxTree == newModel.SyntaxTree) ?
EditAndContinue\DocumentSemanticModel.cs (1)
13/// The <see cref="SyntaxTree"/> is empty in the latter case.