Commit Graph
25 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Miguel de Icaza f48ceb9860 [System] Removal of the NET_2_0 in the source code
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
2012-06-02 13:16:40 -04:00
Rodrigo Kumpera 1d942f150d In .:
2008-07-01  Rodrigo Kumpera  <[email protected]>

	* PropertyDescriptorCollection.cs : Kill some foreach loops.


svn path=/trunk/mcs/; revision=107032
2008-07-02 04:08:24 +00:00
Atsushi Eno 293fb62d31 too silly to document.
svn path=/trunk/mcs/; revision=106777
2008-06-27 20:56:26 +00:00
Gert Driesen f1f33477a9 * EventDescriptorCollectionTests.cs: Enabled tests for Empty, Find and
IList. Added test for String indexer.
* PropertyDescriptorCollectionTests.cs: Improved test for Find and
merged CultureInsensitiveFindTest. Improved test for Find with null 
name/key. Added test for String indexer.
* EventDescriptorCollection.cs: Fixed Empty to return read-only
collection. In a read-only collection, throw NotSupportedException
instead of InvalidOperationException when attempting to modify the
collection. Fixed find to use ordinal comparison on 2.0 profile.
Fixed IList's IsFixedSize and IsReadOnly.
* PropertyDescriptorCollection.cs (Find): Use key as argument name
when name is null. Silly compatiblity fix.

svn path=/trunk/mcs/; revision=106736
2008-06-27 13:26:19 +00:00
Gert Driesen daaaa7b89c * System_test.dll.sources: Added EventDescriptorCollectionTest.cs.
* EventDescriptorCollectionTests.cs: Added tests based on tests for
PropertyDescriptorCollection.
* PropertyDescriptorCollectionTests.cs: Added tests for Sort overloads.
Improved test for Find with null key.
* EventDescriptorCollection.cs: Fixed NRE in Sort overloads when order
string array is null.
* PropertyDescriptorCollection.cs: Fixed NRE in Sort overloads when
order string array is null.

