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)
1315syntaxMaps = new SyntaxMaps(newModel.SyntaxTree, matchingNodes, runtimeRudeEdits); 1454newActiveStatements[activeStatementIndex] = GetActiveStatementWithSpan(oldActiveStatements[activeStatementIndex], newModel.SyntaxTree, newSpan, diagnostics, cancellationToken); 1485syntaxMaps = new SyntaxMaps(newModel.SyntaxTree); 2808if (oldSymbol == null || oldDeclaration == null || oldDeclaration != null && oldDeclaration.SyntaxTree != oldModel.SyntaxTree) 2812else if (newSymbol == null || newDeclaration == null || newDeclaration != null && newDeclaration.SyntaxTree != newModel.SyntaxTree) 4060var oldRoot = oldModel.SyntaxTree.GetRoot(cancellationToken); 4091var newRoot = newModel.SyntaxTree.GetRoot(cancellationToken); 5222var node = analyzer.GetSymbolDeclarationSyntax(newDiagnosticSymbol, newModel.SyntaxTree, cancellationToken); 5237return newModel.SyntaxTree.GetRoot(cancellationToken); 5279span: (locationNode.SyntaxTree == newModel.SyntaxTree) ?
EditAndContinue\DocumentSemanticModel.cs (1)
13/// The <see cref="SyntaxTree"/> is empty in the latter case.