Commit Graph
67 Commits
Author SHA1 Message Date
Jb Evain b672376504 2010-06-04 Jb Evain <[email protected]>
* ConditionalWeakTable.cs: make sure we use positive indexes.


svn path=/trunk/mcs/; revision=158486
2010-06-04 16:27:11 +00:00
Rodrigo Kumpera 3a6d84a1a4 2010-05-11 Rodrigo Kumpera <[email protected]>
* ConditionalWeakTable.cs: Implement simple open addressing
	hash table with linear probing. We use a prime sized table
	for an easy hashing and a target load capacity of 70%.

	On a synthetic benchmark, a load factor of 70% did not cause
	significant performance degradation over 60% as would be
	expected.

svn path=/trunk/mcs/; revision=157174
2010-05-11 21:54:51 +00:00
Rodrigo Kumpera be346a8bf5 2010-05-06 Rodrigo Kumpera <[email protected]>
* ConditionalWeakTable.cs: Discard old broken version. New
	version user proper runtime support. Currently it performs
	linear search over the keys, which is dog slow but it's a
	good start.

svn path=/trunk/mcs/; revision=156851
2010-05-06 20:37:56 +00:00
Sebastien Pouliot 8bdb6b1fb9 2010-03-18 Sebastien Pouliot <[email protected]>
* ConditionalWeakTable.cs:
	* ReferenceAssemblyAttribute.cs:
	* TypeForwardedFromAttribute.cs:
		Build them into Moonlight too (SL4)


svn path=/trunk/mcs/; revision=153839
2010-03-18 13:56:07 +00:00
Paolo Molaro 8a47a850ec Fri Feb 12 19:03:11 CET 2010 Paolo Molaro <[email protected]>
* ReferenceAssemblyAttribute.cs: new attribute in 4.0.


svn path=/trunk/mcs/; revision=151645
2010-02-12 18:04:29 +00:00
Paolo Molaro 07fdcf989b Fri Feb 12 18:39:57 CET 2010 Paolo Molaro <[email protected]>
* RuntimeHelpers.cs: implemented EnsureSufficientExecutionStack ().


svn path=/trunk/mcs/; revision=151642
2010-02-12 17:47:39 +00:00
Rodrigo Kumpera a43bd91ef8 2010-01-05 Rodrigo Kumpera <[email protected]>
* ParameterInfo.cs (DefaultProperty): Add support for DateTime defaults.

	* ParameterInfo.cs: Implements RawDefaultProperty.

2010-01-05 Rodrigo Kumpera  <[email protected]>

	* DateTimeConstantAttribute.cs: Add internal Ticks property.

2010-01-05 Rodrigo Kumpera  <[email protected]>

	* DateTimeConstantAttribute.cs: Add internal Ticks property.

svn path=/trunk/mcs/; revision=149083
2010-01-05 16:44:55 +00:00
Miguel de Icaza 8ca35abf10 2009-11-08 Miguel de Icaza <[email protected]>
* Use the ConditionalWeakTable.cs implementation from MEF, it
	needs a little bit of work (see the comment on the file, and the
	test suite that shows the problem).

	This code is MS-PL

2009-10-15  Sebastien Pouliot  <[email protected]>

svn path=/trunk/mcs/; revision=145687
2009-11-08 23:05:00 +00:00
Sebastien Pouliot cde9cb60e2 In Test/System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* RuntimeHelpersTest.cs: Add more test cases for validations

In System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* RuntimeHelpers.cs: Add missing validations


svn path=/trunk/mcs/; revision=144208
2009-10-15 14:36:12 +00:00
Marek Safar 7a135046d8 2009-09-23 Marek Safar <[email protected]>
* MethodImplOptions.cs: Add NoOptimization.


svn path=/trunk/mcs/; revision=142509
2009-09-23 19:59:05 +00:00
Jérémie Laval 2e21472723 2009-08-11 Jérémie Laval <[email protected]>
In build/common/:
   * Consts.cs.in: Add BOOTSTRAP_NET_4_0.

In class/corlib/System.Collections.Concurrent/:
   * ConcurrentQueue.cs:
   * IProducerConsumerCollection.cs: Add BOOTSTRAP_NET_4_0.

In class/corlib/System.Runtime.CompilerServices/:
   * TypeForwardedFromAttribute.cs: Add BOOTSTRAP_NET_4_0.

