22 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (22)
Parser\LanguageParser.cs (22)
2558IsInAsync = true; // We are implicitly in an async context 2599IsInAsync = wasInAsync; 2705IsInAsync = true; // We are implicitly in an async context 2712IsInAsync = wasInAsync; 2855IsInAsync = true; // We are implicitly in an async context 2860IsInAsync = wasInAsync; 2883IsInAsync = true; // We are implicitly in an async context 2887IsInAsync = wasInAsync; 3579IsInAsync = modifiers.Any((int)SyntaxKind.AsyncKeyword); 3583IsInAsync = false; 4218_parser.IsInAsync = isInAsync; 4223_parser.IsInAsync = _previousInAsync; 8236IsInAsync = true; 8238IsInAsync = false; 10717IsInAsync = false; 10725IsInAsync = true; 10787IsInAsync = parentScopeIsInAsync; 13455this.IsInAsync = parentScopeIsInAsync; 13464this.IsInAsync = true; 13581this.IsInAsync = parentScopeIsInAsync; 13590this.IsInAsync = true; 14324IsInAsync = state.IsInAsync;
21 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (21)
Parser\LanguageParser.cs (20)
570Debug.Assert(!IsInAsync); 1697Debug.Assert(!IsInAsync); 1733Debug.Assert(!IsInAsync); 2520Debug.Assert(!IsInAsync); 2555bool wasInAsync = IsInAsync; 2702bool wasInAsync = IsInAsync; 2854bool wasInAsync = IsInAsync; 2882bool wasInAsync = IsInAsync; 3098Debug.Assert(!IsInAsync); 3577Debug.Assert(!IsInAsync); 4217_previousInAsync = parser.IsInAsync; 5877if (this.IsInAsync && identifierToken.ContextualKind == SyntaxKind.AwaitKeyword) 8226!IsInAsync) 9644if (this.IsInAsync && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword) 10716bool parentScopeIsInAsync = IsInAsync; 11144return (this.IsScript || this.IsInAsync) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword; 11151if (this.IsInAsync) 13447var parentScopeIsInAsync = this.IsInAsync; 13573var parentScopeIsInAsync = this.IsInAsync; 14316IsInAsync,
Parser\LanguageParser_InterpolatedString.cs (1)
107var interpolationNode = ParseInterpolation(this.Options, originalText, interpolation, kind, IsInFieldKeywordContext, IsInAsync);