Ejemplo n.º 1
0
        public void CopyTo(MethodReturnType copy)
        {
            copy._type = _type;

            if (MarshalType != null)
            {
                MarshalType.CopyTo(copy.CreateMarshalType(MarshalType.UnmanagedType));
            }

            CustomAttributes.CopyTo(copy.CustomAttributes);
        }
        public void CopyTo(MethodParameter copy)
        {
            copy._name         = _name;
            copy._flags        = _flags;
            copy._type         = _type;
            copy._defaultValue = DefaultValue;

            if (MarshalType != null)
            {
                MarshalType.CopyTo(copy.CreateMarshalType(MarshalType.UnmanagedType));
            }

            CustomAttributes.CopyTo(copy.CustomAttributes);
        }
Ejemplo n.º 3
0
 public override void CopyTo(MarshalType copy)
 {
     CopyTo((ByValTStrMarshalType)copy);
 }
Ejemplo n.º 4
0
 public virtual void Build(MarshalType marshalType)
 {
 }
 public override void CopyTo(MarshalType copy)
 {
     CopyTo((PrimitiveMarshalType)copy);
 }
        public MarshalType CreateMarshalType(UnmanagedType type)
        {
            MarshalType = MarshalType.CreateNew(this, type);

            return(_marshalType);
        }
 public virtual void Visit(MarshalType marshalType)
 {
 }
Ejemplo n.º 8
0
 public override void CopyTo(MarshalType copy)
 {
     CopyTo((SafeArrayMarshalType)copy);
 }
 public abstract void CopyTo(MarshalType copy);
 public override void CopyTo(MarshalType copy)
 {
     CopyTo((CustomMarshalType)copy);
 }