Jackson Harper
5a02bd5261
* Assembly.cs: Add icall to determine if an assembly has been
...
loaded from the GAC.
svn path=/trunk/mcs/; revision=26019
2004-04-26 20:47:48 +00:00
Atsushi Eno
5fad7c3594
2004-04-23 Atsushi Enomoto <[email protected] >
...
* MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
The fix should be easier ;)
svn path=/trunk/mcs/; revision=25882
2004-04-23 04:35:37 +00:00
Atsushi Eno
26b01be2d4
2004-04-23 Atsushi Enomoto <[email protected] >
...
* MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
NET_2_0 related build fix.
svn path=/trunk/mcs/; revision=25880
2004-04-23 04:18:45 +00:00
Martin Baulig
84a08e67be
2004-04-22 Martin Baulig <[email protected] >
...
Use `#if NET_2_0 || BOOTSTRAP_2_0' for the generic reflection stuff.
svn path=/trunk/mcs/; revision=25878
2004-04-23 02:40:05 +00:00
Martin Baulig
dfedf08d98
2004-04-22 Martin Baulig <[email protected] >
...
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.
svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Lluis Sanchez
b370142742
* Assembly.cs: Removed TODO for CreateQualifiedName.
...
* AssemblyName.cs: Fixed serialization code.
* AssemblyNameProxy.cs: Implemented.
* Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
svn path=/trunk/mcs/; revision=25694
2004-04-19 17:35:08 +00:00
Martin Baulig
55a2a2f6fc
2004-04-07 Martin Baulig <[email protected] >
...
* Type.cs (Type.GetGenericArguments): Make this abstract.
svn path=/trunk/mcs/; revision=25180
2004-04-07 18:55:30 +00:00
Martin Baulig
39eeb07f51
2004-04-07 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericParam): Removed.
svn path=/trunk/mcs/; revision=25141
2004-04-07 08:01:43 +00:00
Martin Baulig
e4b9d98583
2004-04-07 Martin Baulig <[email protected] >
...
* MethodBase.cs
(MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
(MonoGenericInst.GetNestedTypes): Just call
`generic_type.GetNestedTypes (bf)' here.
* MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
include the type arguments.
svn path=/trunk/mcs/; revision=25131
2004-04-07 03:57:02 +00:00
Sebastien Pouliot
e7718dd4ac
2004-04-06 Sebastien Pouliot <[email protected] >
...
* StrongNameKeyPair.cs: Now returns a correct StrongName instance when
the ECMA "key" is used.
svn path=/trunk/mcs/; revision=25102
2004-04-06 17:16:15 +00:00
Sebastien Pouliot
4e06b2fb6f
2004-04-06 Sebastien Pouliot <[email protected] >
...
* StrongNameKeyPair.cs: Added support for ECMA "key".
svn path=/trunk/mcs/; revision=25096
2004-04-06 14:59:20 +00:00
Martin Baulig
2f8675f072
2004-04-02 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
svn path=/trunk/mcs/; revision=24983
2004-04-02 22:13:38 +00:00
Martin Baulig
9001f7dbe3
2004-04-01 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
this and always return false.
svn path=/trunk/mcs/; revision=24950
2004-04-02 04:15:15 +00:00
Martin Baulig
7331471550
2004-04-01 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
svn path=/trunk/mcs/; revision=24945
2004-04-02 03:07:58 +00:00
Martin Baulig
999b93b280
Return typeof (object).
...
svn path=/trunk/mcs/; revision=24826
2004-03-31 01:59:37 +00:00
Martin Baulig
8313557d2d
Make this private.
...
svn path=/trunk/mcs/; revision=24811
2004-03-30 23:31:56 +00:00
Martin Baulig
2aedd1a320
2004-03-30 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs
(MonoGenericParam): Added `bool has_ctor_constraint' field.
(MonoGenericParam.SetConstraints): Added `bool
has_ctor_constraint' argument.
svn path=/trunk/mcs/; revision=24808
2004-03-30 22:42:27 +00:00
Martin Baulig
95c7c99b76
2004-03-29 Martin Baulig <[email protected] >
...
* MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
virtual property.
(MethodBase.HasGenericParameters): Use the "official" behavior
here, ie. return false if we're not a generic method.
svn path=/trunk/mcs/; revision=24740
2004-03-30 00:27:57 +00:00
Martin Baulig
0f0cba4028
2004-03-29 Martin Baulig <[email protected] >
...
* MethodBase.cs: Moved the generics stuff here, made it virtual
where neccessary and use the correct API.
svn path=/trunk/mcs/; revision=24736
2004-03-30 00:12:32 +00:00
Sebastien Pouliot
4df7e1bd7c
2004-03-24 Sebastien Pouliot <[email protected] >
...
* StrongNameKeyPair.cs: Added an internal method to return a
StrongName object (for AssemblyBuilder). Simplified implementation
using Mono.Security.Cryptography.CryptoConvert class.
svn path=/trunk/mcs/; revision=24539
2004-03-24 19:17:35 +00:00
Zoltan Varga
86d3150fbf
2004-03-24 Zoltan Varga <[email protected] >
...
* AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
svn path=/trunk/mcs/; revision=24517
2004-03-24 12:14:09 +00:00
Martin Baulig
8237dc9cd5
2004-03-23 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs: Added support for events.
svn path=/trunk/mcs/; revision=24507
2004-03-23 23:08:19 +00:00
Martin Baulig
6949d3ce57
2004-03-23 Martin Baulig <[email protected] >
...
* MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
if it's the empty string.
svn path=/trunk/mcs/; revision=24483
2004-03-23 18:38:22 +00:00
Martin Baulig
19b9e32cfa
2004-03-10 Martin Baulig <[email protected] >
...
* MethodBase.cs (MethodBase): Implemented
GetGenericMethodDefinition() and HasGenericParameters.
svn path=/trunk/mcs/; revision=23899
2004-03-10 22:10:20 +00:00
Martin Baulig
a4e73598c2
2004-03-09 Martin Baulig <[email protected] >
...
* MonoEvent.cs (MonoEventInfo): Replaced `parent' with
`declaring_type' and `reflected_type'.
(MonoEvent): Distinguish between declaring and reflected type.
svn path=/trunk/mcs/; revision=23862
2004-03-10 00:49:18 +00:00
Martin Baulig
e15f351744
2004-02-25 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs
(MonoGenericInst.GetNestedTypes): Override this.
svn path=/trunk/mcs/; revision=23432
2004-02-25 10:22:22 +00:00
Gonzalo Paniagua Javier
555444c023
2004-02-24 Gonzalo Paniagua Javier <[email protected] >
...
* Binder.cs:
(SelectProperty): check the return Type if provided.
svn path=/trunk/mcs/; revision=23385
2004-02-23 23:13:58 +00:00
Martin Baulig
da40d205b7
2004-02-17 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
support for properties.
svn path=/trunk/mcs/; revision=23192
2004-02-17 21:01:20 +00:00
Martin Baulig
351483fecd
2004-02-17 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
class hierarchy and return members from the parent classes.
(GetConstructors, GetFields): Likewise.
svn path=/trunk/mcs/; revision=23189
2004-02-17 20:25:41 +00:00
Martin Baulig
d6a033f66a
2004-02-17 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
all the members here; we only do this for members of the current
class and only when they're actually queried for.
svn path=/trunk/mcs/; revision=23174
2004-02-17 17:14:07 +00:00
Martin Baulig
72ed23879f
2004-02-12 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoInflatedField): Removed.
svn path=/trunk/mcs/; revision=23039
2004-02-12 19:58:32 +00:00
Martin Baulig
461ad15c82
2004-02-12 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
svn path=/trunk/mcs/; revision=23036
2004-02-12 18:46:36 +00:00
Martin Baulig
7b722f5a74
Reflect latest runtime changes.
...
svn path=/trunk/mcs/; revision=22921
2004-02-09 21:33:02 +00:00
Martin Baulig
18a223a97f
2004-02-08 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
invocations the `reflected' type as `reflected', not `this'.
(MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
svn path=/trunk/mcs/; revision=22879
2004-02-08 15:30:27 +00:00
Martin Baulig
fcf97f0adb
2004-02-08 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
(MonoGenericInst.GetInterfaces_internal): New interncall.
(MonoGenericInst): Reflect latest API changes; use GetParentType()
and GetInterfaces_internal() instead of the fields.
svn path=/trunk/mcs/; revision=22869
2004-02-08 00:29:08 +00:00
Martin Baulig
99d5c4e9c0
2004-02-06 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
svn path=/trunk/mcs/; revision=22826
2004-02-06 13:09:10 +00:00
Martin Baulig
e8b8fdf453
2004-02-03 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
svn path=/trunk/mcs/; revision=22725
2004-02-02 22:51:50 +00:00
Martin Baulig
8a963d3b0a
2004-01-25 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
svn path=/trunk/mcs/; revision=22472
2004-01-25 11:09:40 +00:00
Zoltan Varga
ee4b81f916
2004-01-19 Zoltan Varga <[email protected] >
...
* Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
a reference on the Module object which contains the resource.
svn path=/trunk/mcs/; revision=22267
2004-01-19 18:01:22 +00:00
Zoltan Varga
a5dbe020cd
2004-01-19 Zoltan Varga <[email protected] >
...
* Module.cs: Decrease the image reference count when the Module is
garbage collected.
svn path=/trunk/mcs/; revision=22265
2004-01-19 17:55:58 +00:00
Martin Baulig
40a67efb4d
2004-01-16 Martin Baulig <[email protected] >
...
* Assembly.cs: Make the `MonoDebugger_' methods static.
svn path=/trunk/mcs/; revision=22177
2004-01-16 16:02:09 +00:00
Gonzalo Paniagua Javier
612543850b
2004-01-16 Gonzalo Paniagua Javier <[email protected] >
...
* System/Environment.cs: increased corlib version.
* System.Reflection/MonoProperty.cs: changed get_property_info so that
it only gets the values needed. Reduces the allocations needed.
svn path=/trunk/mcs/; revision=22141
2004-01-16 03:50:54 +00:00
Martin Baulig
b3a09e5757
2003-12-08 Martin Baulig <[email protected] >
...
* MonoGenericInst.cs (MonoGenericParam): New internal class;
derives from MonoType.
svn path=/trunk/mcs/; revision=22091
2004-01-15 03:56:43 +00:00
Nick Drochak
99b03d6db9
2004-01-04 Nick Drochak <[email protected] >
...
* Assembly.cs: Removed unused variable in catch block.Eliminates a build
warning.
svn path=/trunk/mcs/; revision=21675
2004-01-04 14:38:12 +00:00
Ben Maurer
a536805431
2003-12-29 Ben Maurer <[email protected] >
...
* MethodBase.cs: Internal method to get param count (this
way we can get the info for the ilgen without creating
an array, if we override the method).
svn path=/trunk/mcs/; revision=21537
2003-12-29 16:58:36 +00:00
Martin Baulig
59c7d52b31
Non-generic interfaces are null' entries in interfaces'.
...
svn path=/trunk/mcs/; revision=21349
2003-12-19 16:18:41 +00:00
Zoltan Varga
4b708095ba
2003-12-18 Zoltan Varga <[email protected] >
...
* Assembly.cs: Implement LoadFrom.
svn path=/trunk/mcs/; revision=21322
2003-12-18 15:07:26 +00:00
Zoltan Varga
4fe4a6d5d0
2003-12-17 Zoltan Varga <[email protected] >
...
* Assembly.cs: Add stubs for LoadFile.
svn path=/trunk/mcs/; revision=21285
2003-12-17 17:22:52 +00:00
Zoltan Varga
0cf7fb5bcc
2003-12-16 Zoltan Varga <[email protected] >
...
* Assembly.cs (GetManifestResourceStream): Only load non-embedded
resources from files.
svn path=/trunk/mcs/; revision=21256
2003-12-16 22:50:43 +00:00
Zoltan Varga
9bae808067
2003-12-15 Zoltan Varga <[email protected] >
...
* MonoField.cs (SetValue): Throw an exception if the value cannot be
converted to the field's type. Fixes #52177 .
svn path=/trunk/mcs/; revision=21172
2003-12-15 14:19:43 +00:00