In class/corlib/System.Threading/:
   * Watch.cs:
   * SpinWait.cs:
   * CountdownEvent.cs:
   * CancellationToken.cs:
   * ICancelableOperation.cs:
   * CancellationTokenSource.cs:
   * CancellationTokenRegistration.cs: Add BOOTSTRAP_NET_4_0.

In class/corlib/System/:
   * Funcs.cs:
   * Action.cs:
   * AggregateException.cs: Add BOOTSTRAP_NET_4_0.

svn path=/trunk/mcs/; revision=139736
2009-08-11 21:10:04 +00:00
Marek Safar a9544047d5 2009-07-02 Marek Safar <[email protected]>
* ConditionalWeakTable.cs: New file.


svn path=/trunk/mcs/; revision=137274
2009-07-02 11:26:51 +00:00
Marek Safar aafd64f1ca 2009-06-10 Marek Safar <[email protected]>
* InternalsVisibleToAttribute.cs: Updated to 2.0 SP2.


svn path=/trunk/mcs/; revision=135842
2009-06-10 13:32:45 +00:00
Marek Safar 457cda4507 2009-06-10 Marek Safar <[email protected]>
* TypeForwardedFromAttribute: New file.


svn path=/trunk/mcs/; revision=135841
2009-06-10 13:03:22 +00:00
Andreas N 91e6fe43cd 2008-04-02 Andreas Nahr <[email protected]>
* IndexerNameAttribute.cs
	* MethodImplAttribute.cs: Fix parameter names

svn path=/trunk/mcs/; revision=99652
2008-04-02 17:07:17 +00:00
Zoltan Varga 101a83000a 2007-08-28 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Implement RunModuleConstructor ().

svn path=/trunk/mcs/; revision=84958
2007-08-28 15:07:43 +00:00
Miguel de Icaza 5726c8d974 2007-01-22 Miguel de Icaza <[email protected]>
* RuntimeHelpers.cs: The constrained methods are safe not throwing
	exceptions.  The MonoTODO is enough, no need to throw

svn path=/trunk/mcs/; revision=71463
2007-01-22 20:48:52 +00:00
Raja R Harinath 49735d775a svn:eol-style=native
svn path=/trunk/mcs/; revision=69040
2006-12-05 14:45:48 +00:00
Sebastien Pouliot d9bcdef07b 2006-11-01 Sebastien Pouliot <[email protected]>
* RuntimeWrappedException.cs: Add missing GetObjectData method.


svn path=/trunk/mcs/; revision=67214
2006-11-01 13:29:21 +00:00
Miguel de Icaza 748159656e 2006-08-22 Miguel de Icaza <[email protected]>
* MethodImplOptions.cs, MethodCodeType.cs, LoadHint.cs,
	CompilationRelaxations.cs: Add serializable.

svn path=/trunk/mcs/; revision=64219
2006-08-22 23:52:33 +00:00
Zoltan Varga 85c0d39ebc 2005-12-07 Zoltan Varga <[email protected]>
* NewConstraintAttribute.cs: Removed.

svn path=/trunk/mcs/; revision=54070
2005-12-07 21:33:59 +00:00
Zoltan Varga 66bf21b54c 2005-11-15 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Really fix build.

svn path=/trunk/mcs/; revision=53081
2005-11-15 18:29:13 +00:00
Zoltan Varga 59c9f763a8 2005-11-15 Zoltan Varga <[email protected]>
* RuntimeHelper.cs: Fix build.

svn path=/trunk/mcs/; revision=53075
2005-11-15 16:58:34 +00:00
Zoltan Varga 65f3e11bd2 2005-11-15 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Make this class static in 2.0.

svn path=/trunk/mcs/; revision=53074
2005-11-15 16:44:49 +00:00
Zoltan Varga eeafb51730 2005-11-15 Zoltan Varga <[email protected]>
* NewConstraintAttribute.cs: Re-add this as gmcs depends on it.

svn path=/trunk/mcs/; revision=53071
2005-11-15 16:35:20 +00:00
Zoltan Varga 6e0e7a4211 2005-11-15 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Net 2.0 RTM updates.

