Skip to content

Commit 2731268

Browse files
Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/Services/SyntaxFacts/VisualBasicHeaderFacts.vb
1 parent 358b99c commit 2731268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Workspaces/SharedUtilitiesAndExtensions/Compiler/VisualBasic/Services/SyntaxFacts/VisualBasicHeaderFacts.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageService
2323
fullHeader As Boolean,
2424
ByRef typeDeclaration As SyntaxNode) As Boolean
2525
Dim typeBlock = TryGetAncestorForLocation(Of TypeBlockSyntax)(root, position, typeDeclaration)
26-
If typeBlock IsNot Nothing Then
26+
If typeBlock Is Nothing Then
2727
Return Nothing
2828
End If
2929

0 commit comments

Comments
 (0)