12 references to Async
Microsoft.CodeAnalysis.CSharp (12)
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
168
mods |= DeclarationModifiers.
Async
;
Parser\LanguageParser.cs (3)
1329
return DeclarationModifiers.
Async
;
1338
return DeclarationModifiers.
Async
;
1442
case DeclarationModifiers.
Async
:
Symbols\Source\LocalFunctionSymbol.cs (1)
358
public override bool IsAsync => (_declarationModifiers & DeclarationModifiers.
Async
) != 0;
Symbols\Source\ModifierUtils.cs (3)
110
checkFeature(DeclarationModifiers.
Async
, MessageID.IDS_FeatureAsync);
317
case DeclarationModifiers.
Async
:
339
return DeclarationModifiers.
Async
;
Symbols\Source\SourceMemberMethodSymbol.cs (1)
671
return (this.DeclarationModifiers & DeclarationModifiers.
Async
) != 0;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
720
DeclarationModifiers.
Async
|
737
allowedModifiers |= DeclarationModifiers.Extern | DeclarationModifiers.
Async
;
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
67
DeclarationModifiers declarationModifiers = DeclarationModifiers.Static | DeclarationModifiers.Private | (hasAwait ? DeclarationModifiers.
Async
: DeclarationModifiers.None);