1 write to OldNode
Microsoft.CodeAnalysis.Workspaces (1)
Differencing\Edit.cs (1)
34OldNode = oldNode;
29 references to OldNode
Microsoft.CodeAnalysis.CSharp.Features (4)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
2488var classifier = new EditClassifier(this, diagnostics, edit.OldNode, edit.NewNode, edit.Kind, match); 2638Debug.Assert(edit.Kind != EditKind.Update || edit.OldNode.RawKind == edit.NewNode.RawKind); 2640if (edit.Kind != EditKind.Update || !AreExceptionClausesEquivalent(edit.OldNode, edit.NewNode)) 2642AddAroundActiveStatementRudeDiagnostic(diagnostics, edit.OldNode, edit.NewNode, newStatementSpan);
Microsoft.CodeAnalysis.Features (9)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (9)
754map.Add(edit.OldNode, edit.Kind); 1745node = edit.OldNode; 2543Debug.Assert(edit.OldNode is null || edit.NewNode is null || IsNamespaceDeclaration(edit.OldNode) == IsNamespaceDeclaration(edit.NewNode)); 2547var symbolEdits = oldModel != null && IsNamespaceDeclaration(edit.OldNode ?? edit.NewNode!) 2549: GetSymbolEdits(edit.Kind, edit.OldNode, edit.NewNode, oldModel, newModel, editScript.Match, editMap, symbolCache, cancellationToken); 2603var (oldDeclaration, newDeclaration) = GetSymbolDeclarationNodes(oldSymbol, newSymbol, edit.OldNode, edit.NewNode); 2742diagnostics.Add(new RudeEditDiagnostic(RudeEditKind.Delete, diagnosticSpan, edit.OldNode, [GetDisplayName(edit.OldNode!, EditKind.Delete)]));
Microsoft.CodeAnalysis.VisualBasic.Features (4)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (4)
1915edit.OldNode.IsKind(SyntaxKind.ModifiedIdentifier) AndAlso 1916edit.OldNode.Parent.IsKind(SyntaxKind.VariableDeclarator) Then 1918If HasEdit(editMap, edit.OldNode.Parent.Parent, EditKind.Delete) Then 1934Dim classifier = New EditClassifier(Me, diagnostics, edit.OldNode, edit.NewNode, edit.Kind, match)
Microsoft.CodeAnalysis.Workspaces (12)
Differencing\Edit.cs (12)
70&& (OldNode == null) ? other.OldNode == null : OldNode.Equals(other.OldNode) 77if (OldNode != null) 79hash = Hash.Combine(OldNode.GetHashCode(), hash); 97return result + " [" + OldNode.ToString() + "]" + DisplayPosition(OldNode); 103return result + " [" + OldNode.ToString() + "]" + DisplayPosition(OldNode) + " -> [" + NewNode.ToString() + "]" + DisplayPosition(NewNode); 107return result + " [" + OldNode.ToString() + "]" + DisplayPosition(OldNode) + " -> " + DisplayPosition(NewNode);