20 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (20)
Parser\LanguageParser.cs (20)
2556
IsInAsync
= true; // We are implicitly in an async context
2596
IsInAsync
= wasInAsync;
2702
IsInAsync
= true; // We are implicitly in an async context
2709
IsInAsync
= wasInAsync;
2852
IsInAsync
= true; // We are implicitly in an async context
2857
IsInAsync
= wasInAsync;
2880
IsInAsync
= true; // We are implicitly in an async context
2884
IsInAsync
= wasInAsync;
3559
IsInAsync
= modifiers.Any((int)SyntaxKind.AsyncKeyword);
3563
IsInAsync
= false;
8203
IsInAsync
= true;
8205
IsInAsync
= false;
10601
IsInAsync
= false;
10609
IsInAsync
= true;
10671
IsInAsync
= parentScopeIsInAsync;
13332
this.
IsInAsync
= parentScopeIsInAsync;
13341
this.
IsInAsync
= true;
13458
this.
IsInAsync
= parentScopeIsInAsync;
13467
this.
IsInAsync
= true;
14193
IsInAsync
= state.IsInAsync;
19 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (19)
Parser\LanguageParser.cs (19)
570
Debug.Assert(!
IsInAsync
);
1689
Debug.Assert(!
IsInAsync
);
1725
Debug.Assert(!
IsInAsync
);
2518
Debug.Assert(!
IsInAsync
);
2553
bool wasInAsync =
IsInAsync
;
2699
bool wasInAsync =
IsInAsync
;
2851
bool wasInAsync =
IsInAsync
;
2879
bool wasInAsync =
IsInAsync
;
3088
Debug.Assert(!
IsInAsync
);
3557
Debug.Assert(!
IsInAsync
);
5840
if (this.
IsInAsync
&& identifierToken.ContextualKind == SyntaxKind.AwaitKeyword)
8193
!
IsInAsync
)
9526
if (this.
IsInAsync
&& this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword)
10600
bool parentScopeIsInAsync =
IsInAsync
;
11028
return (this.IsScript || this.
IsInAsync
) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword;
11035
if (this.
IsInAsync
)
13324
var parentScopeIsInAsync = this.
IsInAsync
;
13450
var parentScopeIsInAsync = this.
IsInAsync
;
14185
IsInAsync
,