Commit Graph
471 Commits
Author SHA1 Message Date
Zoltan Varga 516b4d917a 2005-03-30 Zoltan Varga <[email protected]>
* Binder.cs (check_type): Fix byref support. Fixes #73972.

svn path=/trunk/mcs/; revision=42381
2005-03-30 18:51:23 +00:00
Sebastien Pouliot ff3b2c0bb3 2005-03-24 Sebastien Pouliot <[email protected]>
* MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
	* Module.cs: Add a LinkDemand for SerializationFormatter on 
	GetObjectData method.


svn path=/trunk/mcs/; revision=42235
2005-03-24 19:59:39 +00:00
Sebastien Pouliot 26f74116fd 2005-03-16 Sebastien Pouliot <[email protected]>
* Assembly.cs: Implemented EscapedCodeBase using the copy of 
	System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.


svn path=/trunk/mcs/; revision=41895
2005-03-16 13:11:54 +00:00
Sebastien Pouliot 2ed96fd845 2005-03-11 Sebastien Pouliot <[email protected]>
* MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand 
	(i.e. stack walk) when reflection is being used to invoke a method.


svn path=/trunk/mcs/; revision=41692
2005-03-11 13:10:43 +00:00
Carlos Alberto Cortez 2251dc33e4 2005-02-24 Carlos Alberto Cortez <[email protected]>
* Assembly.cs: LoadFrom: Change signature to support reflection only
	methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
	implemented; InvalidOperationException's re-thrown by CreateInstance.
	Also ReflectionOnly 2.0 property added.

	* MonoMethod.cs: InvalidOperationException's are re-thrown when calling 
	Invoke method on reflection only assemblies.
	

svn path=/trunk/mcs/; revision=41142
2005-02-24 08:43:28 +00:00
Raja R Harinath e809a07446 remove svn:executable
svn path=/trunk/mcs/; revision=41039
2005-02-22 13:59:31 +00:00
Raja R Harinath 91b353867e * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
'abstract' so that this class can be derived outside of corlib.

svn path=/trunk/mcs/; revision=41038
2005-02-22 13:58:53 +00:00
Miguel de Icaza 852f078c27 2005-02-16 Miguel de Icaza <[email protected]>
* MonoEvent.cs: Put new methods here.

	* EventInfo.cs: Move the methods GetCustomAttributes, and
	IsDefined from EventInfo to MonoEvent.

	Remove the methods that were not supposed to be exposed: Name,
	ReflectedType, DeclaringType.

svn path=/trunk/mcs/; revision=40775
2005-02-16 21:17:58 +00:00
Chris Toshok 66cdd5e3c1 2005-02-12 Chris Toshok <[email protected]>
* Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.


svn path=/trunk/mcs/; revision=40557
2005-02-12 20:39:42 +00:00
Ben Maurer 5539d0949a In System:
2005-02-12  Ben Maurer  <[email protected]>

	* Type.cs (GetProperty): Passing new Type [0] is different than
	null. null means `I don't care how many types this has,' while new
	Type [0] means `this must have 0 types.'

In System.Reflection:
2005-02-12  Ben Maurer  <[email protected]>

	* Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
	how many types' value.


svn path=/trunk/mcs/; revision=40537
2005-02-12 16:38:56 +00:00
Zoltan Varga a641ecadc2 2005-02-11 Zoltan Varga <[email protected]>
* Assembly.cs: Fix warning.

svn path=/trunk/mcs/; revision=40487
2005-02-11 16:37:13 +00:00
Martin Baulig ac27c64152 2005-02-10 Martin Baulig <[email protected]>
* Module.cs (MonoDebugger_ResolveType): New internal method.

	* Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
	(MonoDebugger_GetTypeToken): New internal method.


svn path=/trunk/mcs/; revision=40443
2005-02-10 22:06:25 +00:00
Martin Baulig fba01fc2a4 2005-02-10 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.


svn path=/trunk/mcs/; revision=40412
2005-02-10 18:17:27 +00:00
Marek Safar 49dcbb2f20 2005-02-10 Marek Safar <[email protected]>
* Assembly.cs,
	* ConstructorInfo.cs,
	* EventInfo.cs,
	* FieldInfo.cs,
	* MemberInfo.cs,
	* MethodBase.cs,
	* MethodInfo.cs,
	* PropertyInfo.cs: ClassInterfaceType is None.

svn path=/trunk/mcs/; revision=40373
2005-02-10 08:19:26 +00:00
Paolo Molaro 75f7005822 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <[email protected]>
* Module.cs: removed the finalizer and the now unused Close() icall.


