internal MethodImplAttribute(System.Reflection.MethodImplAttributes methodImplAttributes) { MethodImplOptions all = MethodImplOptions.Unmanaged | MethodImplOptions.ForwardRef | MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall | MethodImplOptions.Synchronized | MethodImplOptions.NoInlining | MethodImplOptions.AggressiveInlining | MethodImplOptions.NoOptimization | MethodImplOptions.SecurityMitigations; _val = ((MethodImplOptions)methodImplAttributes) & all; }
public void SetImplementationFlags(System.Reflection.MethodImplAttributes attributes) { }
public void SetImplementationFlags(System.Reflection.MethodImplAttributes attributes) { throw new PlatformNotSupportedException(); }
/// <summary> /// Fills the row from the array of bytes. /// </summary> unsafe public void FromRawData(byte [] buff, int offs) { if (buff == null) throw new Exception("buff == null"); if (offs + Size > buff.Length) throw new Exception("bounds"); this.RVA = LEBitConverter.ToUInt32(buff, offs); offs += RVA.Size; this.ImplFlags = (System.Reflection.MethodImplAttributes) LEBitConverter.ToUInt16(buff, offs); offs += sizeof (ushort); this.Flags = (System.Reflection.MethodAttributes) LEBitConverter.ToUInt16(buff, offs); offs += sizeof (ushort); this.Name = LEBitConverter.ToInt32(buff, offs); offs += 4; this.Signature = LEBitConverter.ToInt32(buff, offs); offs += 4; this.ParamList = LEBitConverter.ToInt32(buff, offs); }