svn path=/trunk/mcs/; revision=106733
2008-06-27 11:59:22 +00:00
Ivan Zlatev 881090cd44 2008-06-27 Ivan N. Zlatev <[email protected]>
* PropertyDescriptorCollection.cs, EventDescriptorCollection.cs, 
	MemberDescriptor.cs: Implement proper sorting of descriptors by 
	comparing their names.
	[Fixes bug #403882]


svn path=/trunk/mcs/; revision=106718
2008-06-27 01:35:01 +00:00
Vladimir Krasnov 697eb249dc * PropertyDescriptorCollection.cs: optimized Find method, removed culture sensitive string comparison
* PropertyDescriptorCollectionTests.cs: added test for Find method

svn path=/trunk/mcs/; revision=91873
2007-12-25 10:17:47 +00:00
Noam Lampert b436d116ea Fix for compilation in Java
svn path=/trunk/mcs/; revision=81148
2007-07-01 17:59:11 +00:00
Gert Driesen e998f17c28 * PropertyDescriptorCollection.cs: Added missing explicit interface
implementation of IEnumerable.GetEnumerator.
* TypeDescriptor.cs: Params modifier applies to 1.0 profile as well.
Spaces to tabs.

svn path=/trunk/mcs/; revision=81104
2007-06-30 13:33:25 +00:00
Vladimir Krasnov 62cf3d2b7e * PropertyDescriptorCollection.cs: fixed Find method, compare using invariant culture
svn path=/trunk/mcs/; revision=77332
2007-05-14 08:59:27 +00:00
Konstantin Triger 581d0291ad remove TARGET_JVM defines
svn path=/trunk/mcs/; revision=72292
2007-02-05 12:44:48 +00:00
Andrew Skiba 217f1306af TARGET_JVM
svn path=/trunk/mcs/; revision=66028
2006-09-28 13:39:13 +00:00
Gert Driesen f1c67c6a48 * TypeConverter.cs: Added explicit interface implementation for
ICollection.CopyTo and IEnumerable.GetEnumerator. Fixes corcompare
warnings.
* Component.cs: Remove TypeConverter attribute. Fixes corcompare
warning.
* AttributeCollection.cs: Added explicit interface implemenation for
IEnumerable.GetEnumerator, IList.RemoveAt and ICollection.Count.
Fixes corcompare warnings.
* PropertyDescriptorCollection.cs: Added explicit interface
implemenation for ICollection.Count. Fixes corcompare warning.

svn path=/trunk/mcs/; revision=61323
2006-05-31 13:20:33 +00:00
Gert Driesen 126eee6f86 * TypeConverterTests.cs: Added tests for TypeConverter.
* PropertyDescriptorCollection.cs: Added tests for PropertyDescriptorCollection.
* TypeDescriptor.cs: Remove usage of removed internal
PropertyDescriptorCollection ctor. Return read-only collection.
* PropertyDescriptorCollection.cs: Removed internal ctor taking
ArrayList. Add ctor for making read-only collection. Added
read-only checks. Implemented IsReadOnly and IsFixedSize. Empty now
returns read-only collection to match MS.NET.
* System_test.dll.sources: Added TypeConverterTest.cs and
PropertyDescriptorCollection.cs.

svn path=/trunk/mcs/; revision=50242
2005-09-19 16:52:34 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Lluis Sanchez a0ea05369d * AttributeCollection.cs: Added new internal constructor.
* DesignerAttribute.cs: Fixed property TypeId.
	* EventDescriptorCollection.cs: Added internal constructor. Added new
	  method Filter that removes events that do not have the specified
	  attributes.
	* MemberDescriptor.cs: Minor fixes.
	* PropertyDescriptor.cs: Implemented some missing methods.
	* PropertyDescriptorCollection.cs: Added internal constructor. Implemented
	  Sort methods.
	* ReferenceConverter.cs: Removed some TODOs.
	* SyntaxCheck.cs: Implemented CheckMachineName and CheckPath.
	* TypeDescriptor.cs: Implemented most of missing methods.

svn path=/trunk/mcs/; revision=25473
2004-04-14 14:44:09 +00:00
Miguel de Icaza f9b908cd24 2003-11-22 Miguel de Icaza <[email protected]>
* PropertyDescriptorCollection.cs (Insert): Another one.

svn path=/trunk/mcs/; revision=20346
2003-11-23 00:06:53 +00:00
Andreas N 152be6c2cc 2003-07-05 Andreas Nahr <[email protected]>
* EnumConverter.cs: Fixed signature
	* EventDescriptorCollection.cs: Fixed signature
	* InheritanceLevel.cs: Fixed enum values; little restyling
	* License.cs: Removed undefined member
	* LicenseManager.cs: Fixed signature, little implementation added
	* PropertyDescriptorCollection.cs: Removed unused field (fixes last remaining compiler warning in this namespace)
	* WarningException.cs: Removed wrong attribute
	* Win32Exception.cs: Added missing attribute

svn path=/trunk/mcs/; revision=15956
2003-07-05 12:57:44 +00:00
Andreas N 94ef21574a 2003-07-02 Andreas Nahr <[email protected]>
* AttributeCollection.cs: Fixed public members
	* BaseNumberConverter.cs: Changed InnerType to internal to match public assembly signature
	* BrowsableAttribute.cs: Removed wrong constructor, Restyle according to guidelines
	* CategoryAttribute.cs: Changed public fields to properties
	* EnumConverter.cs: Added and implemented missing properties, improved implementation
	* EventDescriptorCollection.cs: Fixed wrong signatures, added implementation, fixed potential bug
	* PropertyDescriptorCollection.cs: Fixed public members
	* ReferenceConverter.cs: Implementation added
	* SyntaxCheck.cs: Improved string checks, added MonoTODO descriptions
	* TypeDescriptor.cs: Implementations added

svn path=/trunk/mcs/; revision=15875
2003-07-02 18:26:12 +00:00
Gonzalo Paniagua Javier 33d2a980d3 implementation and fixes by Andreas Nahr.
svn path=/trunk/mcs/; revision=15582
2003-06-23 16:31:41 +00:00
Gonzalo Paniagua Javier a57a294aa8 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
* DerivedPropertyDescriptor.cs: New file.

	* PropertyDescriptorCollection.cs: almost fully implemented.

	* TypeDescriptor.cs: implemented a couple of GetProperties ().

svn path=/trunk/mcs/; revision=6223
2002-07-28 18:36:22 +00:00
Gonzalo Paniagua Javier 05d404e535 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* MemberDescriptor.cs: implemented Attributes and Category.

	* PropertyDescriptor.cs: implemented Converter. Declared GetValue ().

	* PropertyDescriptorCollection.cs: fixed indexers declaration.

	* ReadOnlyAttribute.cs: GetHashCoder (), Equals (), IsDefault () and
	fixed value for Yes.

	* ToolboxItemAttribute.cs: fixed declaration of IsDefaultAttribute.

	* TypeConverter.cs: added SimplePropertyDescriptor class.

svn path=/trunk/mcs/; revision=5957
2002-07-20 08:39:12 +00:00
Miguel de Icaza 41285d379d 2002-05-01 Miguel de Icaza <[email protected]>
* PropertyDescriptorCollection.cs: Added the IList explicit
	implementation methods.

	lots of bug fixes to get the build to compile again.

svn path=/trunk/mcs/; revision=4209
2002-05-01 21:04:37 +00:00
Rodrigo Moya c4cb862aab 2002-05-01 Rodrigo Moya <[email protected]>
* ListSortDirection.cs: new enumeration. Please, somebody run
	EnumCheck on it, as I don't have a windows machine.

	* PropertyDescriptorCollection.cs: new class.

	* ITypedList.cs:
	* IBindingList.cs: new interfaces.

svn path=/trunk/mcs/; revision=4200
2002-05-01 17:58:24 +00:00