* Test/System.ComponentModel/ContainerTest.cs:
* System.ComponentModel/Container.cs: 'unsite' the component when
removing it. Fixes bug #79255. Patch by Ivan N. Zlatev.
svn path=/trunk/mcs/; revision=65261
* Test/System.ComponentModel/TypeDescriptorTests.cs: test for overriden
attributes.
* System.ComponentModel/TypeDescriptor.cs: don't ignore toplevel
attributes when they are overriden.
Patch by Ivan N. Zlatev that fixes bug #79256.
svn path=/trunk/mcs/; revision=65242
* InvalidEnumArgumentException.cs: Updated to 2.0.
* LicenseException.cs: Updated to 2.0. Add a demand for
SerializationFormatter on GetObjectData method.
* TypeDescriptor.cs: Add linkdemand for ReflectionPermission on
CreateEvent and CreateProperties methods. Add linkdemand for
unrestricted on ComNativeDescriptorHandler get/set.
* WarningException.cs: Updated to 2.0. Add a demand for
SerializationFormatter on GetObjectData method.
* Win32Exception.cs: Add a demand for SerializationFormatter on
GetObjectData method.
svn path=/trunk/mcs/; revision=63178
* ReflectionPropertyDescriptor.cs,
DerivedPropertyDescriptor.cs : invoke OnValueChanged() when
the value was successfully changed. It is needed to have
MWF PropertyGrid change properties successfully.
svn path=/trunk/mcs/; revision=60601
* AsyncOperation.cs : SynchronizationContext.OperationStarted()
should not be called more than once. So move it from Post() to
.ctor(). Thanks again to cl.
svn path=/trunk/mcs/; revision=60399
* TypeDescriptor.cs (Info.GetProperties, TypeInfo.GetProperties):
Use the more specific GetProperties call so we do not return
static properties, should fix that part of the PropertyGrid bug
#78192.
Code formatting police hit again.
svn path=/trunk/mcs/; revision=59948
* ReflectionPropertyDescriptor.cs (CanResetvalue): Do not
dereference a null value, avoids crash in property grid.
Code formatting police.
svn path=/trunk/mcs/; revision=59944
* BaseNumberConverter.cs : (ConvertTo) regardless of InnerType,
it converts the argument value to InnerType using supplied format.
(It might be not limited to NET_2_0 but it's too cosmetic to dig
into the problem. At least this is for run-test-ondotnet fixes.)
* ByteConverterTests.cs,
DecimalConverterTests.cs,
DoubleConverterTests.cs,
Int16ConverterTests.cs,
Int64ConverterTests.cs,
SByteConverterTests.cs,
SingleConverterTests.cs,
UInt16ConverterTests.cs,
UInt32ConverterTests.cs,
UInt64ConverterTests.cs:
ConvertToString() (test with custom culture) failed on .NET 2.0.
Fixed it by adding NumberFormat override in each test culture.
svn path=/trunk/mcs/; revision=59860
* AsyncOperation.cs,
AsyncOperationManager.cs
BackgroundWorker.cs
DoWorkEventArgs.cs
DoWorkEventHandler.cs
RunWorkerCompletedEventArgs.cs
RunWorkerCompletedEventHandler.cs :
Initial implementation of AsyncOperation and BackgroundWorker.
(However I think it does not work as expected - it depends on
SynchronizationContext.Post() and I doubt it works fine - the
callback should run synchronously while it does not look so.)
* System.dll.sources : Added AsyncOperation.cs,
AsyncOperationManager.cs, BackgroundWorker.cs,
DoWorkEventHandler.cs, DoWorkEventArgs.cs,
RunWorkerCompletedEventArgs.cs and
RunWorkerCompletedEventHandler.cs.
svn path=/trunk/mcs/; revision=59532
* DesignerSerializationVisibilityAttribute.cs: in the 2.0 case,
this attribute is valid on fields and events as well.
svn path=/trunk/mcs/; revision=55918
* DateTimeConverter.cs: ConvertTo must return zero-length string
for DateTime.MinValue. Use CultureInfo.GetFormat to obtain
DateTimeFormatInfo to match MS.NET.
* System_test.dll.sources: Added DateTimeConverterTests.cs.
svn path=/trunk/mcs/; revision=49013
Set eol-style to native.
* TypeConverter.cs: Always support conversion from InstanceDescriptor. Set
eol-style to native.
* UInt16Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* SByteConverter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* Int16Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* UInt64Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* DecimalConverter.cs: Implement conversion from string to match MS.NET.
Set eol-style to native.
* Int64Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* UInt32Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* Int32Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* DoubleConverter.cs: Implement conversion from string to match MS.NET. Set
eol-style to native.
* BaseNumberConverter.cs: Support conversion from string containing hex
prefixes. Set eol-style to native.
* ByteConverter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
svn path=/trunk/mcs/; revision=48543
match other sources. Set eol-style to native.
* ExtenderProvidedPropertyAttribute.cs: Changed line ending from CRLF
to LF to match other sources. Set eol-style to native.
* RefreshEventHandler.cs: Changed line ending from CRLF to LF to match
other sources. Set eol-style to native.
* TypeDescriptor.cs: Changed line ending from CRLF to LF to match
other sources. Set eol-style to native.
svn path=/trunk/mcs/; revision=48508
* Int16ConverterTests.cs: Added tests for Int16Converter.
* Int32ConverterTests.cs: Added tests for Int32Converter.
* BaseNumberConverter.cs: In ConvertFrom, wrap all exceptions that
are thrown while converting from string in an Exception.
* System_test.dll.sources: Added ByteConverterTests.cs,
Int16ConverterTests.cs and Int32ConverterTests.cs.
* Makefile: We also need to reference System.Drawing assembly to
build test assembly.
svn path=/trunk/mcs/; revision=48428
* ToolboxItemAttribute.cs: Fixed GetHashCode to correspond with MS.NET.
Fixed initialization order. Throw ArgumentException if item type
cannot be loaded.
* System_test.dll.sources: Added ToolboxItemAttributeTests.cs from
System.ComponentModel.
svn path=/trunk/mcs/; revision=48427
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
* Win32Exception.cs: Added some declarative security (permission from
corlib) as an initial test (outside corlib). Added new constructors
for NET_2_0.
svn path=/trunk/mcs/; revision=46779