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;
3557
IsInAsync
= modifiers.Any((int)SyntaxKind.AsyncKeyword);
3561
IsInAsync
= false;
8201
IsInAsync
= true;
8203
IsInAsync
= false;
10599
IsInAsync
= false;
10607
IsInAsync
= true;
10669
IsInAsync
= parentScopeIsInAsync;
13330
this.
IsInAsync
= parentScopeIsInAsync;
13339
this.
IsInAsync
= true;
13456
this.
IsInAsync
= parentScopeIsInAsync;
13465
this.
IsInAsync
= true;
14191
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
);
3555
Debug.Assert(!
IsInAsync
);
5838
if (this.
IsInAsync
&& identifierToken.ContextualKind == SyntaxKind.AwaitKeyword)
8191
!
IsInAsync
)
9524
if (this.
IsInAsync
&& this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword)
10598
bool parentScopeIsInAsync =
IsInAsync
;
11026
return (this.IsScript || this.
IsInAsync
) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword;
11033
if (this.
IsInAsync
)
13322
var parentScopeIsInAsync = this.
IsInAsync
;
13448
var parentScopeIsInAsync = this.
IsInAsync
;
14183
IsInAsync
,