jfrijters
|
2eb4346e4d
|
Fixed TypeBuilder.SetParent(null) handling. Moved base type defaulting to CreateType() to avoid problems when compiing mscorlib.
|
2011-01-21 12:58:56 +00:00 |
jfrijters
|
ac2d3d0c1e
|
Added comment explaining why looking up mscorlib types should not use ResolveType.
|
2011-01-21 11:07:15 +00:00 |
jfrijters
|
31e1f2dbc4
|
Clean up TypeWrapper.IsFakeNestedType and allow it to be called on unfinished TypeWrappers.
|
2011-01-21 11:06:26 +00:00 |
jfrijters
|
ceb5458e6e
|
Update copyright year.
|
2011-01-21 11:05:18 +00:00 |
jfrijters
|
b97796b71c
|
Moved GetTypeImpl into GetType.
|
2011-01-20 14:38:19 +00:00 |
jfrijters
|
175af3395c
|
Move missing type support into universe and optionally allow missing types to be resolved inside all Assemblies.
|
2011-01-20 14:31:10 +00:00 |
jfrijters
|
4eb105478e
|
The type attributes are mutable, so there is no reason to require them in __Define[Nested]Type().
|
2011-01-20 05:49:49 +00:00 |
jfrijters
|
127273a1c1
|
Fix bogus IntPtr == null check.
|
2011-01-20 05:39:49 +00:00 |
jfrijters
|
d7848c305e
|
More type name fixes. This time to support the fact that the CLR and Mono both treat TypeNamespace and TypeName as separate names and do not consider fullName to be relevant.
|
2011-01-20 05:38:11 +00:00 |
jfrijters
|
2d876687ad
|
Fix for GenericTypeInstance.__ContainsMissingType. Thanks to Marek for reporting this.
|
2011-01-19 04:55:26 +00:00 |
jfrijters
|
ff28c44961
|
Added support for resolving MissingTypes in AssemblyBuilder.
|
2011-01-18 16:44:39 +00:00 |
jfrijters
|
8f09a6ae54
|
Improve exception when OpenRawModule() is called with an unsupported stream.
|
2011-01-18 07:11:51 +00:00 |
jfrijters
|
6abc738d3c
|
Added support for saving to a stream instead of a file.
|
2011-01-18 07:11:23 +00:00 |
jfrijters
|
de0a5a6b15
|
Improve partial trust support.
|
2011-01-18 07:09:42 +00:00 |
jfrijters
|
0c673a7b6a
|
Added ikvm.internal.NotYetImplementedError. Replaced all throw sun.reflect.generics.reflectiveObjects.NotImplementedException code with throw NotYetImplementedError.
|
2011-01-17 05:42:41 +00:00 |
jfrijters
|
720185aa51
|
Throw the proper exception (System.NotSupportedException) from the unsupported Stream methods.
|
2011-01-17 05:22:44 +00:00 |
jfrijters
|
609822fc0f
|
Removed unused imports of sun.reflect.generics.reflectiveObjects.NotImplementedException.
|
2011-01-17 05:21:38 +00:00 |
jfrijters
|
5f13b8fea5
|
Added Type.__ContainsMissingType to easily check for missing types in a constructed type.
|
2011-01-14 05:36:42 +00:00 |
jfrijters
|
99dcc0a625
|
Add support for reading signatures with instantiations of generic missing type.
|
2011-01-14 05:29:04 +00:00 |
jfrijters
|
ce2a16a4ae
|
Patch by Marek Safar to implement framework unification.
|
2011-01-14 05:02:23 +00:00 |
jfrijters
|
52ab9d7f58
|
Added __IsMissing to Module and Assembly and make sure that __GetDeclarativeSecurity() when called with a MissingAssembly.
|
2011-01-13 15:44:28 +00:00 |
jfrijters
|
7e0a2380cc
|
Override BindTypeParameters to ignore the bind.
|
2011-01-13 15:35:03 +00:00 |
jfrijters
|
6019abc4f4
|
Rename __IsMissingType to __IsMissing to make it easier if/when we add support for other missing members.
|
2011-01-13 15:29:30 +00:00 |
jfrijters
|
46b3f6c0ea
|
Prevent invalid operations on MissingModule.
|
2011-01-13 15:27:03 +00:00 |
jfrijters
|
93baa6d3a4
|
Made CompareAssemblyIdentityPure internal to allow mcs to use it.
|
2011-01-13 15:15:41 +00:00 |
jfrijters
|
eddf99aadb
|
Make all invalid operations on missing types throw a MissingMemberException.
|
2011-01-13 14:47:21 +00:00 |
jfrijters
|
6893ac5e5f
|
Introduced exceptions for invalid operations on missing types/modules/assemblies.
|
2011-01-13 14:33:02 +00:00 |
jfrijters
|
dd66bfa2f1
|
Fixed managed CompareAssemblyIdentityPure implementation bug.
|
2011-01-13 13:22:07 +00:00 |
jfrijters
|
4de90713f8
|
Added support for magic missing assemblies that resolve missing types to allow (some) reflection on assemblies with missing dependencies.
|
2011-01-13 10:44:44 +00:00 |
jfrijters
|
7f1f16f7cc
|
Treat unrecognized options as errors, instead of warnings.
|
2011-01-13 08:58:36 +00:00 |
jfrijters
|
7d487a775d
|
Fix. Type names in forwardedTypes dictionary should be escaped.
|
2011-01-13 07:52:19 +00:00 |
jfrijters
|
29d4433de5
|
Fixed resolving nested type by name.
|
2011-01-13 07:24:50 +00:00 |
jfrijters
|
44dc4dfabc
|
Fixed Type.GetNestedType(). The name passed in is not escaped, so we should match with __Name.
|
2011-01-13 07:08:00 +00:00 |
jfrijters
|
4bac6ca9f4
|
Fix. [Assembly|Module].GetType() expect an escaped name.
|
2011-01-13 06:47:22 +00:00 |
jfrijters
|
c4e645f733
|
Fixed copy/paste bug. A typeref pointing to ModuleRef should resolve the type in that module, not the assembly.
|
2011-01-13 06:39:18 +00:00 |
jfrijters
|
6d9125b9c8
|
Prevent external subclassing. It's not part of the design to suppor that, now it is also enforced.
|
2011-01-13 05:58:54 +00:00 |
jfrijters
|
04806eda67
|
Refactored Define[Nested]Type methods to allow __DefineType() and __DefineNestedType() APIs to be added that allow namespace and name to be passed in separately.
|
2011-01-12 14:22:04 +00:00 |
jfrijters
|
5e9f22860f
|
Remove parent from TypeBuilder constructor.
|
2011-01-12 14:09:54 +00:00 |
jfrijters
|
f1d096354f
|
Added comment explaining why we don't need to handle MethodDef in __TryReadTypeName().
|
2011-01-12 13:59:00 +00:00 |
jfrijters
|
30a627c39a
|
Final set of Name/Namespace/FullName fixes to make everything more compatible (including bugs) with .NET reflection.
|
2011-01-12 13:57:05 +00:00 |
jfrijters
|
5a100a5305
|
Re-arrange Name/__Name usage to avoid redundant escaping/unescaping.
Improve support for nested types that use a namespace.
|
2011-01-12 13:45:20 +00:00 |
jfrijters
|
a0a7cfe807
|
Always return unescaped names from __TryReadTypeName().
|
2011-01-12 13:35:47 +00:00 |
jfrijters
|
b6fa3c6c3d
|
Added virtual __Name and __Namespace properties to Type to allow the real (from the ECMA CLI point of view) namespace and names of types to be queried (for TypeDef and TypeBuilder only).
|
2011-01-12 13:31:27 +00:00 |
jfrijters
|
48bc7ccc6c
|
Fix. Namespace property should not returned escaped string.
|
2011-01-12 13:17:00 +00:00 |
jfrijters
|
87e866af58
|
Changed __ReadTypeName() to __TryReadTypeName() because it should fail when the type is a nested type (because the name of a nested type cannot be expressed by namespace + name).
|
2011-01-12 12:55:10 +00:00 |
jfrijters
|
cfc3fd4552
|
Add support for NETCF in rendering pseudo DllImportAttribute (i.e. skip fields that don't exist).
|
2011-01-12 09:34:57 +00:00 |
jfrijters
|
8febdc94e9
|
Fix for big endian systems. Thanks to Marek Safar for reporting this.
|
2011-01-11 05:16:48 +00:00 |
jfrijters
|
8b27b91cc3
|
Added support for loading resources from assemblies loaded in the LoadFrom context.
|
2011-01-07 06:24:30 +00:00 |
jfrijters
|
97b392cf09
|
Unspecified scope id should be -1 in Java, not 0.
|
2011-01-06 17:04:58 +00:00 |
jfrijters
|
ec3c81d408
|
Added -Xreference: option to ikvm.
|
2010-12-28 09:06:15 +00:00 |