This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
* DefaultValueAttributeTest.cs: Change test case to compare the
hash code of two DVA created with null (instead of comparing to 0)
svn path=/trunk/mcs/; revision=157697
* EnumConverter.cs: Fix conversion of 0 flag values.
* EnumConverterTests.cs: Add a test to verify behaviour when converting
a 0 flag value.
[Fixes bug #541402]
svn path=/trunk/mcs/; revision=142534
GetService.
* Container.cs: Changed Dispose(bool) behaviour to match .NET, based
on patch by Tom Hindle ([email protected]). Also use ValidateName
in Add overloads on 1.0 profile by making it available as private
method. Use case-insensitive comparison of component name.
svn path=/trunk/mcs/; revision=138174
* WeakObjectWrapper.cs, WeakObjectWrapperComparer.cs: added - used
by TypeDescriptor for storage of type description providers.
* TypeDescriptor.cs: implemented part of the 2.0+ API which deals
with adding/removing/getting type description providers.
* AttributeCollection.cs: do not throw NREX when attrList is
null in Count.
2009-06-22 Marek Habersack <[email protected]>
* TypeDescriptorTests.cs: added tests for 2.0+ APIs which deal
with adding/removing/getting type description providers.
svn path=/trunk/mcs/; revision=136634
* System.ComponentModel/ListChangedEventArgs.cs: Fix .NET compatibility
problems (discovered from trying to run the System.Data.Linq
unit tests).
* Test/System.ComponentModel/ListChangedEventArgsTest.cs: Added; tests
for ListChangedEventArgs.
svn path=/trunk/mcs/; revision=134138
* AttributeCollection.cs: this [Type] shouldn't throw a NREX when
attrList is null.
* TypeDescriptor.cs: GetConverter (Type) must throw
ArgumentNullException if the passed parameter is null.
FindDefaultConverterType should gracefully cope with type being
null.
2009-02-19 Marek Habersack <[email protected]>
* TypeDescriptorTests.cs: added a test for
TypeDescriptor.GetConverter (null) case.
svn path=/trunk/mcs/; revision=127343
* TypeDescriptor.cs: Added support for NullableConverter.
* TypeDescriptorTests.cs: Added a test for the NullableConverter support.
svn path=/trunk/mcs/; revision=120946
* PropertyDescriptorTests.cs: Define alias for S.C.DescriptionAttribute
to avoid ambiguous reference error using more recent versions of
NUnit (which also contains a DescriptionAttribute).
svn path=/trunk/mcs/; revision=116351
2008-09-01 Rodrigo Kumpera <[email protected]>
* PropertyDescriptorTest.cs: Tests for Get/Set Value of partial
overrides of virtual properties.
In System.ComponentModel:
2008-09-01 Rodrigo Kumpera <[email protected]>
* ReflectionPropertyDescriptor.cs (SetValue, GetValue) : Lookup
the MethodInfo for accessors in parent types in case of partial
overrides of virtual properties.
svn path=/trunk/mcs/; revision=112052
* DefaultValueAttributeTest.cs: New. A few unit tests for
DefaultValueAttribute - showing problems in Equals and GetHashCode.
svn path=/trunk/mcs/; revision=109854
* TypeDescriptor.cs:
- Fix GetConverter (Type) overload to have same logic as the
object one.
- Object-ReferenceConverter should be the last entry in the predefined
converters table, so that when we look up we don't end up with the wrong
converter for derived types.
* TypeDescriptorTests.cs: Add a test that both GetConverter
overloads return the same converter.
svn path=/trunk/mcs/; revision=108087
Apply patch from Achille Fouilleul (achille.fouilleul at gadz dot org)
* BackgroundWorker.cs: Ensure the async object is set to null before
calling RunWorkerCompleted, as IsBusy is based off the async object.
[Fixes bug #394365]
2008-07-16 Jonathan Pobst <[email protected]>
* BackgroundWorkerTest.cs: Add some asserts for bug #364365.
svn path=/trunk/mcs/; revision=108053
Apply patches from Jordan Callicoat (MonkeeSage at gmail dot com)
* AsyncCompleteEventArgs.cs: RaiseExceptionIfNecessary should throw
TargetInvocationException if there was an exception, and IOE if
the operation was cancelled.
* BackgroundWorker.cs: Do not call RunWorkerCompleted from CancelAsync,
setting cancel_pending to true is enough.
* RunWorkerCompletedEventArgs.cs: Raise exceptions when user tries
to access the Result if there are any exceptions.
[Fixes bugs #328830 and 373153]
2008-07-16 Jonathan Pobst <[email protected]>
* BackgroundWorkerTest.cs: Add tests for bugs 328830 and 373153.
svn path=/trunk/mcs/; revision=108039
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