Commit Graph
20 Commits
Author SHA1 Message Date
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
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
Ivan Zlatev bd7ef520cb 2008-06-02 Ivan N. Zlatev <[email protected]>
* MemberDescriptor.cs, PropertyDescriptor.cs, 
	ReflectionPropertyDescriptor.cs: Implement FillAttributes.
	* MemberDescriptor.cs: 
	 - Attributes should be checked for duplicates based on their 
	 TypeId and not Type.
	 - For duplicate attributes the last one added has higher precedence.
	* ReflectionPropertyDescriptor.cs: Use the property type supplied 
	in the ctor instead of using reflection, because this won't work if 
	there are more then one property with the same name.


svn path=/trunk/mcs/; revision=104696
2008-06-02 17:30:21 +00:00
Gert Driesen 9150d90702 * MemberDescriptor.cs: Spaces to tabs, code formatting.
* PropertyDescriptor.cs: When adding or removing a new handler for an 
existing component, update the hashtable. In GetValueChangedHandler,
return null if component is null.
* PropertyDescriptorTests.cs: Added tests for AddValueChanged,
GetInvocationTarget, GetValueChangedHandler and RemoveValueChanged.

svn path=/trunk/mcs/; revision=89659
2007-11-15 09:25:50 +00:00
Atsushi Eno fb6c6bc52c 2007-09-27 Atsushi Enomoto <[email protected]>
* TypeDescriptor.cs : added missing ObsoleteAttribute.
	* MemberDescriptor.cs, PropertyDescriptor.cs :
	  implemented GetInvocationTarget().


svn path=/trunk/mcs/; revision=86524
2007-09-27 18:10:32 +00:00
Atsushi Eno 6256817e8b 2007-05-31 Atsushi Enomoto <[email protected]>
* AsyncOperationManager.cs AttributeCollection.cs
	  BackgroundWorker.cs BindingList.cs CategoryAttribute.cs
	  Component.cs DataObjectFieldAttribute.cs DefaultValueAttribute.cs
	  DescriptionAttribute.cs EventDescriptorCollection.cs
	  IComNativeDescriptorHandler.cs IListSource.cs
	  ListSortDescriptionCollection.cs MemberDescriptor.cs
	  PropertyDescriptor.cs SyntaxCheck.cs ToolboxItemFilterAttribute.cs:
	  2.0 profile updates.


svn path=/trunk/mcs/; revision=78306
2007-05-31 09:42:25 +00:00
Adar Wesley fa26c82574 2007-05-15 Adar Wesley <[email protected]>
* AttributeCollection.cs: added missing method FromExisting.

        * Container.cs: added missing method ValidateName

        * DefaultValueAttribute.cs: added missing method SetValue.

        * EventHandlerList.cs: added missing method AddHandlers.

        * MemberDescriptor.cs: added missing method GetInvocationTarget.

        * PropertyDescriptor.cs: added missing method GetValueChangedHandler.

        * TypeDescriptor.cs: added missing methods CreateInstance, GetFullComponentName,
        GetClassName, GetReflectionType, CreateAssociation, GetAssociation,
        RemoveAssociation, RemoveAssociations.

        * MenuCommand.cs: added missing method overload Invoke

        * ContextStack.cs: added missing method Append.

        * Trace.cs: added missing method Refresh.


svn path=/trunk/mcs/; revision=77397
2007-05-15 11:57:31 +00:00
Gert Driesen beb5f379a9 * MemberDescriptor.cs: On 2.0 profile, take the DisplayNameAttribute
into account for DisplayName. Fixes bug #80292.
* PropertyDescriptorTests.cs: Added test for bug #80292. Fixed
accessibility of NestedClass, not caugh due to bug #80338.

svn path=/trunk/mcs/; revision=69895
2006-12-21 20:13:27 +00:00
Miguel de Icaza e3990cf9e1 2006-11-29 Ivan N. Zlatev <[email protected]>
* MemberDescriptor.cs, ReflectionPropertyDescriptor.cs: 1) The
	ReflectionPropretyDescriptor must be able to operate with non
	public properties.

	2) The current implementation ignores the fact that the component
	can be in design mode. In design mode some of the properties (the
	design-time ones) are supposed to be redirected to the
	designer. The component which should be used to access the
	property is retrieved by using MemberDescriptor.GetInvokee
	(implemented in the patch). Updated the
	ReflectorPropertyDescriptor to use GetInvokee to decide which
	component should it use.

	Reviewed by: Miguel de Icaza


svn path=/trunk/mcs/; revision=68728
2006-11-30 03:52:42 +00:00
Miguel de Icaza 7bc67ec4e8 2005-08-07 Michael Hutchinson <[email protected]>
Patch from Michael Hutchinson to make the aspnet editor work. 
	
	* ReflectionPropertyDescriptor.cs: Create transactions and raise
	component change events for all IComponents, not just base
	implementation 'Component' derivatives.

	* MemberDescriptor.cs: Make members 'Browsable' by default, as per
	MS spec.

	* PropertyDescriptor.cs: Changed default
	DesignerSerializationVisibility value to Visible rather than
	Hidden, as per MS spec.

svn path=/trunk/mcs/; revision=48090
2005-08-07 18:32:53 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +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
Lluis Sanchez f86d09a098 Oops, fixed compilation issue.
svn path=/trunk/mcs/; revision=25231
2004-04-08 19:53:17 +00:00
Lluis Sanchez c315382a2a * AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
Removed unneded TODOs.
	* ComponentResourceManager.cs: Implemented ApplyResources.
	* EventDescriptorCollection.cs: Implemented several missing methods.
	* LicFileLicenseProvider.cs: Implemented.
	* MemberDescriptor.cs: Implemented some missing methods. Handle correctly
	  the creation of the Attribute list.
	* TypeConverter.cs: Use null as default value for attribute array parameter.

svn path=/trunk/mcs/; revision=25229
2004-04-08 19:49:21 +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 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
Piers Haken cc63806f23 minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Ravi Pratap M 80081d895e 2002-01-05 Ravi Pratap <[email protected]>
* CategoryAttribute.cs, Component.cs, ComponentCollection.cs: MonoTODO.

	* Container.cs, MemberDescriptor.cs, PropertyDescriptor.cs : Ditto.

svn path=/trunk/mcs/; revision=1861
2002-01-05 13:38:01 +00:00
Miguel de Icaza b187e6674e 2001-10-27 Miguel de Icaza <[email protected]>
* DesignerSerializationVisibilityAttribute.cs: Implemented.

	* DesignerSerializationVisibility.cs: New enumeration.

	* LocalizableAttribute.cs: Implemented.

	* BrowsableAttribute.cs: Implemented.

	* DesignOnlyAttribute.cs: Implemented.

	* DescriptionAttribute.cs: Implement.

	* MemberDescriptor.cs: Implemented.

	* CategoryAttribute.cs: implemented.

svn path=/trunk/mcs/; revision=1215
2001-10-27 19:38:07 +00:00