//------------------------------------------------------------------------------ // // // [....] // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; /// /// /// Represents an array indexer expression. /// /// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeArrayIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; /// /// [To be supplied.] /// public CodeArrayIndexerExpression() { } /// /// [To be supplied.] /// public CodeArrayIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } /// /// [To be supplied.] /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } /// /// [To be supplied.] /// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } }