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;
8171
IsInAsync
= true;
8173
IsInAsync
= false;
10569
IsInAsync
= false;
10577
IsInAsync
= true;
10639
IsInAsync
= parentScopeIsInAsync;
13294
this.
IsInAsync
= parentScopeIsInAsync;
13303
this.
IsInAsync
= true;
13420
this.
IsInAsync
= parentScopeIsInAsync;
13429
this.
IsInAsync
= true;
14155
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
);
5808
if (this.
IsInAsync
&& identifierToken.ContextualKind == SyntaxKind.AwaitKeyword)
8161
!
IsInAsync
)
9494
if (this.
IsInAsync
&& this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword)
10568
bool parentScopeIsInAsync =
IsInAsync
;
10996
return (this.IsScript || this.
IsInAsync
) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword;
11003
if (this.
IsInAsync
)
13286
var parentScopeIsInAsync = this.
IsInAsync
;
13412
var parentScopeIsInAsync = this.
IsInAsync
;
14147
IsInAsync
,