Editor/Wiring/Expressions/MethodCallExpression.cs

Record type representing a method call expression in the wiring/razor designer editor. It stores the callee reference, a read-only list of argument expressions, and an await flag.

using System.Collections.Generic;

namespace Grains.RazorDesigner.Wiring;

public sealed record MethodCallExpression : Expression
{
    public CalleeRef Callee { get; init; }
    public IReadOnlyList<Expression> Args { get; init; } = System.Array.Empty<Expression>();
    public bool Await { get; init; }
}