svn path=/trunk/mcs/; revision=40062
2005-02-03 14:10:48 +00:00
Miguel de Icaza 47b0eb88e5 Another bug fix from Kazuki, fixes bug: 71297
svn path=/trunk/mcs/; revision=39822
2005-01-31 06:06:57 +00:00
Sebastien Pouliot 8f4a285147 2005-01-21 Sebastien Pouliot <[email protected]>
* Assembly.cs: Fixed add for ModuleResolve.


svn path=/trunk/mcs/; revision=39329
2005-01-21 19:40:41 +00:00
Zoltan Varga 74a0c5340c 2005-01-19 Zoltan Varga <[email protected]>
* LocalVariableInfo.cs: Add ToString method.

svn path=/trunk/mcs/; revision=39181
2005-01-19 16:01:41 +00:00
Zoltan Varga c214207f39 2005-01-19 Zoltan Varga <[email protected]>
* ExceptionHandlingClause.cs: Implement this.

svn path=/trunk/mcs/; revision=39175
2005-01-19 15:33:31 +00:00
Zoltan Varga f598eece9d 2005-01-18 Zoltan Varga <[email protected]>
* MethodBase.cs MonoMethod.cs: Hopefully fix the build.

svn path=/trunk/mcs/; revision=39114
2005-01-18 19:51:10 +00:00
Zoltan Varga 90a4f0719d 2005-01-18 Zoltan Varga <[email protected]>
* MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().

svn path=/trunk/mcs/; revision=39110
2005-01-18 19:20:03 +00:00
Martin Baulig 918de5a3e7 2005-01-03 Martin Baulig <[email protected]>
* MonoGenericMethod.cs
	(MonoGenericMethod.get_reflected_type): Removed.
	(MonoGenericMethod.ReflectedType): Make this an icall.
	(MonoGenericCMethod.ReflectedType): Likewise.	


svn path=/trunk/mcs/; revision=38254
2005-01-03 02:08:36 +00:00
Martin Baulig e7cb93a247 2004-12-29 Martin Baulig <[email protected]>
* MonoGenericMethod.cs: New file.


svn path=/trunk/mcs/; revision=38153
2004-12-29 09:56:54 +00:00
Sebastien Pouliot 35cfe26d59 2004-12-21 Sebastien Pouliot <[email protected]>
* Assembly.cs: Added private LoadAssemblyPermissions to get the 
	declarative security permission sets (minimum, optional and refused)
	for the assembly.


svn path=/trunk/mcs/; revision=38031
2004-12-21 16:24:11 +00:00
Sebastien Pouliot 50ade98767 2004-12-20 Sebastien Pouliot <[email protected]>
* Assembly.cs: Removed old Demand support (moved in System.Security).


svn path=/trunk/mcs/; revision=37975
2004-12-20 15:29:18 +00:00
Zoltan Varga c7d6b06532 2004-12-16 Zoltan Varga <[email protected]>
* CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
	the gmcs bugs blocking them are fixed.

svn path=/trunk/mcs/; revision=37852
2004-12-16 22:01:27 +00:00
Zoltan Varga 3ba1f95ca4 2004-12-08 Zoltan Varga <[email protected]>
* Assembly.cs: Move corlib_internal field to AssemblyBuilder.

svn path=/trunk/mcs/; revision=37392
2004-12-08 16:04:38 +00:00
Zoltan Varga dda443dc2a 2004-12-06 Zoltan Varga <[email protected]>
* Assembly.cs: Add corlib_internal field.

svn path=/trunk/mcs/; revision=37197
2004-12-06 16:30:44 +00:00
Martin Baulig 10768ddc5f 2004-11-30 Martin Baulig <[email protected]>
* MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
	renamed the class from `MonoGenericInst' to `MonoGenericClass'.


svn path=/trunk/mcs/; revision=36855
2004-11-30 19:31:01 +00:00
Zoltan Varga 83796b4a2f 2004-11-05 Zoltan Varga <[email protected]>
* AssemblyName.cs (FullName): Omit default values from full name.

svn path=/trunk/mcs/; revision=35741
2004-11-05 21:20:38 +00:00
Zoltan Varga 05092a9898 2004-11-05 Zoltan Varga <[email protected]>
* Assembly.cs: Implement GetFiles (bool).

svn path=/trunk/mcs/; revision=35735
2004-11-05 20:14:48 +00:00
Zoltan Varga abfc5b1acf 2004-11-05 Zoltan Varga <[email protected]>
* Binder.cs: Add support for byref types. Fixes #69140.

svn path=/trunk/mcs/; revision=35710
2004-11-05 17:56:43 +00:00
Martin Baulig e4e98765b7 2004-10-12 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst): Call initialize() just
	before calling the *_internal() methods.

