Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
jfrijters a9e46bbe59 Don't add assemblies to the name cache when we didn't explicitly resolve them by that name. This allows having an AssemblyBuilder and an Assembly with the same identity and that can be helpful for circular ref scenarios. 2010-06-18 07:00:12 +00:00
jfrijters be1f4af4fc Added support for importing generic type parameters. 2010-05-20 08:53:11 +00:00
jfrijters a74577ccfa Protect against accidentally importing any IKVM.Reflection type, not just Type. 2010-05-16 07:47:49 +00:00
jfrijters 5b2430d386 Made Universe.HasMscorlib internal and removed the now obsolete Universe.LoadMscorlib(). 2010-05-12 15:23:54 +00:00
jfrijters 823021faf3 Added RawModule to allow user code to load and inspect a module without it becoming part of the universe and also import it efficiently into the universe. 2010-05-12 05:56:19 +00:00
jfrijters 032ac1f4b5 Removed more (broken) assembly loading policy and instead rely on CompareAssemblyIdentity(). 2010-05-12 05:06:14 +00:00
jfrijters af9f23c34f Added implementation of Fusion's CompareAssemblyIdentity API. 2010-05-11 15:19:27 +00:00
jfrijters aacb0b80af It turns out that mscorlib is special cased by the runtime. Any name with a simple name of "mscorlib" is considered mscorlib. 2010-05-11 08:02:29 +00:00
jfrijters a56fb0a1d3 Made mscorlib handling more explicit (and simpler) and fixed Import() to not load assemblies directly, but go through the resolve event. 2010-05-10 08:24:35 +00:00
jfrijters 10a9a48727 Removed attributes that aren't pseudo custom attributes from pseudo custom attribute list. 2010-05-07 16:35:47 +00:00
jfrijters d4c5334936 Added __SetAssemblyVersion(), __SetAssemblyCulture(), __SetAssemblyKeyPair(), __SetAssemblyPublicKey(), __SetAssemblyAlgorithmId() and __SetAssemblyFlags() methods to AssemblyBuilder. 2010-05-07 05:45:29 +00:00
jfrijters 41bfeca16a Removed support for pseudo custom attributes TypeForwardedToAttribute and DefaultParameterValueAttribute that aren't supported by .NET reflection either. 2010-05-07 04:44:11 +00:00
jfrijters 710606f893 Don't cache type import failures. 2010-05-06 14:51:55 +00:00
jfrijters d3c4308bd8 Support for defining mscorlib assembly. 2010-05-06 14:50:22 +00:00
jfrijters dc56fe0f12 Removed unused parameter. 2010-05-06 14:38:42 +00:00
jfrijters 5cf23ddfc5 Pass context assembly to Load() as the requestingAssembly, to make type name resolution in custom attributes pass the correct RequestingAssembly to the AssemblyResolve event. 2010-04-21 06:13:23 +00:00
jfrijters dc0086237d Fixed default assembly resolver to throw/not throw the right exceptions. 2010-04-20 05:25:05 +00:00
jfrijters 50e6420147 Dynamic assemblies should also be visible in the universe. 2010-04-20 05:21:58 +00:00
jfrijters 9ef69e669c Fixed type name parsing bug (thanks to Jb Evain for reporting this). Generic type parameter type names can be without assembly name and then need to be resolved in context. 2010-04-18 09:21:54 +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 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