jfrijters
20a15e3ac1
DllImportAttribute implies MethodAttributes.PinvokeImpl.
2010-02-09 05:27:51 +00:00
jfrijters
56843c6602
Bug fix in BindTypeParameters(). It forgot to copy subsequent args entries that weren't affected by the bind.
2010-02-09 05:20:01 +00:00
jfrijters
3043c4ac13
Override GetGenericTypeDefinition(), because it is legal to call that on a TypeDef.
2010-02-09 05:18:41 +00:00
jfrijters
d4253e6a70
Fix NPE. Don't try to iterator over otherMethods if it is null.
2010-02-09 05:17:58 +00:00
jfrijters
a43454be81
Support for mcs specific AssemblyBuilderAccess flag (0x800 aka COMPILER_ACCESS) to allow access to members of unbaked TypeBuilders.
2010-02-04 11:18:07 +00:00
jfrijters
9ef3188439
Generic methods and methods on generic type instance fixes.
2010-02-04 10:49:24 +00:00
jfrijters
d75b3d792e
Implemented __GetDeclaredFields(), __GetDeclaredEvents() and __GetDeclaredProperties() on TypeBuilder.
2010-02-04 09:59:42 +00:00
jfrijters
d6ba34ecb6
Removed accidentally checked in test code.
2010-02-04 09:58:46 +00:00
jfrijters
3ea0443e5c
Use Util.Copy() instead of cloning the array, because we want to return a Type[] not a GenericTypeParameterBuilder[].
2010-02-04 09:49:04 +00:00
jfrijters
71ab42d7eb
MethodBuilder should implement GetGenericMethodArgument() and GetGenericMethodArgumentCount(), to allow type parameter binding to work (even though it is a no-op).
2010-02-04 09:46:18 +00:00
jfrijters
c8e3b59abb
Avoid Clone(), because we want to return a Type[], not an array of some subtype of Type.
2010-02-04 09:40:05 +00:00
jfrijters
7568ab4c6a
FindMembers() may be called with a null filter.
2010-02-04 09:38:52 +00:00
jfrijters
d1e163408f
Removed IKVM_REF_EMIT, as STATIC_COMPILER or STUB_GENERATOR now always implies IKVM.Reflection.
2010-01-28 09:18:33 +00:00
jfrijters
0050b15595
Several IKVM.Reflection fixes related to generics.
...
- MethodImpls in generic type definitions should be resolved with typeArgs as context.
- Cleaned up member on generic type rebinding.
- Fixed __GetDeclaredProperties and __GetDeclaredEvents to rebind properly.
2010-01-27 06:12:36 +00:00
jfrijters
0b30be9d2c
Removed UTF-8 byte order marks.
2010-01-25 05:49:01 +00:00
jfrijters
198c9d70ea
New IKVM.Reflection implementation.
2010-01-25 05:29:31 +00:00