jfrijters
b5a5a34abc
Implemented Assembly.ToString().
2012-04-18 09:19:53 +00:00
jfrijters
3563bf2809
Bug fix. MethodInfo.GetGenericMethodDefinition() should reset the ReflectedType.
2012-04-18 08:39:43 +00:00
jfrijters
3ea85da03a
Regression fix. When GetMethods(DeclaredOnly) is called, we should not call GetBaseDefinition because it is unnecessary and causes problems when one of the base classes is missing. Thanks to Marek Safar for reporting this.
2012-04-18 06:51:20 +00:00
jfrijters
5f1df590e9
Bug fix. It should be possible to import a function pointer type into a ModuleBuilder.
2012-04-17 13:03:54 +00:00
jfrijters
419a31babf
Added ugly hack to fix infinite recursion for recursive type constraints.
2012-04-17 12:59:37 +00:00
jfrijters
f7223b934d
Make Type.__ContainsMissingType return true for generic type parameters that have constraints that return true for __ContainsMissingType.
2012-04-17 11:21:55 +00:00
smallsql
af5b21e7af
fir the wrong loop in getThreadInfo1
2012-04-15 16:16:44 +00:00
smallsql
e8adc6d047
First implementation of ThreadMXBean in Java_sun_management_ThreadImpl
2012-04-15 14:45:48 +00:00
smallsql
8492d64fe6
Move getThreads() to native code for reusing on other place. This is also more like the Java behavior.
2012-04-15 14:43:25 +00:00
jfrijters
1011c474e7
Bug fix. When an unloadable type is used in a method signature that overrides a method (or implements an interface method), the custom modifier must be the same as the base class or an override stub must be generated.
2012-04-13 11:47:48 +00:00
jfrijters
b2b94c0221
Added support for type 2 access stubs for constructors.
2012-04-12 10:09:09 +00:00
jfrijters
35ca28b474
Fixed regression caused by previous commit. If there are multiple output files, we should not re-read the input files specified at a higher level.
2012-04-12 09:44:09 +00:00
jfrijters
dd082628fc
Read input files after processing all the options (to make -nowarn: and -warnaserror: options that follow the file names work for warnings produced during input file reading).
2012-04-12 09:02:17 +00:00
jfrijters
65dad04a63
Binder bug fix. Enums should not be treated as primitives.
2012-04-12 06:40:56 +00:00
jfrijters
d7444307ea
Previous commit required some MethodBuilder changes too.
2012-04-11 20:41:56 +00:00
jfrijters
e33f43598f
Bug fix. ParameterBuilder.Position should return the 1-based position passed in to DefineParameter, not the 0-based ParameterInfo.Position.
2012-04-11 20:14:53 +00:00
jfrijters
5bd018d798
Fixed two bugs in the ReflectedType wrappers for PropertyInfo and EventInfo:
...
- GetXxxMethod would throw a NullReferenceException if the corresponding method didn't exist.
- EventInfo.GetAccessors() called itself instead of the wrapped object.
2012-04-11 13:00:31 +00:00
jfrijters
01da9a7c84
Made WinForms message loop thread creation lazy to hopefully allow more applications to run without message loop thread. This is a (partial) workaround for bug #3515033 .
2012-04-11 08:55:38 +00:00
jfrijters
0dfa90222d
Added Binder support for method and property lookup.
2012-04-10 13:03:09 +00:00
jfrijters
fc67119ad3
Added MemberInfo.ReflectedType.
2012-04-10 09:07:54 +00:00
jfrijters
4893d02da9
Moved member lookup by name to a common implementation that fixes a number of bugs and adds IgnoreCase support.
2012-04-10 06:23:16 +00:00
jfrijters
cc7f357f67
Fixed GetMethods() to properly filter out base class methods that have been overridden.
2012-04-10 06:20:59 +00:00
jfrijters
8dff8bf3bc
Moved GetEvents(), GetFields(), GetConstructors(), GetNestedTypes() and GetProperties() to a common implementation that fixes a number of bugs.
2012-04-10 06:18:32 +00:00
jfrijters
3a980b0b2c
Implemented case insensitive lookup in Type.GetInterface().
2012-04-10 06:09:47 +00:00
jfrijters
b2a6a24bde
Added support for case-insensitive type lookup.
2012-04-09 10:04:58 +00:00
jfrijters
bc16ad7c47
Use Util.ArrayEquals() instead of duplicating the code.
2012-04-09 09:40:23 +00:00
jfrijters
9007a179f4
Added Assembly.GetType(string,bool,bool) method.
2012-04-09 09:36:02 +00:00
jfrijters
dc2e4946c0
Merged GetTypeImpl into it's only caller.
2012-04-09 09:33:24 +00:00
jfrijters
b646522cd8
Fixed a couple of parameter names.
2012-04-09 09:27:50 +00:00
jfrijters
ea43b0dc44
Bug fix. When exporting a nested type (via AssemblyBuilder.__AddTypeForwarder()), we should also set the namespace (in practice it is unlikely for a nested type to have a namespace, but is is possible).
2012-04-07 08:28:14 +00:00
jfrijters
9e4b068e55
Bug fix. When writing an assembly that has a .netmodule, the TypeDefId field in the ExportedType in the manifest module should contain a TypeDef token, not an index as the ECMA spec says.
2012-04-07 08:22:24 +00:00
jfrijters
247b137103
If we can't find the resource compiler, fall back to the NAnt <rc /> task.
2012-03-29 12:08:23 +00:00
jfrijters
38e2ec3fd5
Fix for recently introduced bug (with access stub rewrite). Bug #3512589 .
2012-03-29 09:11:13 +00:00
jfrijters
de64ae331e
There is no reason for Serialization class to be public.
2012-03-26 14:47:07 +00:00
jfrijters
3cfa691e6b
More ikvmc error handling clean up.
2012-03-25 09:10:28 +00:00
smallsql
9461892bc5
Now setRGB can call parallel with graphics API calls
2012-03-24 17:02:14 +00:00
jfrijters
be932e9ceb
Fix regression caused by previous commit. If we can't find the source and no -srcpath: option is specified, the debugging source path should be set to the source file attribute as-is.
2012-03-24 10:02:59 +00:00
jfrijters
bd00ad6a11
Added support to ikvmc to automatically set the full source path in the debugging info if the source file lives next to the .class file.
2012-03-24 08:54:12 +00:00
jfrijters
22b58b98eb
Lots of ikvmc error handling clean up.
2012-03-23 16:45:41 +00:00
jfrijters
f24fb489b5
Ordered using statements and removed unused ones.
2012-03-23 14:31:52 +00:00
jfrijters
83a0bee612
Cleaned up the help message.
2012-03-22 13:17:04 +00:00
jfrijters
b3daaa5112
Print copyright header when compiling (unless -nologo option is specified).
2012-03-22 10:30:20 +00:00
jfrijters
7bb55e3e68
Added explicit -help and -? options to ikvmc.
2012-03-22 10:16:34 +00:00
jfrijters
c761c2894a
Changed ikvmstub to use missing assemblies when a dependency is not found and only complain about it when it is actually needed.
2012-03-22 09:27:51 +00:00
smallsql
9975c7e89a
Replaced non-ascii character (micro) with ascii 'u'.
2012-03-21 21:40:45 +00:00
smallsql
c4c5d53aae
Add support for custom paper format
2012-03-21 21:37:33 +00:00
jfrijters
fefdd5a209
Remove unused constants.
2012-03-21 12:49:11 +00:00
jfrijters
3a77554664
Added ikvmc -highentropyva option (to enable high entropy ASLR in 64 bit processes on Windows 8).
2012-03-21 12:38:22 +00:00
jfrijters
25b6243ac7
New API. Added Module.__DllCharacteristics and ModuleBuilder.__DllCharacteristics properties to get and set image DLL characteristics flags.
2012-03-21 12:36:44 +00:00
jfrijters
91ee68395d
Added ikvmc -filealign:<n> option.
2012-03-21 11:33:10 +00:00