/*++ Copyright () 2016 Microsoft Corporation Module Name: SeqExpr.cs Abstract: Z3 Managed API: Sequence Expressions Author: Christoph Wintersteiger (cwinter) 2012-11-23 Notes: --*/ using System.Diagnostics; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Microsoft.Z3 { /// /// Sequence expressions /// public class SeqExpr : Expr { #region Internal /// Constructor for SeqExpr internal SeqExpr(Context ctx, IntPtr obj) : base(ctx, obj) { Debug.Assert(ctx != null); } #endregion /// Access the nth element of a sequence public Expr this[Expr index] { get { return Context.MkNth(this, index); } } } }