Commit Graph
14 Commits
Author SHA1 Message Date
Gert Driesen 3ee30c68d1 * ContextStack.cs: Added argument check to Type indexer, avoiding a
NRE. Modify System.Int32 indexer to throw ArgumentOutOfRangeException
instead of ArgumentException. Reduce number of times that item count
must be obtained.
* ContextStackTest.cs: Added unit tests for indexers, and argument
(null) checks.

svn path=/trunk/mcs/; revision=135596
2009-06-06 17:07:34 +00:00
Ivan Zlatev a01012c499 2008-06-05 Ivan N. Zlatev <[email protected]>
* ContextStack.cs: Also check for subclasses in the Type-based
	indexter property.
	[Fixes bug #509151]

svn path=/trunk/mcs/; revision=135546
2009-06-05 18:37:42 +00:00
Atsushi Eno 73c5dae5f3 2007-11-13 Atsushi Enomoto <[email protected]>
* ResolveNameEventHandler.cs, RootDesignerSerializerAttribute.cs,
	  DesignerLoader.cs, SerializationStore.cs : couple of 2.0 API fixes.


svn path=/trunk/mcs/; revision=89528
2007-11-13 09:25:35 +00:00
Ivan Zlatev 1e7dfe0bc3 2007-11-01 Ivan N. Zlatev <[email protected]>
* ResolveNameEventArgs.cs: Fix Value to not return and set Name.


svn path=/trunk/mcs/; revision=88684
2007-11-01 21:13:48 +00:00
Ivan Zlatev 917ec97a49 2007-08-19 Ivan N. Zlatev <[email protected]>
* ContextStack.cs: Update to 2.0.
        * ContextStackTest.cs: New unit tests for ContextStack.


svn path=/trunk/mcs/; revision=84369
2007-08-19 08:24:16 +00:00
Gert Driesen 5993c31300 * InstanceDescriptor.cs: Allow null members. Fixed exception messages.
For properties, do not perform argument check. Fixed Invoke to return
null when member is null or when member is not ctor, method, field or
property (eg. a type). Removed obsolete HasThis method.
* InstanceDescriptorTest.cs: Improved ctor tests. Added tests for 
properties and fields.

svn path=/trunk/mcs/; revision=82411
2007-07-21 09:15:36 +00:00
Ivan Zlatev 8d3662e6f6 2007-07-18 Ivan N. Zlatev <[email protected]>
* InstanceDescriptor.cs: Fix a NRE.


svn path=/trunk/mcs/; revision=82215
2007-07-18 16:01:20 +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
Raja R Harinath 34db2481e3 In System/System.ComponentModel.Design.Serialization:
* CodeDomSerializerException.cs: Move to System.Design.dll.

In System.Design:
	* System.ComponentModel.Design.Serialization/CodeDomSerializerException.cs:
	Moved new-ish implementation here from System.dll.

svn path=/trunk/mcs/; revision=57774
2006-03-10 11:51:08 +00:00
Zoltan Varga ce5f4673fa 2006-03-09 Zoltan Varga <[email protected]>
* CodeDomSerializerException.cs: New file.

svn path=/trunk/mcs/; revision=57742
2006-03-09 19:10:21 +00:00
Sebastien Pouliot ddaabf8a3c 2005-10-18 Sebastien Pouliot <[email protected]>
* InstanceDescriptor.cs: Added CAS permissions (unrestricted at class
	level).


svn path=/trunk/mcs/; revision=51870
2005-10-18 15:37:42 +00:00
Sebastien Pouliot f1b7217ebe 2005-10-18 Sebastien Pouliot <[email protected]>
* InstanceDescriptor.cs: Fix Invoke method as there's no 'this' for ctors.


svn path=/trunk/mcs/; revision=51867
2005-10-18 15:19:43 +00:00
Miguel de Icaza 121bf94ccc Merge into ChangeLog
svn path=/trunk/mcs/; revision=39680
2005-01-28 04:15:21 +00:00
Lluis Sanchez e7c2d704c7 2005-01-27 LLuis Sanchez Gual <[email protected]>
* InstanceDescriptor.cs: Constructors don't need to be static.

svn path=/trunk/mcs/; revision=39665
2005-01-27 22:07:51 +00:00