-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReflection.cs
More file actions
57 lines (50 loc) · 1.93 KB
/
Copy pathReflection.cs
File metadata and controls
57 lines (50 loc) · 1.93 KB
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
using System;
using JSIL.Meta;
using JSIL.Proxy;
namespace JSIL.Proxies {
[JSProxy(
typeof(Type),
JSProxyMemberPolicy.ReplaceDeclared
)]
public abstract class TypeProxy {
[JSPolicy(
read: JSReadPolicy.ReturnDefaultValue,
write: JSWritePolicy.DiscardValue
)]
public static System.Reflection.MemberFilter FilterAttribute;
[JSPolicy(
read: JSReadPolicy.ReturnDefaultValue,
write: JSWritePolicy.DiscardValue
)]
public static System.Reflection.MemberFilter FilterName;
[JSPolicy(
read: JSReadPolicy.ReturnDefaultValue,
write: JSWritePolicy.DiscardValue
)]
public static System.Reflection.MemberFilter FilterNameIgnoreCase;
// HACK to compensate for the fact that GetType relies on stack crawling to identify the currently executing assembly.
[JSReplacement("JSIL.ReflectionGetTypeInternal($assemblyof(executing), $typeName, false, false)")]
public static Type GetType (string typeName) {
throw new NotImplementedException();
}
[JSReplacement("JSIL.ReflectionGetTypeInternal($assemblyof(executing), $typeName, $throwOnFail, false)")]
public static Type GetType (string typeName, bool throwOnFail) {
throw new NotImplementedException();
}
[JSReplacement("JSIL.ReflectionGetTypeInternal($assemblyof(executing), $typeName, $throwOnFail, $ignoreCase)")]
public static Type GetType (string typeName, bool throwOnFail, bool ignoreCase) {
throw new NotImplementedException();
}
[JSReplacement("$this === $other")]
public virtual bool IsEquivalentTo(Type other)
{
throw new NotImplementedException();
}
}
[JSProxy(
"System.RuntimeType",
JSProxyMemberPolicy.ReplaceNone
)]
public abstract class RuntimeTypeProxy {
}
}