-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSuppressDeclaration.cs
72 lines (69 loc) · 2.37 KB
/
SuppressDeclaration.cs
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
namespace JSIL.Proxies
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using JSIL.Meta;
using JSIL.Proxy;
[JSProxy(
new[]
{
typeof (object), typeof (ValueType),
typeof (Type),
typeof (MemberInfo), typeof (MethodBase),
typeof (MethodInfo), typeof (FieldInfo),
typeof (ConstructorInfo), typeof (PropertyInfo), typeof (EventInfo),
typeof (ParameterInfo),
typeof (Array), typeof (Delegate), typeof (MulticastDelegate),
typeof (Byte), typeof (SByte),
typeof (UInt16), typeof (Int16),
typeof (UInt32), typeof (Int32),
typeof (UInt64), typeof (Int64),
typeof (Single), typeof (Double),
typeof (Boolean), typeof (Char),
typeof (Assembly),
typeof (Decimal),
typeof (IntPtr), typeof (UIntPtr),
typeof (NumberFormatInfo),
typeof (Convert), typeof(DBNull),
typeof (IConvertible),
typeof (string),
typeof (Enum),
typeof (IEnumerable<>),
typeof (ICollection<>),
typeof (IList<>),
typeof (IEnumerable),
typeof (ICollection),
typeof (IList)
},
inheritable: false)]
[JSSuppressTypeDeclaration]
public class SuppressDeclarationByType
{
}
[JSProxy(
new[]
{
"System.Reflection.TypeInfo", "System.RuntimeType",
"System.Reflection.RuntimeAssembly",
"System.Reflection.RuntimeMethodInfo",
"System.Reflection.RuntimeFieldInfo",
"System.Reflection.RuntimeConstructorInfo",
"System.Reflection.RuntimePropertyInfo",
"System.Reflection.RuntimeEventInfo",
"System.Reflection.RuntimeParameterInfo",
"System.Empty",
"Microsoft.CSharp.RuntimeBinder.Binder",
"Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo",
"System.Runtime.CompilerServices.CallSite",
"System.Runtime.CompilerServices.CallSite`1",
"System.Runtime.CompilerServices.CallSiteBinder"
},
inheritable: false)]
[JSSuppressTypeDeclaration]
public class SuppressDeclarationByString
{
}
}