* SynchronizationContext.cs: Implement SetSynchronizationContext.
2007-09-25 Jonathan Pobst <[email protected]>
* AsyncOperationManager.cs: Tie the SynchronizationContext here to
SynchronizationContext.Current.
2007-09-25 Jonathan Pobst <[email protected]>
* AsyncOperationManagerTest.cs: Add test for SynchronizationContext.
2007-09-25 Jonathan Pobst <[email protected]>
* System_test.dll.sources: Added AsyncOperationManagerTest.cs.
svn path=/trunk/mcs/; revision=86329
* ComponentResourceManager.cs: In ApplyResources, when culture is
null use CurrentUICulture. Use hashtable, which is case-insensitive
when IgnoreCase is true, to store the resources of the specified
culture and its parent(s). When IgnoreCase is set, perform a
case-insensitive lookup of property. Ignore resources that have no
value, or where the value is not an instance of the property type.
Fixes bug #82674.
* ComponentResourceManagerTest.cs: Added tests for ctors,
ApplyResources and IgnoreCase.
svn path=/trunk/mcs/; revision=85910
string. Made tests less strict.
* EnumConverter.cs: Added support for converting flag enum from
string.
* System_test.dll.sources: Added EnumConverterTest.cs.
svn path=/trunk/mcs/; revision=85365
GetConvertToException to match MS, and use these in ConvertFrom and
ConvertTo.
* EnumConverter.cs: Use IsFlags instead of duplicating code that
checks for FlagsAttribute. When converting to InstanceDescriptor and
no corresponding enum field is found, then let base class throw a
NotSupportedException.
* TypeConverterTest.cs: Added tests for GetConvertFromException and
GetConvertToException.
* EnumConverterTest.cs: Enabled test for converting flag enums to
InstanceDescriptor.
svn path=/trunk/mcs/; revision=85092
Modified conversion to string to support enum names and integral
values, and throw ArgumentException if value is not valid.
For conversion to InstanceDescriptor, use ConvertToString to get name
of field. Avoid endless loop when converting to Enum [].
* ToolboxItemFilterType.cs: Spaces to tabs.
* TypeConverter.cs: Improve exception messages (to match MS).
* EnumConverterTests.cs: Added tests for EnumConverter.
svn path=/trunk/mcs/; revision=84480
* ReflectionPropertyDescriptor.cs: For read-only properties,
ShouldSerializeValue must also check for
DesignerSerializationVisibility.Content and if present return
true.
* PropertyDescriptorTests.cs: Tests to verify the above.
svn path=/trunk/mcs/; revision=84402
* TypeDescriptor.cs: GetProperties should return only the last type's
implementation of a property with a matching name in the base types.
* TypeDescriptorTests.cs: test to verify the above.
svn path=/trunk/mcs/; revision=84375
2007-08-03 Jb Evain <[email protected]>
* ProcessThreadCollection.cs
ProcessModuleCollection.cs: use our own collection base
for the 2.1 profile, as ReadOnlyCollectionBase does not exist
in 2.1, and they are internalized by the linker.
in System.ComponentModel:
2007-08-03 Jb Evain <[email protected]>
* ComponentCollection.cs: use our own collection base
for the 2.1 profile, as ReadOnlyCollectionBase does not exist
in 2.1, and they are internalized by the linker.
svn path=/trunk/mcs/; revision=83421
* BackgroundWorker.cs : remove extra MonoTODOs.
* BackgroundWorkerTest.cs : new test to clear some doubts on impl.
* System_test.dll.sources : added BackgroundWorkerTest.cs.
svn path=/trunk/mcs/; revision=83156
to a zero-length string. Modified IsDefaultAttribute to take into
account null DisplayName.
* DisplayNameAttribute.cs: Added ctor tests. Fixed tests to pass on
MS (now that our implementation matches that of MS). Added tests
for Default, GetHashCode and Equals.
svn path=/trunk/mcs/; revision=82414
ShouldSerializeValue must only take into account the return value
of the ShouldSerialize method. Code formatting.
* PropertyDescriptorTests.cs: Added test for ShouldSerializeValue
behavior with read-only properties.
svn path=/trunk/mcs/; revision=82017
itself for attributes as well, not only the property type.
* TypeDescriptor.cs: Make a couple of methods internal so that
PropertyDescriptor can use them.
svn path=/trunk/mcs/; revision=81879
* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
MSDN: If this method cannot find a DefaultValueAttribute or
a ShouldSerializeMyProperty method, it cannot create optimizations
and it returns true.
svn path=/trunk/mcs/; revision=81794
implementation of IEnumerable.GetEnumerator.
* TypeDescriptor.cs: Params modifier applies to 1.0 profile as well.
Spaces to tabs.
svn path=/trunk/mcs/; revision=81104
* LookupBindingPropertiesAttribute.cs:
Should be sealed. Implemented GetHashCode().
* LookupBindingPropertiesAttributeTest.cs:
test GetHashCode() as well.
svn path=/trunk/mcs/; revision=78359
deprecated Assertion. Added test for component that has a site without
an ITypeDescriptorFilterService. Fixes bug #80836.
* TypeDescriptor.cs: Do not assume that an ISite always has an
ITypeDescriptorFilterService. Fixes bug #80836.
svn path=/trunk/mcs/; revision=73040
* RecommendedAsConfigurableAttribute.cs: Make this non-obsolete to fix
the 2.0 build, since System.ServiceProcess.ServiceController uses it.
svn path=/trunk/mcs/; revision=71428
2007-01-20 Chris Toshok <[email protected]>
* BindingListTest.cs: new tests for BindingList<T>
In System.ComponentModel:
2007-01-20 Chris Toshok <[email protected]>
* BindingList.cs: new class.
svn path=/trunk/mcs/; revision=71405
* DataObjectFieldAttribute.cs: Add new file.
2007-01-12 Miguel de Icaza <[email protected]>
* Trace.cs: Add a number of 2.0 overloads.
svn path=/trunk/mcs/; revision=70948