public LuaArrayTypeAdapterExpressionSyntax(LuaInvocationExpressionSyntax invocationExpression, LuaArrayRankSpecifierSyntax rankSpecifier) { if (invocationExpression == null) { throw new ArgumentNullException(nameof(invocationExpression)); } if (rankSpecifier == null) { throw new ArgumentNullException(nameof(rankSpecifier)); } InvocationExpression = invocationExpression; RankSpecifier = rankSpecifier; }
public LuaArrayTypeAdapterExpressionSyntax(LuaExpressionSyntax typeExpression, LuaArrayRankSpecifierSyntax rankSpecifier) { TypeExpression = typeExpression ?? throw new ArgumentNullException(nameof(typeExpression)); RankSpecifier = rankSpecifier ?? throw new ArgumentNullException(nameof(rankSpecifier)); }