Commit Graph
183 Commits
Author SHA1 Message Date
Marek Safar 2712774292 Remove unused mdb icall 2014-08-22 22:09:10 +02:00
Marek Safar 394eb0d670 [corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082 2014-04-17 20:00:34 +02:00
Martin Baulig 9ec4d6984f Implement new .NET 4.5 Reflection APIs. 2013-03-12 18:07:53 -04:00
Rodrigo Kumpera 46b4beca67 Add a bunch of dummy fields to Assembly under MOBILE to match the native layout. 2013-03-07 16:09:35 -05:00
Marek Safar b5fe12cbc3 Remove unused icall 2013-03-04 10:06:25 +01:00
Marek Safar b26fc714dd Manually remove code which is disabled but compiler cannot remove automatically. 2013-03-04 09:14:08 +01:00
Rodrigo Kumpera 07a220c61c Mobile should not have the COM types set. 2013-03-01 18:58:35 -05:00
Marek Safar 13d9a0f334 Fix compiler warnings 2013-02-28 09:19:47 +01:00
Marek Safar 6c06b7d204 Optmize some empty array allocations 2013-02-21 14:38:30 +01:00
Rodrigo Kumpera 1b92a4148c Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs. 2013-02-11 18:42:18 -05:00
Rodrigo Kumpera b96d05dac3 Kill the MOONLIGHT define in corlib. 2013-02-11 16:03:28 -05:00
Marek Safar 1fff2451d1 Add explicit interface GetType implementation to avoid object::GetType become proxy. Fixes #10148 2013-02-08 18:33:36 +01:00
Marek Safar e3484720bb Add MOBILE defines to 4.0 code 2012-12-04 18:47:02 +01:00
Rodrigo Kumpera 83dccf8fe7 Add all missing sequential layout directives to corlib and system. 2011-12-13 11:57:23 -02:00
Marek Safar 7acb219a4d Add some missing methods 2011-10-24 12:15:31 +01:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Zoltan Varga 3db7cd1394 Implement AppDomain.ResourceResolve. Fixes #579. 2011-09-04 03:19:33 +02:00
Sebastien Pouliot 7de2d7b467 Ensure the linker can eliminate most CAS-related types in the MOBILE-based profiles 2011-07-20 08:28:42 -04:00
Sebastien Pouliot 21f251532a remove unrequired using clauses 2011-07-19 10:34:57 -04:00
Marek Safar eda489c823 Few 4.0 profile corcompare changes 2011-03-30 18:25:03 +01:00
Geoff Norton 16d4fd790b Further .NET 4.0 ification of the mobile profile 2011-01-25 20:10:54 -05:00
Zoltan Varga 531147d772 Add NET 4.0 Assembly.UnsafeLoadFrom () method. 2011-01-21 07:26:56 +01:00
Zoltan Varga 9899a5f249 Change some usages of ArrayList to List<T> to avoid calls to the slow ArrayList.ToArray(Type) method. 2011-01-06 13:11:56 +01:00
Marek Safar bd05c6c836 Some .net 4.0 api compatibility fixes 2010-12-15 11:12:07 +00:00
Jb Evain a207498c05 Enable the corlib build for monodroid 2010-09-08 18:48:28 +02:00
jbevain f8607d5ff5 System.Reflection.Assembly.IsFullyTrusted: add stub.
2010-07-28  Jb Evain  <[email protected]>

	* Assembly.cs: add IsFullyTrusted stub.
2010-07-28 10:01:35 +02:00
Jb Evain 5b99e77cb2 2010-06-21 Jb Evain <[email protected]>
* MonoModule.cs
	* Assembly.cs
	* MonoAssembly.cs
	* Module.cs:
		Make Assembly and Module abstract on Moonlight too.


svn path=/trunk/mcs/; revision=159266
2010-06-21 13:25:24 +00:00
Jb Evain 10efe7ca96 2010-06-03 Jb Evain <[email protected]>
* Assembly.cs: add net_4_0's PermissionSet property.


svn path=/trunk/mcs/; revision=158396
2010-06-03 10:56:08 +00:00
Jb Evain 56b97bdcec 2010-05-27 Jb Evain <[email protected]>
* Assembly.cs (Load*): add net_4_0 overloads.


svn path=/trunk/mcs/; revision=158018
2010-05-27 11:16:30 +00:00
Rodrigo Kumpera 1605e98646 2010-03-31 Rodrigo Kumpera <[email protected]>
* Assembly.cs: Raise the right exception.

svn path=/trunk/mcs/; revision=154588
2010-04-01 00:15:04 +00:00
Rodrigo Kumpera fd3b1afb67 2010-03-26 Rodrigo Kumpera <[email protected]>
* Assembly.cs: Add IsDynamic.

2010-03-26 Rodrigo Kumpera  <[email protected]>

        * AssemblyBuilder.cs: Add IsDynamic.

svn path=/trunk/mcs/; revision=154329
2010-03-26 22:35:19 +00:00
Rodrigo Kumpera 03bf776263 2010-03-26 Rodrigo Kumpera <[email protected]>
* MonoAssembly.cs:
	* Assembly.cs: Add missing MonoTODO.

svn path=/trunk/mcs/; revision=154310
2010-03-26 19:15:22 +00:00
Rodrigo Kumpera dc2b01f98d 2010-03-26 Rodrigo Kumpera <[email protected]>
* Assembly.cs: Add v4 ==, != and GetHashCode ()

svn path=/trunk/mcs/; revision=154309
2010-03-26 19:15:13 +00:00
Rodrigo Kumpera 1e5c888ee5 2010-03-25 Rodrigo Kumpera <[email protected]>
* Assembly.cs: Add v4 obsolete attribute.

svn path=/trunk/mcs/; revision=154233
2010-03-25 23:47:29 +00:00
Rodrigo Kumpera ba638ba44e 2010-03-25 Rodrigo Kumpera <[email protected]>
* Assembly.cs:
	* MonoAssembly.cs: Move a dozen methods from Assembly.cs
	to MonoAssembly.cs, so they can either be the concrete impl
	on v4 of the only impl on v2.
	Add to Assembly.cs versions that throws NotImplementedException.
	Mask Assembly.cs as abstract.

svn path=/trunk/mcs/; revision=154229
2010-03-25 23:41:47 +00:00
Gonzalo Paniagua Javier 298d72f4ce fix the build
svn path=/trunk/mcs/; revision=154212
2010-03-25 18:12:41 +00:00
Rodrigo Kumpera d0e18f8186 2010-03-24 Rodrigo Kumpera <[email protected]>
* Assembly.cs: Make it a partial class under !v4.

	* MonoAssembly.cs: New type that exists only under
	v4. Under v2 it is a part of Assembly.

	This is the initial setup to make v4 Assembly an
	abstract type where all methods raise exceptions.

svn path=/trunk/mcs/; revision=154179
2010-03-24 22:27:53 +00:00
Jb Evain 05a5b21fa0 use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153656
2010-03-16 12:10:19 +00:00
Rodrigo Kumpera c719591139 2010-02-11 Rodrigo Kumpera <[email protected]>
* MemberInfo.cs: Add GetCustomAttributesData.

	* Assembly.cs:
	* MemberInfo.cs:
	* Module.cs:
	* MonoEvent.cs:
	* MonoField.cs:
	* MonoMethod.cs:
	* MonoProperty.cs:
	* ParameterInfo.cs: Implement GetCustomAttributesData.

2010-02-11 Rodrigo Kumpera  <[email protected]>

	* MonoType.cs: Implement GetCustomAttributesData.

svn path=/trunk/mcs/; revision=151559
2010-02-11 22:55:43 +00:00
Rolf Bjarne Kvinge 3ee47a7168 In class/corlib/System.Reflection:
2010-01-28  Rolf Bjarne Kvinge  <[email protected]>

	* Assembly.cs: GetSatelliteAssembly: Ask LoadSatellite to not throw
	exceptions, since we ignore them anyway.

In class/corlib/System:
2010-01-28  Rolf Bjarne Kvinge  <[email protected]>

	* AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
	whether we should throw on exceptions or not.

svn path=/trunk/mcs/; revision=150366
2010-01-28 11:57:22 +00:00
Marek Safar d02179ed24 Warnings cleanup
svn path=/trunk/mcs/; revision=149459
2010-01-13 13:14:15 +00:00
Jb Evain c9566117fd 2009-12-02 Jb Evain <[email protected]>
* Assembly.cs: disable warning about Assembly overriding
	Equals but not GetHashCode. That's sadly how it's in .net.


svn path=/trunk/mcs/; revision=147467
2009-12-02 17:09:17 +00:00
Miguel de Icaza 5ae301bc56 2009-11-21 Miguel de Icaza <[email protected]>
* Assembly.cs: Implement missing method.

svn path=/trunk/mcs/; revision=146700
2009-11-23 03:45:27 +00:00
Marek Habersack ec7cd3f1c9 2009-11-03 Marek Habersack <[email protected]>
* Assembly.cs: GetSatelliteAssembly must catch
	AppDomain.LoadSatellite FileNotFoundException and attempt to load
	satellites from subdirectories of current assembly's
	directory. Fixes bug #548768

2009-11-03  Marek Habersack  <[email protected]>

	* AppResourcesCompiler.cs: put default culture resources in a
	separate collection, exposed by the DefaultCultureFiles property.

	* AppResourcesAssemblyBuilder.cs: compile the default assembly
	before the satellite ones. Use the default assembly as template
	for generation of the satellite ones.

svn path=/trunk/mcs/; revision=145280
2009-11-03 12:13:08 +00:00
Sebastien Pouliot 50b18b9dd0 2009-10-26 Sebastien Pouliot <[email protected]>
* Assembly.cs: Share code between GetSatelliteAssembly and 
	GetSatelliteAssemblyNoThrow. For Moonlight ensure both 
	GetManifestResourceStream and GetSatelliteAssembly don't load
	anything "below" the assembly path.


svn path=/trunk/mcs/; revision=144845
2009-10-26 12:11:04 +00:00
Miguel de Icaza 68b6eb74b9 More
svn path=/trunk/mcs/; revision=144305
2009-10-17 01:38:02 +00:00
Geoff Norton 88026a47b4 fix MONOTOUCH on trunk
svn path=/trunk/mcs/; revision=144133
2009-10-14 18:49:14 +00:00
Sebastien Pouliot 7bd19bb2be 2009-09-22 Sebastien Pouliot <[email protected]>
* Assembly.cs: Remove Evidence and GlobalAssemblyCache 
	properties for NET_2_1


svn path=/trunk/mcs/; revision=142399
2009-09-22 13:36:51 +00:00
Sebastien Pouliot fc523e8619 2009-09-18 Sebastien Pouliot <[email protected]>
* Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1


svn path=/trunk/mcs/; revision=142188
2009-09-18 14:58:28 +00:00
Jb Evain 288e614ea4 bring Mono Security to monotouch
svn path=/trunk/mcs/; revision=141615
2009-09-09 15:34:58 +00:00