20 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (20)
Parser\LanguageParser.cs (20)
2515IsInAsync = true; // We are implicitly in an async context 2555IsInAsync = wasInAsync; 2661IsInAsync = true; // We are implicitly in an async context 2668IsInAsync = wasInAsync; 2811IsInAsync = true; // We are implicitly in an async context 2816IsInAsync = wasInAsync; 2839IsInAsync = true; // We are implicitly in an async context 2843IsInAsync = wasInAsync; 3506IsInAsync = modifiers.Any((int)SyntaxKind.AsyncKeyword); 3510IsInAsync = false; 8102IsInAsync = true; 8104IsInAsync = false; 10500IsInAsync = false; 10508IsInAsync = true; 10570IsInAsync = parentScopeIsInAsync; 13172this.IsInAsync = parentScopeIsInAsync; 13181this.IsInAsync = true; 13298this.IsInAsync = parentScopeIsInAsync; 13307this.IsInAsync = true; 14033IsInAsync = state.IsInAsync;
19 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (19)
Parser\LanguageParser.cs (19)
570Debug.Assert(!IsInAsync); 1688Debug.Assert(!IsInAsync); 1724Debug.Assert(!IsInAsync); 2477Debug.Assert(!IsInAsync); 2512bool wasInAsync = IsInAsync; 2658bool wasInAsync = IsInAsync; 2810bool wasInAsync = IsInAsync; 2838bool wasInAsync = IsInAsync; 3047Debug.Assert(!IsInAsync); 3504Debug.Assert(!IsInAsync); 5739if (this.IsInAsync && identifierToken.ContextualKind == SyntaxKind.AwaitKeyword) 8092!IsInAsync) 9425if (this.IsInAsync && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword) 10499bool parentScopeIsInAsync = IsInAsync; 10927return (this.IsScript || this.IsInAsync) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword; 10934if (this.IsInAsync) 13164var parentScopeIsInAsync = this.IsInAsync; 13290var parentScopeIsInAsync = this.IsInAsync; 14025IsInAsync,