22 references to OldNode
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditAndContinue\TopLevelEditingTests.cs (1)
77
Assert.IsType<UsingDirectiveSyntax>(edits.Edits.First().
OldNode
);
Microsoft.CodeAnalysis.CSharp.Features (4)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
2465
var classifier = new EditClassifier(this, diagnostics, edit.
OldNode
, edit.NewNode, edit.Kind, match);
2603
Debug.Assert(edit.Kind != EditKind.Update || edit.
OldNode
.RawKind == edit.NewNode.RawKind);
2605
if (edit.Kind != EditKind.Update || !AreExceptionClausesEquivalent(edit.
OldNode
, edit.NewNode))
2607
AddAroundActiveStatementRudeDiagnostic(diagnostics, edit.
OldNode
, edit.NewNode, newStatementSpan);
Microsoft.CodeAnalysis.Features (9)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (9)
764
map.Add(edit.
OldNode
, edit.Kind);
1734
node = edit.
OldNode
;
2446
Debug.Assert(edit.
OldNode
is null || edit.NewNode is null || IsNamespaceDeclaration(edit.
OldNode
) == IsNamespaceDeclaration(edit.NewNode));
2450
var symbolEdits = oldModel != null && IsNamespaceDeclaration(edit.
OldNode
?? edit.NewNode!)
2452
: GetSymbolEdits(edit.Kind, edit.
OldNode
, edit.NewNode, oldModel, newModel, editMap, cancellationToken);
2505
var (oldDeclaration, newDeclaration) = GetSymbolDeclarationNodes(oldSymbol, newSymbol, edit.
OldNode
, edit.NewNode);
2698
diagnostics.Add(new RudeEditDiagnostic(RudeEditKind.Delete, diagnosticSpan, edit.
OldNode
, new[] { GetDisplayName(edit.
OldNode
!, EditKind.Delete) }));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
EditAndContinue\TopLevelEditingTests.vb (1)
26
Assert.IsType(Of ImportsStatementSyntax)(edits.Edits.First().
OldNode
)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (7)
2411
edit.
OldNode
.IsKind(SyntaxKind.ModifiedIdentifier) AndAlso
2412
edit.
OldNode
.Parent.IsKind(SyntaxKind.VariableDeclarator) Then
2414
If HasEdit(editMap, edit.
OldNode
.Parent.Parent, EditKind.Delete) Then
2430
Dim classifier = New EditClassifier(Me, diagnostics, edit.
OldNode
, edit.NewNode, edit.Kind, match)
2575
Debug.Assert(edit.Kind <> EditKind.Update OrElse edit.
OldNode
.RawKind = edit.NewNode.RawKind)
2577
If edit.Kind <> EditKind.Update OrElse Not AreExceptionHandlingPartsEquivalent(edit.
OldNode
, edit.NewNode) Then
2578
AddAroundActiveStatementRudeDiagnostic(diagnostics, edit.
OldNode
, edit.NewNode, newStatementSpan)