BindingList subscribes to PropertyChanged events of eligible contained objects. Iff the PropertyName provided is valid,
the list event's ListChangedEventArgs will also contain a PropertyDescriptor.
This is to match MS behavior.
Now returns true if null and true if the type passed in can be
converted to, and the conversion itself didn't throw an exception.
If the type cannot be converted to, or the conversion threw, then
it returns false.
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.
* TypeDescriptor.cs: Implement AddProviderTransparent and
RemoveProviderTransparent - we only call to the already existing
AddProvider and RemoveProvider methods respectively.
* TypeDescriptor.cs: Implement 4.0 InterfaceType property, which
seems to be a simple dummy and empty class in .Net, internally
used to represent all interfaces.
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.
* ComplexBindingPropertiesAttribute.cs:
* DefaultBindingPropertyAttribute.cs:
* DefaultEventAttribute.cs:
* DefaultPropertyAttribute.cs:
Fix GetHashCode so that values are equals if Equals
return true
* DesignTimeVisibleAttribute.cs: Fix default value for Visible.
svn path=/trunk/mcs/; revision=159667
* AsyncOperation.cs: Add checks for null delegates
* BackgroundWorker.cs: Ensure ProgressChanged can be called before
starting the work but not after its complete
svn path=/trunk/mcs/; revision=157698
* DefaultValueAttribute.cs: Two instances where DefaultValue ==
null are equal so they *must* return the same hash code
svn path=/trunk/mcs/; revision=157646
* MaskedTextProvider.cs: In ToString() if we are a password, use the
prompt char in the places where no char has been filled in yet, instead of
putting the password char.
Fixes#360407.
svn path=/trunk/mcs/; revision=150926
* TemplateControlCompiler.cs: GetConverterForMember looks up
member type converters using type description providers in
addition to custom attributes.
Result of GenerateInstance isn't cast to the target type if the
type isn't public.
2009-12-08 Marek Habersack <[email protected]>
* TypeDescriptor.cs: AddProvider overloads must refresh the
instance and type when called.
If GetProvider (object) fails to look up provider for the passed
instance, it attempts to look up provider for the instance's
type.
GetProvider (Type) looks for providers using all the parent types
of the passed type if no provider for it is found.
WrappedTypeDescriptionProvider.GetTypeDescriptor chains up to the
wrapped type, if present.
* TypeDescriptionProvider.cs: GetTypeDescriptor properly returns
the value obtained from parent in GetTypeDescriptor.
2009-12-08 Marek Habersack <[email protected]>
* Type.cs: added overloads for the == and != operators (4.0).
svn path=/trunk/mcs/; revision=147889
Mono.Data.Sqlite to the MonoTouch build.
* System/System.ComponentModel/TypeConverter_2_1.cs: Skip this type in
the MonoTouch profile; MonoTouch will be using the 2.0 version of
TypeConverter.
* System/System.ComponentModel/ComponentCollection.cs,
System/System.ComponentModel/PropertyDescriptor.cs: MonoTouch uses the
.NET 2.0 versions of these types.
* System/monotouch_System.dll.sources: Add lots of additional .NET 2.0
functionality to the MonoTouch profile.
* System.Transactions/Makefile (VALID_PROFILE): Add monotouch.
* System.Data/System.Data.Common/DbConnection.cs: Throw
NotImplementedException for DbConnection.DbProviderFactory, as
DbProviderFactories isn't included in the MonoTouch profile.
* System.Data/System.Data.SqlClient/SqlConnection.cs: Remove
EnterpriseServices dependency from the MonoTouch profile.
* System.Data/monotouch_System.Data.dll.sources: Added.
* System.Data/System.Data/XmlSchemaDataImporter.cs: Remove
DbProviderFactories dependency in the MonoTouch profile.
svn path=/trunk/mcs/; revision=144150
* DefaultValueAttribute.cs: Implement the cctor which takes
a Type and a string for the SL2 case.
* CategoryAttribute.cs: Fix a typo in the CategoryAttribute.Asynchronous
ctor and fix some SL2 specific naming changes for the default properties.
svn path=/trunk/mcs/; revision=142872
* 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