Mono.ILASM.FieldDef.AddMarshalInfo C# (CSharp) Method

AddMarshalInfo() public method

public AddMarshalInfo ( PEAPI native_type ) : void
native_type PEAPI
return void
                public void AddMarshalInfo (PEAPI.NativeType native_type)
                {
                        this.native_type = native_type;        
                }

Usage Example

Beispiel #1
0
        public void AddFieldDef(FieldDef fielddef)
        {
            if (current_field_native_type != null)
            {
                fielddef.AddMarshalInfo(current_field_native_type);
                current_field_native_type = null;
            }

            if (current_typedef != null)
            {
                current_typedef.AddFieldDef(fielddef);
            }
            else
            {
                global_field_table.Add(
                    new DictionaryEntry(fielddef.Name, fielddef.Type.FullName),
                    fielddef);
            }
        }
All Usage Examples Of Mono.ILASM.FieldDef::AddMarshalInfo