svn path=/trunk/mcs/; revision=34892
2004-10-12 03:27:20 +00:00
Zoltan Varga c3b4fde8fe 2004-10-12 Zoltan Varga <[email protected]>
* MethodBody.cs: Implement this.

svn path=/trunk/mcs/; revision=34887
2004-10-11 22:00:49 +00:00
Zoltan Varga fb9a3249f0 2004-10-08 Zoltan Varga <[email protected]>
* Module.cs: Handle the case when the global type does not exists.

svn path=/trunk/mcs/; revision=34822
2004-10-08 17:41:16 +00:00
Zoltan Varga b9fd49724d 2004-10-03 Zoltan Varga <[email protected]>
* LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
	from this class.

svn path=/trunk/mcs/; revision=34627
2004-10-03 15:42:23 +00:00
Zoltan Varga 996d5ddd6e 2004-09-28 Zoltan Varga <[email protected]>
* PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].

	* PropertyInfo.cs: Add stub for GetConstantValue ().

	* ParameterInfo.cs (marshalAs): Make this private.

	* Module.cs (ModuleHandle): Add [CLSCompliant(false)].

	* LocalVariableInfo.cs MethodBody.cs: Disable default constructor.

svn path=/trunk/mcs/; revision=34475
2004-09-28 11:07:58 +00:00
Zoltan Varga 487b93aed6 2004-09-28 Zoltan Varga <[email protected]>
* ExceptionHandlingClause.cs: Disable default constructor.

svn path=/trunk/mcs/; revision=34474
2004-09-28 10:55:24 +00:00
Zoltan Varga 37b3f92db6 2004-09-27 Zoltan Varga <[email protected]>
* CustomAttributeData.cs CustomAttributeTypedArgument.cs
	CustomAttributeNamedArgument.cs: New files.

svn path=/trunk/mcs/; revision=34437
2004-09-27 15:32:33 +00:00
Zoltan Varga 19a415ecec 2004-09-27 Zoltan Varga <[email protected]>
* MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
	ExceptionHandlingClauseFlags.cs: New files.

svn path=/trunk/mcs/; revision=34435
2004-09-27 13:03:02 +00:00
Zoltan Varga 915e78f676 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add support for returning MarshalAsAttribute.

	* ParameterInfo.cs: Add marshalAs field, add support for returning
	MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34416
2004-09-26 17:10:34 +00:00
Zoltan Varga c48bcb131d 2004-09-26 Zoltan Varga <[email protected]>
* ParameterInfo.cs: Add marshalAs field, add support for returning
	MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34412
2004-09-26 16:36:40 +00:00
Zoltan Varga 35d89cef80 2004-09-25 Zoltan Varga <[email protected]>
* Module.cs: Add new 2.0 GetMethods and GetFields methods.

svn path=/trunk/mcs/; revision=34399
2004-09-25 18:29:37 +00:00
Zoltan Varga f017402d09 2004-09-25 Zoltan Varga <[email protected]>
* ParameterInfo.cs: Add GetPseudoCustomAttributes () method.

svn path=/trunk/mcs/; revision=34391
2004-09-25 16:35:35 +00:00
Zoltan Varga 69cbca7fda 2004-09-24 Zoltan Varga <[email protected]>
* MonoField.cs: Add GetFieldOffset.

svn path=/trunk/mcs/; revision=34380
2004-09-24 19:28:20 +00:00
Zoltan Varga 71f0403ddb 2004-09-24 Zoltan Varga <[email protected]>
* ObfuscationAttribute.cs: Add ApplyToMembers.

svn path=/trunk/mcs/; revision=34379
2004-09-24 19:26:46 +00:00
Zoltan Varga e3a84a8528 2004-09-24 Zoltan Varga <[email protected]>
* Assembly.cs: Add stub for ReflectionOnlyLoadFrom.

svn path=/trunk/mcs/; revision=34378
2004-09-24 19:19:56 +00:00
Zoltan Varga 0118ab2ddc 2004-09-24 Zoltan Varga <[email protected]>
* Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.

svn path=/trunk/mcs/; revision=34377
2004-09-24 19:17:07 +00:00
Zoltan Varga 7de18ce3d8 2004-09-24 Zoltan Varga <[email protected]>
* MonoMethod.cs FieldInfo.cs: Add GetPseudoAttributes () method.

svn path=/trunk/mcs/; revision=34374
2004-09-24 19:05:46 +00:00
Zoltan Varga 06ffb1f003 2004-09-24 Zoltan Varga <[email protected]>
* AssemblyNameFlags.cs: Add LongevityUnspecified.

svn path=/trunk/mcs/; revision=34371
2004-09-24 18:49:51 +00:00