11 references to VisualBasicSyntaxContext
Microsoft.CodeAnalysis.VisualBasic.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
301
Friend Function IsEnumMemberNameContext(syntaxTree As SyntaxTree, context As
VisualBasicSyntaxContext
) As Boolean
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContext.vb (1)
158
Public Shared Function CreateContext(document As Document, semanticModel As SemanticModel, position As Integer, cancellationToken As CancellationToken) As
VisualBasicSyntaxContext
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContextExtensions.vb (8)
13
Friend Function IsAccessibleEventContext(context As
VisualBasicSyntaxContext
, startAtEnclosingBaseType As Boolean) As Boolean
38
Friend Function IsFollowingCompleteStatement(Of TParent As SyntaxNode)(context As
VisualBasicSyntaxContext
, childGetter As Func(Of TParent, StatementSyntax)) As Boolean
59
Friend Function IsAfterStatementOfKind(context As
VisualBasicSyntaxContext
, ParamArray kinds As SyntaxKind()) As Boolean
73
Friend Function IsInStatementBlockOfKind(context As
VisualBasicSyntaxContext
, kind As SyntaxKind) As Boolean
78
Friend Function IsInStatementBlockOfKind(context As
VisualBasicSyntaxContext
, ParamArray kinds As SyntaxKind()) As Boolean
82
Private Function IsInStatementBlockHelper(Of TArg)(context As
VisualBasicSyntaxContext
, predicate As Func(Of SyntaxNode, TArg, Boolean), arg As TArg) As Boolean
113
Public Function IsDelegateCreationContext(context As
VisualBasicSyntaxContext
) As Boolean
135
Public Function CanDeclareCustomEventAccessor(context As
VisualBasicSyntaxContext
, accessorBlockKind As SyntaxKind) As Boolean
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContextService.vb (1)
21
Return
VisualBasicSyntaxContext
.CreateContext(document, semanticModel, position, cancellationToken)