24 references to AsyncKeyword
Microsoft.CodeAnalysis.VisualBasic (24)
Binding\Binder_Utils.vb (3)
110
Case SyntaxKind.
AsyncKeyword
: Return SourceMemberFlags.Async
1716
SyntaxKind.
AsyncKeyword
,
1736
SyntaxKind.
AsyncKeyword
,
Declarations\DeclarationTreeBuilder.vb (1)
846
Case SyntaxKind.
AsyncKeyword
: bit = DeclarationModifiers.Async
Generated\Syntax.xml.Main.Generated.vb (2)
45190
SyntaxKind.
AsyncKeyword
,
45746
Case SyntaxKind.
AsyncKeyword
Parser\BlockContexts\BlockContext.vb (2)
67
_isWithinAsyncMethodOrLambda = DirectCast(statement, MethodStatementSyntax).Modifiers.Any(SyntaxKind.
AsyncKeyword
)
75
_isWithinAsyncMethodOrLambda = DirectCast(statement, LambdaHeaderSyntax).Modifiers.Any(SyntaxKind.
AsyncKeyword
)
Parser\ParseExpression.vb (3)
205
ElseIf keyword.Kind = SyntaxKind.
AsyncKeyword
OrElse keyword.Kind = SyntaxKind.IteratorKeyword Then
213
(possibleKeyword.Kind = SyntaxKind.
AsyncKeyword
OrElse possibleKeyword.Kind = SyntaxKind.IteratorKeyword) Then
1653
_isInAsyncMethodDeclarationHeader = modifiers.Any(SyntaxKind.
AsyncKeyword
)
Parser\Parser.vb (8)
780
ElseIf contextualKind = SyntaxKind.
AsyncKeyword
OrElse contextualKind = SyntaxKind.IteratorKeyword Then
1107
ElseIf contextualKind = SyntaxKind.
AsyncKeyword
OrElse contextualKind = SyntaxKind.IteratorKeyword Then
1870
SyntaxKind.
AsyncKeyword
,
1876
SyntaxKind.
AsyncKeyword
,
1998
ElseIf possibleKeyword.Kind = SyntaxKind.
AsyncKeyword
OrElse
2006
t = CheckFeatureAvailability(If(possibleKeyword.Kind = SyntaxKind.
AsyncKeyword
, Feature.AsyncExpressions, Feature.Iterators), t)
3614
_isInAsyncMethodDeclarationHeader = modifiers.Any(SyntaxKind.
AsyncKeyword
)
3779
_isInAsyncMethodDeclarationHeader = modifiers.Any(SyntaxKind.
AsyncKeyword
)
Scanner\KeywordTable.vb (1)
214
SyntaxKind.
AsyncKeyword
, None,
Symbols\Source\SourceMethodSymbol.vb (1)
523
binder.ReportModifierError(modifiers, ERRID.ERR_ConstructorAsync, diagBag, SyntaxKind.
AsyncKeyword
)
Syntax\SyntaxKindFacts.vb (3)
288
SyntaxKind.
AsyncKeyword
,
400
SyntaxKind.
AsyncKeyword
,
815
{"async", SyntaxKind.
AsyncKeyword
},