20 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (20)
Parser\LanguageParser.cs (20)
2515
IsInAsync
= true; // We are implicitly in an async context
2555
IsInAsync
= wasInAsync;
2661
IsInAsync
= true; // We are implicitly in an async context
2668
IsInAsync
= wasInAsync;
2811
IsInAsync
= true; // We are implicitly in an async context
2816
IsInAsync
= wasInAsync;
2839
IsInAsync
= true; // We are implicitly in an async context
2843
IsInAsync
= wasInAsync;
3506
IsInAsync
= modifiers.Any((int)SyntaxKind.AsyncKeyword);
3510
IsInAsync
= false;
8102
IsInAsync
= true;
8104
IsInAsync
= false;
10500
IsInAsync
= false;
10508
IsInAsync
= true;
10570
IsInAsync
= parentScopeIsInAsync;
13172
this.
IsInAsync
= parentScopeIsInAsync;
13181
this.
IsInAsync
= true;
13298
this.
IsInAsync
= parentScopeIsInAsync;
13307
this.
IsInAsync
= true;
14033
IsInAsync
= state.IsInAsync;
19 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (19)
Parser\LanguageParser.cs (19)
570
Debug.Assert(!
IsInAsync
);
1688
Debug.Assert(!
IsInAsync
);
1724
Debug.Assert(!
IsInAsync
);
2477
Debug.Assert(!
IsInAsync
);
2512
bool wasInAsync =
IsInAsync
;
2658
bool wasInAsync =
IsInAsync
;
2810
bool wasInAsync =
IsInAsync
;
2838
bool wasInAsync =
IsInAsync
;
3047
Debug.Assert(!
IsInAsync
);
3504
Debug.Assert(!
IsInAsync
);
5739
if (this.
IsInAsync
&& identifierToken.ContextualKind == SyntaxKind.AwaitKeyword)
8092
!
IsInAsync
)
9425
if (this.
IsInAsync
&& this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword)
10499
bool parentScopeIsInAsync =
IsInAsync
;
10927
return (this.IsScript || this.
IsInAsync
) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword;
10934
if (this.
IsInAsync
)
13164
var parentScopeIsInAsync = this.
IsInAsync
;
13290
var parentScopeIsInAsync = this.
IsInAsync
;
14025
IsInAsync
,