52 references to LinkResult
Microsoft.CodeAnalysis.VisualBasic (52)
Parser\BlockContexts\BlockContext.vb (10)
356
Friend MustOverride Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
401
Friend Function UseSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext, Optional AddMissingTerminator As Boolean = False) As
LinkResult
411
Return
LinkResult
.Used Or
LinkResult
.MissingTerminator
414
Return
LinkResult
.Used
417
Friend Function TryUseStatement(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
423
Return
LinkResult
.NotUsed
540
Friend Function TryLinkStatement(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
576
Return
LinkResult
.Crumble
589
Return
LinkResult
.NotUsed
Parser\BlockContexts\CaseBlockContext.vb (1)
40
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
Parser\BlockContexts\CatchPartContext.vb (1)
36
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
Parser\BlockContexts\CompilationUnitContext.vb (1)
80
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
Parser\BlockContexts\DeclarationContext.vb (6)
249
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
316
Return
LinkResult
.Crumble
331
Return
LinkResult
.Crumble
338
Return
LinkResult
.Crumble
343
Return
LinkResult
.Crumble
354
Return
LinkResult
.NotUsed
Parser\BlockContexts\EnumDeclarationBlockContext.vb (2)
53
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
78
Return
LinkResult
.Crumble
Parser\BlockContexts\EventBlockContext.vb (1)
54
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
Parser\BlockContexts\ExecutableStatementContext.vb (7)
89
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
113
Return
LinkResult
.NotUsed
124
Return
LinkResult
.NotUsed
140
Return
LinkResult
.NotUsed
154
Return
LinkResult
.NotUsed
189
Return
LinkResult
.Crumble
200
Return
LinkResult
.NotUsed
Parser\BlockContexts\FinallyPartBlock.vb (1)
43
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
Parser\BlockContexts\IfBlockContext.vb (2)
52
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
65
Return UseSyntax(node, newContext) Or
LinkResult
.SkipTerminator
Parser\BlockContexts\IfPartContext.vb (1)
37
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (2)
149
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
190
Return
LinkResult
.Crumble
Parser\BlockContexts\MethodBlockContext.vb (2)
94
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
107
Return
LinkResult
.NotUsed
Parser\BlockContexts\NamespaceBlockContext.vb (2)
50
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
84
Return
LinkResult
.Crumble
Parser\BlockContexts\PropertyBlockContext.vb (2)
85
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
105
Return
LinkResult
.Crumble
Parser\BlockContexts\SelectBlockContext.vb (3)
60
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
77
Return UseSyntax(node, newContext) Or
LinkResult
.SkipTerminator
82
Return
LinkResult
.NotUsed
Parser\BlockContexts\TryBlockContext.vb (2)
50
Friend Overrides Function TryLinkSyntax(node As VisualBasicSyntaxNode, ByRef newContext As BlockContext) As
LinkResult
63
Return UseSyntax(node, newContext) Or
LinkResult
.SkipTerminator
Parser\Parser.vb (6)
379
Dim result As BlockContext.
LinkResult
388
result = BlockContext.
LinkResult
.NotUsed
393
result = BlockContext.
LinkResult
.NotUsed
400
If result <> BlockContext.
LinkResult
.Crumble OrElse
407
If (result And BlockContext.
LinkResult
.Used) = BlockContext.
LinkResult
.Used Then