3 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (3)
Parser\LanguageParser.cs (3)
4373_parser.IsInAsync = isInAsyncContext ?? parser.IsInAsync; 4381_parser.IsInAsync = (_previousState & LanguageParserState.IsInAsync) != 0; 14614IsInAsync = state.IsInAsync;
19 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (19)
Parser\LanguageParser.cs (18)
570Debug.Assert(!IsInAsync); 1754Debug.Assert(!IsInAsync); 1790Debug.Assert(!IsInAsync); 2608Debug.Assert(!IsInAsync); 2644using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: this.IsInAsync || !IsScript); 2782using var _ = new ParserSyntaxContextResetter(this, isInAsyncContext: this.IsInAsync || !IsScript); 3252Debug.Assert(!IsInAsync); 3730Debug.Assert(!IsInAsync); 4368(parser.IsInAsync ? LanguageParserState.IsInAsync : 0) | 4373_parser.IsInAsync = isInAsyncContext ?? parser.IsInAsync; 6120if (this.IsInAsync && identifierToken.ContextualKind == SyntaxKind.AwaitKeyword) 8467!IsInAsync) 9878if (this.IsInAsync && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword) 11412return (this.IsScript || this.IsInAsync) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword; 11419if (this.IsInAsync) 13763isInAsyncContext: this.IsInAsync || modifiers.Any((int)SyntaxKind.AsyncKeyword), 13880isInAsyncContext: this.IsInAsync || modifiers.Any((int)SyntaxKind.AsyncKeyword), 14606IsInAsync,
Parser\LanguageParser_InterpolatedString.cs (1)
209var interpolationNode = ParseInterpolation(this.Options, originalText, interpolation, kind, IsInAsync, IsInFieldKeywordContext);