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)
1310syntaxMaps = new SyntaxMaps(newModel.SyntaxTree, matchingNodes, runtimeRudeEdits); 1449newActiveStatements[activeStatementIndex] = GetActiveStatementWithSpan(oldActiveStatements[activeStatementIndex], newModel.SyntaxTree, newSpan, diagnostics, cancellationToken); 1480syntaxMaps = new SyntaxMaps(newModel.SyntaxTree); 2783if (oldSymbol == null || oldDeclaration == null || oldDeclaration != null && oldDeclaration.SyntaxTree != oldModel.SyntaxTree) 2787else if (newSymbol == null || newDeclaration == null || newDeclaration != null && newDeclaration.SyntaxTree != newModel.SyntaxTree) 4004var oldRoot = oldModel.SyntaxTree.GetRoot(cancellationToken); 4035var newRoot = newModel.SyntaxTree.GetRoot(cancellationToken); 5099var node = analyzer.GetSymbolDeclarationSyntax(newDiagnosticSymbol, newModel.SyntaxTree, cancellationToken); 5114return newModel.SyntaxTree.GetRoot(cancellationToken); 5156span: (locationNode.SyntaxTree == newModel.SyntaxTree) ?
EditAndContinue\DocumentSemanticModel.cs (1)
13/// The <see cref="SyntaxTree"/> is empty in the latter case.