svn path=/trunk/mcs/; revision=53068
2005-11-15 15:36:54 +00:00
Zoltan Varga aaa041fd71 2005-11-15 Zoltan Varga <[email protected]>
* NewConstraintAttribute.cs SuppressMergeCheckAttribute.cs: Remove
	obsolete net 2.0 classes.

svn path=/trunk/mcs/; revision=53063
2005-11-15 15:14:05 +00:00
Zoltan Varga 4e36e44ef6 2005-10-26 Zoltan Varga <[email protected]>
* IsCopyConstructed.cs: New file.

svn path=/trunk/mcs/; revision=52258
2005-10-26 20:16:46 +00:00
Zoltan Varga f0d32305e3 2005-10-26 Zoltan Varga <[email protected]>
* TypeForwardedToAttribute.cs SuppressIldasmAttribute.cs TypeForwardedToAttribute.cs: Add new net 2.0 classes.

	* NGenHint.cs NGenAttribute.cs: Remove obsolete net 2.0 classes.

svn path=/trunk/mcs/; revision=52254
2005-10-26 19:25:02 +00:00
Zoltan Varga e12a7033a1 2005-10-26 Zoltan Varga <[email protected]>
* *.cs: Add/remove net 2.0 attributes.

svn path=/trunk/mcs/; revision=52252
2005-10-26 19:03:46 +00:00
Zoltan Varga 74306090ce 2005-10-07 Zoltan Varga <[email protected]>
* RuntimeCompatibilityAttribute.cs RuntimeWrappedException.cs: New files.

svn path=/trunk/mcs/; revision=51413
2005-10-07 16:29:55 +00:00
Zoltan Varga 05f3a888f0 2005-08-09 Zoltan Varga <[email protected]>
* SpecialNameAttribute.cs: New file.

svn path=/trunk/mcs/; revision=48205
2005-08-09 20:29:36 +00:00
Gert Driesen 25a877e9fd * AssemblyInfo.cs: Fixed AssemblyDescription to match MS.NET.
* Array.cs: Changed protected ctor to private. Fixes API compatibility
with MS.NET.
* RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* Type.cs: Added GetType method and implemented _Type interface.
Fixes API compatibility with MS.NET.
* corlib.dll.sources: Added System.Runtime.InteropServices/
TypeLibImportClassAttribute.cs.
* AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to correspond 
with MS.NET
* ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to
correspond with MS.NET
* CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA
fixes to correspond with MS.NET
* EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with MS.NET
* EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond with MS.NET
* FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond with MS.NET
* LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond with MS.NET
* MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond 
with MS.NET
* MethodRental.cs: CA fixes to correspond with MS.NET, implemented 
_MethodRental.
* ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond 
with MS.NET
* ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond with MS.NET
* ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to correspond 
with MS.NET
* PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to correspond 
with MS.NET
* SignatureHelper.cs: Implement _SignatureHelper, CA fixes to correspond 
with MS.NET
* TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond with MS.NET
* DecimalConstantAttribute.cs: Only mark ctor not CLSCompliant on 2.0
profile to match MS.NET.
* Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
* ConstructorInfo.cs: Added GetType() method in 1.1 to match MS.NET, 
implemented _ConstructorInfo.
* EventInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_EventInfo.
* FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_FieldInfo.
* MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_MemberInfo.
* MethodBase.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_MethodBase.
* MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_MethodInfo.
* PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_PropertyInfo.
* TypeAttributes.cs: CustomFormatMask and CustomFormatClass should only be 
exposed in 2.0 profile.

svn path=/trunk/mcs/; revision=48073
2005-08-07 08:48:11 +00:00
Carlos Alberto Cortez 3108144fd6 2005-08-03 Carlos Alberto Cortez <[email protected]>
* InternalsVisibleToAttribute.cs: Add BOOTSTRAP_NET_2_0
	directive, since we need it to implement friend assemblies
	in gmcs.
	

svn path=/trunk/mcs/; revision=47988
2005-08-04 03:45:11 +00:00
Zoltan Varga e9dd809bf7 2005-06-06 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Add some missing 2.0 attributes.

svn path=/trunk/mcs/; revision=45491
2005-06-06 14:16:21 +00:00
Marek Safar 03e93e668a 2005-02-12 Marek Safar <[email protected]>
* CompilationRelaxationsAttribute.cs,
	* DependencyAttribute.cs,
	* FixedBufferAttribute.cs,
	* InternalsVisibleToAttribute.cs,
	* RequiredAttributeAttribute.cs,
	* StringFreezingAttribute.cs: Fix NET_2_0 attributes.

	* CustomConstantAttribute.cs,
	* IndexerNameAttribute.cs: Fix AttributeUsage flags.

