Marshalling information for a field or param
Inheritance: MetaDataElement
Esempio n. 1
0
		/// <summary>
		/// Set the marshalling info for a field
		/// </summary>
		/// <param name="mInf"></param>
		public void SetMarshalInfo(NativeType marshallType) 
		{
			flags |= (ushort) FieldAttr.HasFieldMarshal;
			marshalInfo = new FieldMarshal(this,marshallType);
		}
Esempio n. 2
0
 /// <summary>
 /// Add marshalling information about this parameter
 /// </summary>
 public void AddMarshallInfo(NativeType marshallType) {
   parMode |= hasFieldMarshal;
   marshalInfo = new FieldMarshal(this,marshallType);
 }
Esempio n. 3
0
		/// <summary>
		/// Add marshalling information about this parameter
		/// </summary>
		public void AddMarshallInfo(NativeType marshallType) 
		{
			parMode |= (ushort) ParamAttr.HasFieldMarshal;
			marshalInfo = new FieldMarshal(this,marshallType);
		}
Esempio n. 4
0
 /// <summary>
 /// Set the marshalling info for a field
 /// </summary>
 /// <param name="mInf"></param>
 public void SetMarshalInfo(NativeType marshallType) {
   flags |= HasFieldMarshal;
   marshalInfo = new FieldMarshal(this,marshallType);
 }