Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray.ToArray C# (CSharp) Method

ToArray() public method

public ToArray ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.CType[]
return Microsoft.CSharp.RuntimeBinder.Semantics.CType[]
        public CType[] ToArray() { return _items.ToArray(); }

Usage Example

Esempio n. 1
0
        // Initializes a substitution context. Returns false iff no substitutions will ever be performed.
        private void Init(TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst)
        {
            if (typeArgsCls != null)
            {
#if DEBUG
                typeArgsCls.AssertValid();
#endif
                ctypeCls   = typeArgsCls.size;
                prgtypeCls = typeArgsCls.ToArray();
            }
            else
            {
                ctypeCls   = 0;
                prgtypeCls = null;
            }

            if (typeArgsMeth != null)
            {
#if DEBUG
                typeArgsMeth.AssertValid();
#endif

                ctypeMeth   = typeArgsMeth.size;
                prgtypeMeth = typeArgsMeth.ToArray();
            }
            else
            {
                ctypeMeth   = 0;
                prgtypeMeth = null;
            }

            this.grfst = grfst;
        }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray::ToArray