25 references to NewNode
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditAndContinue\TopLevelEditingTests.cs (1)
78
Assert.Null(edits.Edits.First().
NewNode
);
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 (12)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (12)
769
map.Add(edit.
NewNode
, edit.Kind);
1730
node = edit.
NewNode
;
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);
2482
var newTypeDeclaration = GetSymbolDeclarationSyntax(newSymbol.DeclaringSyntaxReferences.First(r => r.SyntaxTree == edit.
NewNode
!.SyntaxTree), cancellationToken);
2492
ReportUpdateRudeEdit(diagnostics, RudeEditKind.Move, edit.
NewNode
!);
2505
var (oldDeclaration, newDeclaration) = GetSymbolDeclarationNodes(oldSymbol, newSymbol, edit.OldNode, edit.
NewNode
);
2886
AnalyzeSymbolUpdate(oldSymbol, newSymbol, edit.
NewNode
, newCompilation, editScript.Match, capabilities, diagnostics, semanticEdits, syntaxMap, processedSymbols, cancellationToken);
3097
AnalyzeSymbolUpdate(oldSymbol, newSymbol, edit.
NewNode
, newCompilation, editScript.Match, capabilities, diagnostics, semanticEdits, syntaxMap, processedSymbols, cancellationToken);
3120
AnalyzeSymbolUpdate(oldSymbol, newSymbol, edit.
NewNode
, newCompilation, editScript.Match, capabilities, diagnostics, semanticEdits, syntaxMap, processedSymbols, cancellationToken);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
EditAndContinue\TopLevelEditingTests.vb (1)
27
Assert.Equal(edits.Edits.First().
NewNode
, Nothing)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (7)
2419
edit.
NewNode
.IsKind(SyntaxKind.ModifiedIdentifier) AndAlso
2420
edit.
NewNode
.Parent.IsKind(SyntaxKind.VariableDeclarator) Then
2422
If HasEdit(editMap, edit.
NewNode
.Parent.Parent, EditKind.Insert) 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)