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;
8104
IsInAsync
= true;
8106
IsInAsync
= false;
10502
IsInAsync
= false;
10510
IsInAsync
= true;
10572
IsInAsync
= parentScopeIsInAsync;
13174
this.
IsInAsync
= parentScopeIsInAsync;
13183
this.
IsInAsync
= true;
13300
this.
IsInAsync
= parentScopeIsInAsync;
13309
this.
IsInAsync
= true;
14035
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
);
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
);
5741
if (this.
IsInAsync
&& identifierToken.ContextualKind == SyntaxKind.AwaitKeyword)
8094
!
IsInAsync
)
9427
if (this.
IsInAsync
&& this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword)
10501
bool parentScopeIsInAsync =
IsInAsync
;
10929
return (this.IsScript || this.
IsInAsync
) && this.CurrentToken.ContextualKind == SyntaxKind.AwaitKeyword;
10936
if (this.
IsInAsync
)
13166
var parentScopeIsInAsync = this.
IsInAsync
;
13292
var parentScopeIsInAsync = this.
IsInAsync
;
14027
IsInAsync
,