mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
18 lines
496 B
C#
18 lines
496 B
C#
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
|
using Semmle.Extraction.Kinds;
|
|
|
|
namespace Semmle.Extraction.CSharp.Entities.Expressions
|
|
{
|
|
class Await : Expression<AwaitExpressionSyntax>
|
|
{
|
|
Await(ExpressionNodeInfo info) : base(info.SetKind(ExprKind.AWAIT)) { }
|
|
|
|
public static Expression Create(ExpressionNodeInfo info) => new Await(info).TryPopulate();
|
|
|
|
protected override void Populate()
|
|
{
|
|
Create(cx, Syntax.Expression, this, 0);
|
|
}
|
|
}
|
|
}
|