24 references to AsyncKeyword
Microsoft.CodeAnalysis.VisualBasic (24)
Binding\Binder_Utils.vb (3)
110Case SyntaxKind.AsyncKeyword : Return SourceMemberFlags.Async 1716SyntaxKind.AsyncKeyword, 1736SyntaxKind.AsyncKeyword,
Declarations\DeclarationTreeBuilder.vb (1)
846Case SyntaxKind.AsyncKeyword : bit = DeclarationModifiers.Async
Generated\Syntax.xml.Main.Generated.vb (2)
45190SyntaxKind.AsyncKeyword, 45746Case 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)
205ElseIf 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)
780ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.IteratorKeyword Then 1107ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.IteratorKeyword Then 1870SyntaxKind.AsyncKeyword, 1876SyntaxKind.AsyncKeyword, 1998ElseIf possibleKeyword.Kind = SyntaxKind.AsyncKeyword OrElse 2006t = 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)
214SyntaxKind.AsyncKeyword, None,
Symbols\Source\SourceMethodSymbol.vb (1)
523binder.ReportModifierError(modifiers, ERRID.ERR_ConstructorAsync, diagBag, SyntaxKind.AsyncKeyword)
Syntax\SyntaxKindFacts.vb (3)
288SyntaxKind.AsyncKeyword, 400SyntaxKind.AsyncKeyword, 815{"async", SyntaxKind.AsyncKeyword},