20 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (20)
Parser\LanguageParser.cs (20)
2516IsInAsync = true; // We are implicitly in an async context 2556IsInAsync = wasInAsync; 2662IsInAsync = true; // We are implicitly in an async context 2669IsInAsync = wasInAsync; 2812IsInAsync = true; // We are implicitly in an async context 2817IsInAsync = wasInAsync; 2840IsInAsync = true; // We are implicitly in an async context 2844IsInAsync = wasInAsync; 3507IsInAsync = modifiers.Any((int)SyntaxKind.AsyncKeyword); 3511IsInAsync = false; 8100IsInAsync = true; 8102IsInAsync = false; 10471IsInAsync = false; 10479IsInAsync = true; 10541IsInAsync = parentScopeIsInAsync; 13196this.IsInAsync = parentScopeIsInAsync; 13205this.IsInAsync = true; 13322this.IsInAsync = parentScopeIsInAsync; 13331this.IsInAsync = true; 14057IsInAsync = state.IsInAsync;
19 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (19)
Parser\LanguageParser.cs (19)
571Debug.Assert(!IsInAsync); 1689Debug.Assert(!IsInAsync); 1725Debug.Assert(!IsInAsync); 2478Debug.Assert(!IsInAsync); 2513bool wasInAsync = IsInAsync; 2659bool wasInAsync = IsInAsync; 2811bool wasInAsync = IsInAsync; 2839bool wasInAsync = IsInAsync; 3048Debug.Assert(!IsInAsync); 3505Debug.Assert(!IsInAsync); 5737if (this.IsInAsync && identifierToken.ContextualKind == SyntaxKind.AwaitKeyword) 8090!IsInAsync) 9423if (this.IsInAsync && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword) 10470bool parentScopeIsInAsync = IsInAsync; 10898return (this.IsScript || this.IsInAsync) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword; 10905if (this.IsInAsync) 13188var parentScopeIsInAsync = this.IsInAsync; 13314var parentScopeIsInAsync = this.IsInAsync; 14049IsInAsync,