20 writes to IsInAsync
Microsoft.CodeAnalysis.CSharp (20)
Parser\LanguageParser.cs (20)
2558
IsInAsync
= true; // We are implicitly in an async context
2598
IsInAsync
= wasInAsync;
2704
IsInAsync
= true; // We are implicitly in an async context
2711
IsInAsync
= wasInAsync;
2854
IsInAsync
= true; // We are implicitly in an async context
2859
IsInAsync
= wasInAsync;
2882
IsInAsync
= true; // We are implicitly in an async context
2886
IsInAsync
= wasInAsync;
3568
IsInAsync
= modifiers.Any((int)SyntaxKind.AsyncKeyword);
3572
IsInAsync
= false;
8208
IsInAsync
= true;
8210
IsInAsync
= false;
10635
IsInAsync
= false;
10643
IsInAsync
= true;
10705
IsInAsync
= parentScopeIsInAsync;
13373
this.
IsInAsync
= parentScopeIsInAsync;
13382
this.
IsInAsync
= true;
13499
this.
IsInAsync
= parentScopeIsInAsync;
13508
this.
IsInAsync
= true;
14239
IsInAsync
= state.IsInAsync;
19 references to IsInAsync
Microsoft.CodeAnalysis.CSharp (19)
Parser\LanguageParser.cs (19)
570
Debug.Assert(!
IsInAsync
);
1697
Debug.Assert(!
IsInAsync
);
1733
Debug.Assert(!
IsInAsync
);
2520
Debug.Assert(!
IsInAsync
);
2555
bool wasInAsync =
IsInAsync
;
2701
bool wasInAsync =
IsInAsync
;
2853
bool wasInAsync =
IsInAsync
;
2881
bool wasInAsync =
IsInAsync
;
3097
Debug.Assert(!
IsInAsync
);
3566
Debug.Assert(!
IsInAsync
);
5849
if (this.
IsInAsync
&& identifierToken.ContextualKind == SyntaxKind.AwaitKeyword)
8198
!
IsInAsync
)
9560
if (this.
IsInAsync
&& this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword)
10634
bool parentScopeIsInAsync =
IsInAsync
;
11062
return (this.IsScript || this.
IsInAsync
) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword;
11069
if (this.
IsInAsync
)
13365
var parentScopeIsInAsync = this.
IsInAsync
;
13491
var parentScopeIsInAsync = this.
IsInAsync
;
14231
IsInAsync
,