using System;
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
/// Specifies the details of how a method is implemented. This class cannot be inherited.
// Token: 0x02000041 RID: 65
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
[ComVisible(true)]
[Serializable]
public sealed class MethodImplAttribute : Attribute
{
/// Initializes a new instance of the class.
// Token: 0x06000657 RID: 1623 RVA: 0x00014A90 File Offset: 0x00012C90
public MethodImplAttribute()
{
}
/// Initializes a new instance of the class with the specified value.
/// A bitmask representing the desired value which specifies properties of the attributed method.
// Token: 0x06000658 RID: 1624 RVA: 0x00014A98 File Offset: 0x00012C98
public MethodImplAttribute(short value)
{
this._val = (MethodImplOptions)value;
}
/// Initializes a new instance of the class with the specified value.
/// An enumeration value specifying properties of the attributed method.
// Token: 0x06000659 RID: 1625 RVA: 0x00014AA8 File Offset: 0x00012CA8
public MethodImplAttribute(MethodImplOptions methodImplOptions)
{
this._val = methodImplOptions;
}
/// Gets the value describing the attributed method.
/// The value describing the attributed method.
// Token: 0x170000AF RID: 175
// (get) Token: 0x0600065A RID: 1626 RVA: 0x00014AB8 File Offset: 0x00012CB8
public MethodImplOptions Value
{
get
{
return this._val;
}
}
// Token: 0x0400008E RID: 142
private MethodImplOptions _val;
/// A value indicating what kind of implementation is provided for this method.
// Token: 0x0400008F RID: 143
public MethodCodeType MethodCodeType;
}
}