svn path=/trunk/mcs/; revision=40533
2005-02-12 14:12:09 +00:00
Sebastien Pouliot 3ea052604b 2005-01-04 Sebastien Pouliot <[email protected]>
* IsVolatile.cs: Fix errors in corcompare (HEAD versus 1.1 and 2.0). 
	It seems that the file was replaced for 2.0, which broke 1.1 build and
	was then fixed (build-wise) but introduced corcompare errors on both 
	1.1 and 2.0. The MONO-1-0 branch wasn't affected.


svn path=/trunk/mcs/; revision=38324
2005-01-04 19:28:46 +00:00
Zoltan Varga 602643cec9 2004-10-15 Zoltan Varga <[email protected]>
* IsVolatile.cs: Remove #ifdef NET_2_0.

svn path=/trunk/mcs/; revision=35023
2004-10-15 09:33:02 +00:00
Zoltan Varga fe1d162935 2004-10-04 Zoltan Varga <[email protected]>
* NGenAttribute.cs: Add ComVisible (false).

svn path=/trunk/mcs/; revision=34668
2004-10-04 12:33:39 +00:00
Zoltan Varga 491cb45330 2004-10-04 Zoltan Varga <[email protected]>
* *.cs: Add some more 2.0 stuff.

svn path=/trunk/mcs/; revision=34663
2004-10-04 11:53:13 +00:00
Zoltan Varga 82416566c3 2004-10-04 Zoltan Varga <[email protected]>
* *.cs: Add more 2.0 stuff.

svn path=/trunk/mcs/; revision=34660
2004-10-04 09:51:57 +00:00
Zoltan Varga d0e8c70c5e 2004-10-04 Zoltan Varga <[email protected]>
* MethodImplOptions.cs MethodCodeType.cs RuntimeHelpers.cs DecimalConstantAttribute.cs: Add 2.0 stuff.

svn path=/trunk/mcs/; revision=34659
2004-10-04 09:41:04 +00:00
Zoltan Varga 75d4659421 2004-10-04 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add new 2.0 classes under System.Runtime.InteropServices.

svn path=/trunk/mcs/; revision=34656
2004-10-04 09:04:59 +00:00
Zoltan Varga b10dce9bf9 2004-10-04 Zoltan Varga <[email protected]>
* *.cs: Add new 2.0 classes.

svn path=/trunk/mcs/; revision=34655
2004-10-04 09:01:29 +00:00
Ben Maurer 7b6cc1376d 2004-06-30 Ben Maurer <[email protected]>
* RuntimeHelpers.cs: OffsetToStringData is now and intrinsic,

svn path=/trunk/mcs/; revision=30586
2004-06-30 17:46:17 +00:00
Gert Driesen 24f35b6a4b * MethodImplAttribute.cs: changed field name to fix serialization
compatibility with MS.NET

svn path=/trunk/mcs/; revision=29630
2004-06-15 18:21:14 +00:00
Gert Driesen 31d549e2d1 * CustomConstantAttribute.cs
* DateTimeconstantAttribute.cs
* DecimalConstantAttribute.cs
* IDispatchConstantAttribute.cs
* IUnknownConstantAttribute.cs
* MethodImplAttribute.cs
* RequiredAttributeAttribute.cs: now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

svn path=/trunk/mcs/; revision=27701
2004-05-19 18:47:07 +00:00
Martin Baulig d3d0492591 2004-03-30 Martin Baulig <[email protected]>
* NewConstraintAttribute.cs: New file.

svn path=/trunk/mcs/; revision=24800
2004-03-30 20:03:00 +00:00
Zoltan Varga 24afef0b65 2003-11-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs (Equals): Track changes to ValueType.

svn path=/trunk/mcs/; revision=20171
2003-11-18 13:45:45 +00:00
Zoltan Varga 121c22e588 2003-11-15 Zoltan Varga <[email protected]>
* MethodImplOptions.cs MethodCodeType.cs: Add [Flags].

svn path=/trunk/mcs/; revision=20033
2003-11-15 14:37:33 +00:00