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