blob: 41aed97dcab8dd27fe60d0a6527d614c43e08927 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
//
// System.Runtime.CompilerServices.cs
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
//
// (C) Ximian, Inc. http://www.ximian.com
//
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices {
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited=false)] [Serializable]
public sealed class MethodImplAttribute : Attribute {
MethodImplOptions impl_options;
public MethodImplAttribute ()
{
}
public MethodImplAttribute (short options)
{
impl_options = (MethodImplOptions) options;
}
public MethodImplAttribute (MethodImplOptions options)
{
impl_options = options;
}
public MethodCodeType MethodCodeType;
public MethodImplOptions Value {
get {
return impl_options;
}
}
}
}
|