Skip to content

Commit 8566ad4

Browse files
Remove redundant comments from test
Co-authored-by: CyrusNajmabadi <4564579+CyrusNajmabadi@users.noreply.github.com>
1 parent 7cc0087 commit 8566ad4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Compilers/VisualBasic/Test/Semantic/DeclaringSyntaxNodeTests.vb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -666,17 +666,14 @@ End Class
666666
Dim token = tree.GetCompilationUnitRoot().FindToken(position)
667667
Dim identifierName = token.Parent
668668

669-
' Get the symbol for the catch variable
670669
Dim localSymbol As ISymbol = model.GetSymbolInfo(identifierName).Symbol
671670
Assert.NotNull(localSymbol)
672671
Assert.Equal(SymbolKind.Local, localSymbol.Kind)
673672
Assert.Equal("exc", localSymbol.Name)
674673

675-
' Check that DeclaringSyntaxReferences returns a non-empty list
676674
Dim declaringRefs = localSymbol.DeclaringSyntaxReferences
677675
Assert.Equal(1, declaringRefs.Length)
678676

679-
' Verify the reference points to the IdentifierNameSyntax
680677
Dim declaredSyntax = declaringRefs(0).GetSyntax()
681678
Assert.NotNull(declaredSyntax)
682679
Assert.IsType(Of IdentifierNameSyntax)(declaredSyntax)

0 commit comments

Comments
 (0)