|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal sealed class ExprArrayInit : ExprWithType
{
public ExprArrayInit(CType type, Expr arguments, Expr argumentDimensions, int[] dimensionSizes)
: base(ExpressionKind.ArrayInit, type)
{
OptionalArguments = arguments;
OptionalArgumentDimensions = argumentDimensions;
DimensionSizes = dimensionSizes;
}
public Expr OptionalArguments { get; set; }
public Expr OptionalArgumentDimensions { get; set; }
// The Exprs bound as the size of the array.
public int[] DimensionSizes { get; }
public bool GeneratedForParamArray { get; set; }
}
}
|