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
4d4e2b91f7
Don't create duplicate ClassLayout table records when using the DefineType overload that specifies the size and also applying a StructLayoutAttribute.
2010-12-20 18:11:09 +00:00
jfrijters
6be0ac8b26
Set stack height to zero at the entry of an exception block (instead of -1), otherwise an empty try block will not get an automatic leave in "clever" mode.
2010-12-20 14:07:55 +00:00
jfrijters
d6eb6961ca
AssemblyResolve event should fire before resolving to AssemblyBuilder.
2010-12-10 10:26:42 +00:00
jfrijters
426fc0ea15
Fixed stupid copy/paste bug in AssemblyBuilder.GetTypeImpl(). The modules list was iterated twice instead of looking through both modules and addedModules.
2010-12-09 13:31:58 +00:00
jfrijters
c0dfebfa18
On Marek's request changed __TypeName property to __ReadTypeName() to avoid creating new strings.
2010-12-09 13:30:25 +00:00
jfrijters
0c1f86a2cc
Added CustomAttributeData.__TypeName property to allow the custom attribute type name to be queried without requiring the assembly containing the type to be present.
2010-12-09 07:32:15 +00:00
jfrijters
274d83e1ae
Made CustomAttributeData more lazy (when all custom attributes are queried, regardless of type).
2010-12-09 07:16:28 +00:00
jfrijters
af092c964f
According to Marek, Mono requires the PropertyMap table to be sorted.
2010-12-09 06:12:19 +00:00
jfrijters
6395aaffb6
Use Universe.System_AttributeUsageAttribute instead of importing the type here.
2010-12-08 16:10:38 +00:00
jfrijters
a6147467fe
Don't emit unnecessary leave instructions in "clever" mode.
2010-12-08 08:07:07 +00:00
jfrijters
474f06cdc7
The end label of an exception block should always be marked, because you can also backward branch to it.
2010-12-08 07:15:23 +00:00
jfrijters
83f9eaa729
Added Module.__GetReferencedAssemblies() API.
2010-12-08 06:33:03 +00:00
jfrijters
7f82abb787
Added ModuleBuilder.__AddAssemblyReference() API to explicitly add assembly references. This can be used in conjunction with AssemblyBuilder.__AddModule() to add the assemblies referenced by the module to the assembly manifest module. It's not clear to me whether this is required, but Microsoft does it and Assembly.GetReferencedAssemblies() only returns the assemblies referenced from the manifest module.
2010-12-08 06:02:53 +00:00
jfrijters
ee501a23ce
Exception block end label should be marked regardless of exception assistance mode.
2010-12-07 14:30:36 +00:00
jfrijters
d775e26543
Removed NotImplementedException for unsorted GenericParam table, because we don't really care.
2010-12-07 13:38:47 +00:00
jfrijters
3a12bed1ac
At the start of a finally block, the stack height should always be zero (i.e. reachable).
2010-12-07 13:27:50 +00:00
jfrijters
1a1ec4679e
Added support for emitting assemblies with non-existing cultures.
2010-12-06 13:59:52 +00:00
jfrijters
18761a239d
Added support for reading decimal parameter default values with ParamterInfo.RawDefaultValue.
2010-12-06 11:15:36 +00:00
jfrijters
04cfee6dd0
Custom attributes applied to GenericTypeParameterBuilder were attached to the type token, instead of the type parameter token.
2010-12-06 10:31:53 +00:00
jfrijters
743c912af9
HashAlgId in assembly manifest record turns out to be useless (SHA1 is always used).
2010-12-06 05:56:51 +00:00
jfrijters
e7d123ff53
Keep Param table records is correct order.
2010-12-06 05:35:24 +00:00
jfrijters
d0c0fb0ea9
TypeBuilder created by DefineInitializedData should be created.
2010-12-05 04:56:39 +00:00
jfrijters
a3edb5fdd1
- Delay creation of tokens for base type and interfaces until CreateType, to avoid problems when a non yet completely defined type is used as a base type or interface.
...
- Don't clear properties and events fields during CreateType.
2010-12-03 17:01:20 +00:00
jfrijters
ab26584498
Added API to query placeholder assembly custom attributes in a module.
2010-11-29 14:00:10 +00:00
jfrijters
2db5fe38be
Add support for assembly custom attributes on modules (they are applied to a placeholder TypeRef record and compiler consuming the module is supposed to merge them into the assembly manifest).
2010-11-29 11:20:47 +00:00
jfrijters
89eb073f0f
RawModule.GetReferencedAssemblies() should work for non-manifest modules as well.
2010-11-29 09:48:00 +00:00
jfrijters
e0a6956435
Added AssemblyBuilder.__AddModule() to allow pre-existing modules to be linked in.
2010-11-29 09:28:48 +00:00
jfrijters
1410ece953
- Added ModuleBuilder.__Save() to support -target:module option better.
...
- Changed ikvmc to use new ModuleBuilder.__Save() instead of workaround of deleting the manifest module after saving the assembly.
2010-11-29 08:16:54 +00:00
jfrijters
dfbe7738cc
Added AssemblyBuilder.__DefineIconResource() API.
2010-11-29 06:59:20 +00:00
jfrijters
febc651508
Use ResourceSection directly to collect unmanaged resources. To prepare for adding win32 icon resource support.
2010-11-29 06:36:17 +00:00
jfrijters
6ce457dffc
- Added IKVM.Reflection.Missing type.
...
- Fixed ParameterInfo.RawDefaultValue to return Missing.Value if the parameter is optional, but doesn't have a default and to return null, if the parameter isn't optional (and doesn't have a default).
2010-11-26 13:44:06 +00:00
jfrijters
4d3a3079a5
Added exception message for backward branch constraints violations.
2010-10-05 04:50:04 +00:00
jfrijters
dc35f2e455
Throw a NotSupportException if a branch offset doesn't fit (i.e. when a short form branch is used inappropriately).
2010-09-30 07:30:53 +00:00
jfrijters
fceb82b65e
Fixed ExceptionBlock's Compare method to handle identity comparison, as Mono's sort implementation requires this.
2010-09-21 05:42:27 +00:00
jfrijters
7a8c72f1cb
Fix build to work when Mono isn't installed.
2010-08-10 15:02:03 +00:00
jfrijters
1f08d17cd3
Fix bug #3040528 .
2010-08-09 12:07:55 +00:00
jfrijters
132efc54ff
Fixed x64 import directory alignment.
2010-08-09 12:05:43 +00:00
jfrijters
27703d02f7
Fix for bug #3035831 .
2010-07-28 12:12:47 +00:00
jfrijters
330313c596
Pass the outer context to ReadSig when the member's declaring type isn't generic, to support the usage of generic parameters in array signatures (when you call one of the runtime synthesized array methods on a generic type array e.g. T[] array; array.Set(0, default(T));)
2010-06-30 07:28:11 +00:00
jfrijters
5bc7379ddf
Throw better exceptions if MemberRef can't be resolved.
2010-06-30 07:24:21 +00:00
jfrijters
9abce7789f
A TypeRef with a null ResolutionScope is legal and refers to an entry in the export table of the current module.
2010-06-30 07:22:06 +00:00
jfrijters
9439e02ec7
Support fields that have an RVA, but where it is set to zero (C++/CLI does this).
2010-06-30 07:18:35 +00:00
jfrijters
d8edcb3f95
It turns out that "multi dimensional" vectors have "multi dimensional" constructors.
2010-06-30 07:17:58 +00:00
jfrijters
a03acfcfb9
Several fixes for C++/CLI that tends to stick custom modifiers everywhere. Also, support void& in local variable signature.
2010-06-30 07:16:55 +00:00
jfrijters
0399c35f8c
Re-instroduced generic type instantation for "identity" instantations of TypeBuilder types. This is required to be able to distinguish the two types in this example:
...
class Foo<T>
{
void Frob() {
Console.WriteLine(typeof(Foo<>));
Console.WriteLine(typeof(Foo<T>));
}
}
2010-06-28 12:14:24 +00:00
jfrijters
bac98d4479
Use GetTypeTokenForMemberRef() instead of GetTypeToken(), where appropriate.
2010-06-28 10:18:07 +00:00
jfrijters
6a3cdd3851
Avoid adding duplicate MethodSpec rows.
2010-06-28 09:38:00 +00:00
jfrijters
a07e3ae942
Added separate memberref cache to avoid duplicates in the MemberRef table.
2010-06-28 09:37:08 +00:00
jfrijters
b1d4ce1016
Renamed StandAloneSigTable and ModuleRefTable Add methods to FindOrAddRecord for clarity and consistency with the other FindOrAddRecord methods.
2010-06-28 09:33:27 +00:00
jfrijters
21e2415c9b
Handle marshal blob peculiarities.
2010-06-28 08:25:19 +00:00
jfrijters
e2ff75f477
Implemented __GetDeclaredMethods() for ArrayType and MultiArrayType.
2010-06-28 07:41:51 +00:00
jfrijters
6e313c7ae3
Fixed metadata header to account for the actual ImageRuntimeVersion string length, instead of assuming it to be "v2.0.50727".
2010-06-28 06:43:44 +00:00
jfrijters
ee0e906e21
Fixed filter block handling to support having both regular handlers and a filter for the same try block.
2010-06-28 06:35:56 +00:00
jfrijters
b9d7ebd06e
Implemented workaround for incorrect exception table length in methods generated by VB compiler.
2010-06-28 06:33:17 +00:00
jfrijters
4522c47580
Added support for getting the filename of external resources.
2010-06-28 06:32:11 +00:00
jfrijters
68ddbc610b
Declarative security attributes can use non-public constructors (if the attributes are defined in the same assembly as where they're used.)
2010-06-28 06:30:41 +00:00
jfrijters
be79c54486
Made signature binding lazy for GenericMethodInstance.
2010-06-24 08:49:43 +00:00
jfrijters
8af6dc1228
It turns out that it is legal to use a generic method definition in a method body. This typically only makes sense inside the same method and is kind of strange, but for ldtoken it makes a little bit of sense.
2010-06-24 08:49:14 +00:00
jfrijters
f369472784
Fixed ImportTo to use canonical form, which for methods on generic type definitions is the Generic[Method|Field]Instance, instead of the builder. This fixes a duplicate MemberRef row issue when using both the MethodBuilder and the "expanded" form (TypeBuilder.GetMethod(...)).
2010-06-24 08:46:25 +00:00
jfrijters
6f6dc0c78b
Moved ImportMethodSpec to GenericMethodInstance and fixed it to make sure that methods on generic type definitions are referred to via MemberRef.
2010-06-24 08:44:33 +00:00
jfrijters
b618b42d00
Copy/paste bug in ReadTypeDefOrRefEncoded(). Note that this is a low impact bug, because ironically in most places where TypeDefOrRefEncoded is used a TypeSpec isn't legal, only in custom modifiers (where it isn't specified in the spec) is it allowed to use a TypeDefOrRefEncoded token that refers to a TypeSpec.
2010-06-24 07:28:56 +00:00
jfrijters
57c65c964f
DeclaringType should return null for global generic method instances.
2010-06-24 07:22:58 +00:00
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
236e6bb12e
Since referenced assembly identities can change (if they're an AssemblyBuilder), we have to postpone creating an AssemblyRef record until save time.
...
Note that we also take into account the possibility of having multiple assemblies with the same identity and collapse those into a single record. This is to support circular ref scenarios where you load a previous version of an assembly while generating a newer version (with the same identity). A future patch will enable this.
2010-06-18 06:57:18 +00:00
jfrijters
fc0251533f
Don't cache referenced assembly on name, because the name can change (for an AssemblyBuilder).
2010-06-18 06:52:08 +00:00
jfrijters
326219b2f5
Type names must be unescaped.
2010-06-18 06:47:36 +00:00
jfrijters
6a205a316d
Fix. When the user string heap overflows, throw an exception instead of silently creating corrupt image.
2010-06-09 04:50:02 +00:00
jfrijters
dd2f1b550d
Fixed .PDB emitter to work with .NET 4.0. Thanks to Jb Evain for the heads up on this.
2010-06-08 11:30:48 +00:00
jfrijters
b172d2c9f7
Order try blocks inside handlers before the entries for that handler. Workaround for CLR x86 JIT null pointer dereference bug.
2010-06-07 04:13:49 +00:00
jfrijters
e921dbc01d
ConstructorInfoImpl.ImportTo() should forward to MethodInfo.ImportTo() because we don't want to cache the non-canonical underlying MethodInfo in the module as this is both unneeded and breaks for ModuleBuilder which also uses the cache to reverse lookup tokens.
2010-05-27 08:23:46 +00:00
jfrijters
bc23b974ef
Three IsAssignableFrom fixes:
...
- non-vector arrays are not assignable to vector arrays
- value type arrays are not assignable to non-value type arrays (and v.v.)
- pointers can be boxed to ValueType as well as Object
2010-05-21 03:48:26 +00:00
jfrijters
e901c4a753
Added ICustomAttributeProvider interface.
2010-05-20 12:17:16 +00:00
jfrijters
a39f990601
Rewrote __GetCustomAttributes(MemberInfo, ...) to be more sensible (and more efficient).
2010-05-20 09:42:24 +00:00
jfrijters
a6c129ea68
Change IsInheritableAttribute() to use new (filtered) model.
2010-05-20 09:39:07 +00:00
jfrijters
3a9ec6abef
Change __GetCustomAttributes(ParameterInfo) to new model.
2010-05-20 09:37:07 +00:00
jfrijters
7bd6058bd9
Implemented Assembly/Module.IsDefined() in terms of __GetCustomAttributes().Count != 0 to improve efficiency and correctly handle subtyping.
2010-05-20 09:34:34 +00:00
jfrijters
c08cca1a9a
Added __GetCustomAttributes() overloads for Assembly and Module for ease of use and consistency.
2010-05-20 09:32:04 +00:00
jfrijters
4f4f667aa8
Copy/paste bug.
2010-05-20 09:28:44 +00:00
jfrijters
118db6d049
Implemented custom attribute filtering at the source. Added support for custom attribute sub typing.
2010-05-20 09:25:30 +00:00
jfrijters
651f73a990
Implemented Type.IsAssignableFrom() (minus co-/contravariance).
2010-05-20 09:05:09 +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
8f073bf6c2
It turns out that name and culture should be compared case insensitive.
2010-05-12 15:17:24 +00:00
jfrijters
34874d8355
Added Location property and GetReferencedAssemblies() to RawModule.
2010-05-12 08:41:27 +00:00
jfrijters
5649a786d8
Added "PublicKey=" support.
2010-05-12 06:55:49 +00:00
jfrijters
ea1d8c95c5
Cache assemblyRefs, instead of constructing the refnames and going thru Load every time.
2010-05-12 06:14:19 +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
369efbfb93
Support Retargettable assembly name flag.
2010-05-11 09:05:41 +00:00
jfrijters
ca507b6415
Set flags in AssemblyName returned by GetName().
2010-05-11 09:05:15 +00:00
jfrijters
74c6d65c5a
Added ToString().
2010-05-11 09:03:59 +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
1ddae8be4e
Fixed GetReferencedAssemblies() to set AssemblyName.CultureInfo when it's the invariant culture and to set AssemblyName.Flags.
2010-05-11 06:09:50 +00:00
jfrijters
4a3e8e95cb
Added Assembly.CodeBase property and fixes Assembly.GetName() and AssemblyName.GetAssemblyName() to set the CodeBase of the AssemblyName.
2010-05-11 06:07:20 +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
07406738df
Moved AssemblyHashAlgorithm.None -> SHA1 to constructor for .NET compat.
2010-05-07 16:38:13 +00:00
jfrijters
149a55d4dd
Introduced Type.GetEnumUnderlyingTypeImpl() to avoid CheckBaked for our own usage.
2010-05-07 16:37:28 +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
8e478a9f06
Added null check.
2010-05-07 14:03:40 +00:00
jfrijters
188f4deac7
Previous change to identity generic type instantiations caused GetTypeTokenForMemberRef() to break.
2010-05-07 13:56:17 +00:00
jfrijters
f95d73aab5
It turns out that the "identity" generic type instantation should return the type definition.
2010-05-07 13:30:04 +00:00
jfrijters
d2cdf13180
Fixed __GetGenericArgumentsOptionalCustomModifiers() and __GetGenericArgumentsRequiredCustomModifiers() as they should return an array with the same number of elements as the number of generic arguments, even if there aren't any modifiers.
2010-05-07 13:29:05 +00:00
jfrijters
fad2c41c87
Delay signing fix.
2010-05-07 12:04:48 +00:00
jfrijters
ae03b8de03
Added TypeBuilder.__SetAttributes() and MethodBuilder.__SetAttributes() to allow modying the attributes after the builder has been created.
2010-05-07 07:21:29 +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
f18b669110
Don't store AssemblyName, because it is mutable.
2010-05-07 04:29:01 +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
7eb3a6e788
Allow blob decoding for unbaked attribute types.
2010-05-06 14:18:35 +00:00
jfrijters
bb41551896
Constructed types (Generic types, arrays and pointers) should forward CheckBaked to element type.
2010-05-06 13:50:36 +00:00
jfrijters
222b6d7040
Removed CheckBaked() from __GetDeclaredXxx methods and moved it to .NET compatible APIs only. There is really no good reason not to allow unbaked builders to be interrogated.
2010-05-06 13:40:43 +00:00
jfrijters
48d3595082
Fixed Type.GetEnumUnderlyingType(). Only for EnumBuilder should it work on unbaked types.
2010-05-06 13:24:29 +00:00
jfrijters
542d3eca35
Ignore version info custom attributes that were specified using blob. This is same behavior as .NET.
2010-05-06 12:40:07 +00:00
jfrijters
5a8ac674bd
Implemented ModuleBuilder.GetArrayMethod(). Based on patch from Kornel Pal.
2010-05-06 12:35:41 +00:00
jfrijters
f72c9f6cf8
Fixed AssemblyName.GetAssemblyName() to throw the proper exceptions (and by consequence Universe.LoadFile() now also throws the proper exceptions, module a race condition).
2010-05-06 06:45:30 +00:00
jfrijters
8b9c9843c6
Delete .pdb file before initializing PDB writer to make sure we get a sensible exception, instead of the random COM error that the PDB writer produces.
2010-05-06 06:09:03 +00:00
jfrijters
463498ab09
Added AssemblyBuilder.__AddTypeForwarder() to allow type forwarders to be added explictly, because the pseudo custom attribute will be removed (because .NET doesn't support that pseudo custom attribute).
2010-05-06 06:03:34 +00:00
jfrijters
7ba2398596
Made forwarded type resolution lazy.
2010-05-06 05:59:17 +00:00
jfrijters
c8922e0994
Fixed Assembly.GetTypes() bug that caused it to return types in manifest module twice for multi-module assemblies. Thanks to Kornel Pal for this fix..
2010-05-06 05:48:40 +00:00
jfrijters
321d8e5cbb
SetCustomAttribute(ConstructorInfo, byte[]) overload should forward to SetCustomAttribute(CustomAttributeBuilder) overload instead of directly calling ModuleBuilder.SetCustomAttribute(), otherwise we miss the pseudo custom attribute support.
2010-05-06 05:38:52 +00:00
jfrijters
816fd75719
Marked a few fields readonly.
2010-05-06 05:23:47 +00:00
jfrijters
50b99df3bf
Removed mcs specific flag that is no longer required.
2010-04-28 09:39:53 +00:00
jfrijters
b366e8e9b3
Made signature resolution lazy.
2010-04-21 10:13:56 +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
2ce9ef352e
Made MethodDefImpl's ParameterInfoImpl a little more light weight by getting the type and custom modifiers from the method's signature instead of caching it.
2010-04-20 13:39:53 +00:00
jfrijters
0d7db78121
Use Util.Copy() instead of Clone() to copy a Type arrays.
2010-04-20 13:18:31 +00:00
jfrijters
e6d7e01941
Made custom modifier packing more efficient and shared between MethodSignature and MethodBuilder.
2010-04-20 13:06:09 +00:00
jfrijters
71b3df3913
required/optional modifier arguments were in incorrect order.
2010-04-20 12:52:05 +00:00
jfrijters
ba8394267b
Don't eagerly get or cache method name.
2010-04-20 09:48:27 +00:00
jfrijters
16ad8561dc
Made method signature reading lazy. This makes building assemblies with circular dependencies easier (and probably increases perf).
2010-04-20 06:17:21 +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
1f7e86dc1a
AssemblyBuilder.GetName() should return a name with a public key when were doing delay signing.
2010-04-20 05:16:59 +00:00
jfrijters
3f5845db15
Added support for delay signing (i.e. setting the public key without having the private key).
2010-04-19 13:55:18 +00:00
jfrijters
c5ccc4f4fd
A Version object that only has Major.Minor set will return -1 for Build and Revision. Handle that case by setting these parts to zero, instead of casting to 65535.
2010-04-19 13:52:59 +00:00