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

347 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 261f3ba841 Fix. DefineNestedType should accept a null reference for the interfaces parameter. 2011-05-10 09:01:09 +00:00
jfrijters 3785a038d5 Don't add emtpy vtable fixup. 2011-03-22 10:34:01 +00:00
jfrijters 1147d79bf0 Added high level API extension MethodBuilder.__AddUnmanagedExport(). 2011-03-22 10:26:52 +00:00
jfrijters 72ca5c45b3 Added API extension ModuleBuilder.__AddUnmanagedExportStub(). 2011-03-22 09:48:49 +00:00
jfrijters 1d75ea1fe9 Only fixup pseudo-assembly reference tokens in ExportedType table. 2011-03-21 07:09:46 +00:00
jfrijters cafe630d58 Add ModuleBuilder.__AddAssemblyReference(AssemblyName, Assembly) to allow duplicate assembly references. 2011-03-21 04:49:07 +00:00
jfrijters 9d3e1ec10c Typo. 2011-03-21 04:48:08 +00:00
jfrijters 3991b6b7b9 Use a bit in typeFlags to mark System.Enum and System.ValueType and detect them dynamically, to allow multiple mscorlib versions to be used. 2011-03-21 04:47:37 +00:00
jfrijters 7ce07ae6bc Reverted Universe.ForceAssemblyResolve patch and introduced Module.__ResolveReferencedAssemblies() to allow custom assembly reference resolution. 2011-03-18 16:55:14 +00:00
jfrijters 6e7aab2d2a Added API extension ModuleBuilder.__AddVTableFixups(). 2011-03-18 07:48:34 +00:00
jfrijters dbfb677b7b Added Module.__ReadDataFromRVA() to make it more convenient to read data based on rva. 2011-03-18 05:49:05 +00:00
jfrijters 87c2970ea8 Added support for array Type sizes/lower bounds. 2011-03-17 14:40:50 +00:00
jfrijters ee5fc81328 Don't needlessly read the contents of a resource module. 2011-03-17 10:01:58 +00:00
jfrijters 128a11f836 When missing member resolution is enabled, missing members should always be resolved as missing, instead of trying to resolve base class members first. 2011-03-17 09:19:10 +00:00
jfrijters 923cc2cec6 Fix. Don't map unspecified pinvoke calling convention to winapi. 2011-03-17 09:18:20 +00:00
jfrijters 1930c6e8a0 Added API extension Module.__GetSectionInfo() to query the section information based on an RVA. 2011-03-17 08:39:43 +00:00
jfrijters ea5f2a5dc8 - Added API extension to query the types exported from a module.
- Fixed __AddTypeForwarder() to handle missing types.
2011-03-17 08:15:02 +00:00
jfrijters f89ea5bf40 Always write XML declarative security in .NET 1.1 format. 2011-03-17 06:53:45 +00:00
jfrijters 2300f92c82 Bug fix. BeginExceptFilterBlock() should behave like BeginCatchBlock(), not BeginFinallyBlock(). 2011-03-16 08:07:06 +00:00
jfrijters 944c74fd91 Added API extension for creating missing methods and fields. 2011-03-16 08:05:09 +00:00
jfrijters f8a15b9201 Added ForceAssemblyResolve option to allow assembly identity resolution to be overridden. 2011-03-16 08:03:16 +00:00
jfrijters 4300d8f5ea - Removed TypeBuilder.__SetStructLayoutAttribute().
- Added TypeBuilder.__SetLayout().
- Added Type.__GetLayout().
- Fixed Type.StructLayoutAttribute to be compatible with .NET.
2011-03-14 05:03:30 +00:00
jfrijters 2af3abfc91 Support roundtripping hash in AssemblyRef record. 2011-03-13 09:51:01 +00:00
jfrijters bb8ddbfcc0 Type parameter type names need not assembly qualified if the types live in the current assembly. 2011-03-13 09:09:43 +00:00
jfrijters 896b5a4b57 Bug fix:
- Type parameters should be separated by commas.
- Only the assembly name should escape the ']' characters.
2011-03-13 09:06:55 +00:00
jfrijters c12d5570e5 Added API extension FieldInfo.__FieldRVA. 2011-03-13 09:03:15 +00:00
jfrijters 3ed1a8c475 Added API extension to set the calling convention (without it being meddled with). 2011-03-11 15:50:55 +00:00
jfrijters 31f752b003 Added API extension to get/set stack reserve. 2011-03-11 15:15:25 +00:00
jfrijters e33cc869b9 Added API extensions to get and set custom attributes at the token level. 2011-03-11 14:26:31 +00:00
jfrijters 341a75d21d Added API extension to get the file hash of a resource module. 2011-03-11 14:11:15 +00:00
jfrijters 71d2e9a318 Added API extensions to add low-level Module and ManifestResource table records. 2011-03-11 14:10:15 +00:00
jfrijters a29e2a4ad1 When target .NET 1.x adjust the type name writing algorithm to match the quirks of the Microsoft .NET 1.x metadata writer. 2011-03-11 10:43:46 +00:00
jfrijters cfa0dec0a5 If mscorlib is missing and the context assembly isn't, we should assume that an unqualified missing type is from mscorlib. 2011-03-11 10:42:45 +00:00
jfrijters 39c7869184 Fixed CustomAttributeBuilder.ToData(). 2011-03-11 09:22:32 +00:00
jfrijters 232483959d Fixed __ToBuilder(). Handle arrays inside arrays and added support for retaining boxed enums and enum arrays in object location. 2011-03-11 07:55:42 +00:00
jfrijters 4a66e4ca6c Added API extension CustomAttributeBuilder.__MakeTypedArgument() to make it possible to box an enum or create an array of an enum type in a location typed as object. 2011-03-11 06:27:30 +00:00
jfrijters 957708cf9a Fixed CustomAttributeData.ToString(). 2011-03-11 05:53:48 +00:00
jfrijters bcfaeb2559 Added API extension Assembly.__AssemblyFlags to query all the assembly flags. The AssemblyName.Flags property returns only a subset of the flags. 2011-03-10 16:09:59 +00:00
jfrijters 77c8c9afb0 Bug fix. <Module> should not extend object. 2011-03-10 16:08:44 +00:00
jfrijters d4d84927b8 Automatically emit .NET 1.x compatible declarative security when appropriate. 2011-03-10 12:03:20 +00:00
jfrijters 624f12b7fa - Retain event method ordering.
- Allow duplicate event methods.
- Added API extension EventInfo.__GetMethods() to get all methods associated with an event.
2011-03-10 11:05:54 +00:00
jfrijters a6fcfae9bd - Delay calling convention patching until Bake (because accessors may be set while they aren't done yet).
- Allow multiple getter/setter methods.
- Fixed GetAccessors() regression introduced with recent order retention fixes.
2011-03-10 10:56:57 +00:00
jfrijters 1b78725186 Bug fix. String literals that are invalid UTF-16 should not be "corrected". 2011-03-10 10:54:21 +00:00
jfrijters 2989c70cad Don't emit tiny header if max stack is set explicitly. 2011-03-10 10:50:24 +00:00
jfrijters d96b17bf88 Added API extension to expose property calling convention. 2011-03-10 10:49:17 +00:00
jfrijters 44f03cdd96 Bug fix. MaxStack returned incorrect value for tiny header methods. 2011-03-10 10:48:18 +00:00
jfrijters 8675001bd5 Added API extension to expose resource attributes. 2011-03-10 10:47:37 +00:00
jfrijters f443b36919 Support ToString on a CustomAttributeData with missing type values. 2011-03-10 10:47:03 +00:00
jfrijters 290703c959 If a property or field is missing and the attribute type has a missing base type, assume that the missing member lives there. 2011-03-09 07:35:55 +00:00
jfrijters 013223a4f2 - Fixed support for missing types in generic type parameters in custom attribute values.
- Fixed TypeParser.GetType() not to throw MissingAssemblyException.
- Unified type name parsing again.
2011-03-09 07:11:38 +00:00