From 57091eda02a9770513ca899b66e05183febe53cd Mon Sep 17 00:00:00 2001 From: Jonathan Pryor Date: Mon, 18 Nov 2013 16:03:49 -0500 Subject: [PATCH] [System] Add more of System.ComponentModel to MOBILE profile. Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=16071 Improve compatibility of the MOBILE profile with Desktop .NET: Add (nearly) everything from System.ComponentModel (and nested namespaces) _except_ for things that depend on Licensing. This includes System.ComponentModel.Design.HelpKeywordAttribute (requested in Bug #16071), many many other attributes, more exceptions, more EventArgs subclasses, etc. --- mcs/class/System/mobile_System.dll.sources | 96 ++++++++++++++++++++-- 1 file changed, 89 insertions(+), 7 deletions(-) diff --git a/mcs/class/System/mobile_System.dll.sources b/mcs/class/System/mobile_System.dll.sources index 0b17914cef9..f5ffb4ac713 100644 --- a/mcs/class/System/mobile_System.dll.sources +++ b/mcs/class/System/mobile_System.dll.sources @@ -30,7 +30,28 @@ System.Collections.Specialized/INotifyCollectionChanged.cs System.Collections.Specialized/NotifyCollectionChangedEventArgs.cs System.Collections.Specialized/NotifyCollectionChangedAction.cs System.Collections.Specialized/NotifyCollectionChangedEventHandler.cs +System.ComponentModel.Design.Serialization/ComponentSerializationService.cs +System.ComponentModel.Design.Serialization/ContextStack.cs +System.ComponentModel.Design.Serialization/DefaultSerializationProviderAttribute.cs +System.ComponentModel.Design.Serialization/DesignerLoader.cs +System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.cs +System.ComponentModel.Design.Serialization/IDesignerLoaderHost.cs +System.ComponentModel.Design.Serialization/IDesignerLoaderHost2.cs +System.ComponentModel.Design.Serialization/IDesignerLoaderService.cs +System.ComponentModel.Design.Serialization/IDesignerSerializationManager.cs +System.ComponentModel.Design.Serialization/IDesignerSerializationProvider.cs +System.ComponentModel.Design.Serialization/IDesignerSerializationService.cs +System.ComponentModel.Design.Serialization/INameCreationService.cs System.ComponentModel.Design.Serialization/InstanceDescriptor.cs +System.ComponentModel.Design.Serialization/MemberRelationship.cs +System.ComponentModel.Design.Serialization/MemberRelationshipService.cs +System.ComponentModel.Design.Serialization/ResolveNameEventArgs.cs +System.ComponentModel.Design.Serialization/ResolveNameEventHandler.cs +System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.cs +System.ComponentModel.Design.Serialization/SerializationStore.cs +System.ComponentModel.Design/ActiveDesignerEventArgs.cs +System.ComponentModel.Design/ActiveDesignerEventHandler.cs +System.ComponentModel.Design/CheckoutException.cs System.ComponentModel.Design/CommandID.cs System.ComponentModel.Design/ComponentChangedEventArgs.cs System.ComponentModel.Design/ComponentChangedEventHandler.cs @@ -40,31 +61,61 @@ System.ComponentModel.Design/ComponentEventArgs.cs System.ComponentModel.Design/ComponentEventHandler.cs System.ComponentModel.Design/ComponentRenameEventArgs.cs System.ComponentModel.Design/ComponentRenameEventHandler.cs +System.ComponentModel.Design/DesignerCollection.cs +System.ComponentModel.Design/DesignerEventArgs.cs +System.ComponentModel.Design/DesignerEventHandler.cs +System.ComponentModel.Design/DesignerOptionService.cs System.ComponentModel.Design/DesignerTransaction.cs System.ComponentModel.Design/DesignerTransactionCloseEventArgs.cs System.ComponentModel.Design/DesignerTransactionCloseEventHandler.cs System.ComponentModel.Design/DesignerVerb.cs System.ComponentModel.Design/DesignerVerbCollection.cs +System.ComponentModel.Design/HelpContextType.cs +System.ComponentModel.Design/HelpKeywordAttribute.cs +System.ComponentModel.Design/HelpKeywordType.cs System.ComponentModel.Design/IComponentChangeService.cs +System.ComponentModel.Design/IComponentDiscoveryService.cs +System.ComponentModel.Design/IComponentInitializer.cs System.ComponentModel.Design/IDesigner.cs +System.ComponentModel.Design/IDesignerEventService.cs +System.ComponentModel.Design/IDesignerFilter.cs System.ComponentModel.Design/IDesignerHost.cs +System.ComponentModel.Design/IDesignerHostTransactionState.cs +System.ComponentModel.Design/IDesignerOptionService.cs +System.ComponentModel.Design/IDictionaryService.cs +System.ComponentModel.Design/IEventBindingService.cs +System.ComponentModel.Design/IExtenderListService.cs +System.ComponentModel.Design/IExtenderProviderService.cs +System.ComponentModel.Design/IHelpService.cs +System.ComponentModel.Design/IInheritanceService.cs +System.ComponentModel.Design/IMenuCommandService.cs System.ComponentModel.Design/IReferenceService.cs +System.ComponentModel.Design/IResourceService.cs System.ComponentModel.Design/IRootDesigner.cs +System.ComponentModel.Design/ISelectionService.cs System.ComponentModel.Design/IServiceContainer.cs +System.ComponentModel.Design/ITreeDesigner.cs System.ComponentModel.Design/ITypeDescriptorFilterService.cs +System.ComponentModel.Design/ITypeDiscoveryService.cs System.ComponentModel.Design/ITypeResolutionService.cs System.ComponentModel.Design/MenuCommand.cs +System.ComponentModel.Design/SelectionTypes.cs +System.ComponentModel.Design/ServiceContainer.cs System.ComponentModel.Design/ServiceCreatorCallback.cs System.ComponentModel.Design/StandardCommands.cs +System.ComponentModel.Design/StandardToolWindows.cs +System.ComponentModel.Design/TypeDescriptionProviderService.cs System.ComponentModel.Design/ViewTechnology.cs System.ComponentModel/AddingNewEventArgs.cs System.ComponentModel/AddingNewEventHandler.cs +System.ComponentModel/AmbientValueAttribute.cs System.ComponentModel/ArrayConverter.cs System.ComponentModel/AsyncCompletedEventArgs.cs System.ComponentModel/AsyncCompletedEventHandler.cs System.ComponentModel/AsyncOperation.cs System.ComponentModel/AsyncOperationManager.cs System.ComponentModel/AttributeCollection.cs +System.ComponentModel/AttributeProviderAttribute.cs System.ComponentModel/BackgroundWorker.cs System.ComponentModel/BaseNumberConverter.cs System.ComponentModel/BindableAttribute.cs @@ -75,20 +126,32 @@ System.ComponentModel/BooleanConverter.cs System.ComponentModel/BrowsableAttribute.cs System.ComponentModel/ByteConverter.cs System.ComponentModel/CancelEventArgs.cs +System.ComponentModel/CancelEventHandler.cs System.ComponentModel/CategoryAttribute.cs System.ComponentModel/CharConverter.cs System.ComponentModel/CollectionChangeAction.cs System.ComponentModel/CollectionChangeEventArgs.cs System.ComponentModel/CollectionChangeEventHandler.cs System.ComponentModel/CollectionConverter.cs +System.ComponentModel/ComplexBindingPropertiesAttribute.cs System.ComponentModel/Component.cs System.ComponentModel/ComponentCollection.cs System.ComponentModel/ComponentConverter.cs +System.ComponentModel/ComponentEditor.cs +System.ComponentModel/ComponentResourceManager.cs +System.ComponentModel/Container.cs +System.ComponentModel/ContainerFilterService.cs System.ComponentModel/CultureInfoConverter.cs System.ComponentModel/CustomTypeDescriptor.cs System.ComponentModel/DataErrorsChangedEventArgs.cs +System.ComponentModel/DataObjectAttribute.cs +System.ComponentModel/DataObjectFieldAttribute.cs +System.ComponentModel/DataObjectMethodAttribute.cs +System.ComponentModel/DataObjectMethodType.cs System.ComponentModel/DateTimeConverter.cs +System.ComponentModel/DateTimeOffsetConverter.cs System.ComponentModel/DecimalConverter.cs +System.ComponentModel/DefaultBindingPropertyAttribute.cs System.ComponentModel/DefaultEventAttribute.cs System.ComponentModel/DefaultPropertyAttribute.cs System.ComponentModel/DefaultValueAttribute.cs @@ -111,24 +174,35 @@ System.ComponentModel/EventDescriptor.cs System.ComponentModel/EventDescriptorCollection.cs System.ComponentModel/EventHandlerList.cs System.ComponentModel/ExpandableObjectConverter.cs +System.ComponentModel/ExtenderProvidedPropertyAttribute.cs System.ComponentModel/GuidConverter.cs +System.ComponentModel/HandledEventArgs.cs +System.ComponentModel/HandledEventHandler.cs System.ComponentModel/IBindingList.cs System.ComponentModel/IBindingListView.cs System.ComponentModel/ICancelAddNew.cs System.ComponentModel/IChangeTracking.cs System.ComponentModel/IComNativeDescriptorHandler.cs System.ComponentModel/IComponent.cs -System.ComponentModel/IComponent.cs System.ComponentModel/IContainer.cs System.ComponentModel/ICustomTypeDescriptor.cs System.ComponentModel/IDataErrorInfo.cs -System.ComponentModel/IDataErrorInfo.cs System.ComponentModel/IEditableObject.cs System.ComponentModel/IExtenderProvider.cs +System.ComponentModel/IIntellisenseBuilder.cs System.ComponentModel/IListSource.cs +System.ComponentModel/ImmutableObjectAttribute.cs +System.ComponentModel/INestedContainer.cs +System.ComponentModel/INestedSite.cs +System.ComponentModel/InheritanceAttribute.cs +System.ComponentModel/InheritanceLevel.cs +System.ComponentModel/InitializationEventAttribute.cs System.ComponentModel/INotifyDataErrorInfo.cs System.ComponentModel/INotifyPropertyChanged.cs System.ComponentModel/INotifyPropertyChanging.cs +System.ComponentModel/InstallerTypeAttribute.cs +System.ComponentModel/InstanceCreationEditor.cs +System.ComponentModel/InvalidAsynchronousStateException.cs System.ComponentModel/IRaiseItemChangedEvents.cs System.ComponentModel/IRevertibleChangeTracking.cs System.ComponentModel/ISite.cs @@ -141,7 +215,6 @@ System.ComponentModel/Int16Converter.cs System.ComponentModel/Int32Converter.cs System.ComponentModel/Int64Converter.cs System.ComponentModel/InvalidEnumArgumentException.cs -System.ComponentModel/InvalidEnumArgumentException.cs System.ComponentModel/ListBindableAttribute.cs System.ComponentModel/ListChangedEventArgs.cs System.ComponentModel/ListChangedEventHandler.cs @@ -149,14 +222,18 @@ System.ComponentModel/ListChangedType.cs System.ComponentModel/ListSortDescription.cs System.ComponentModel/ListSortDescriptionCollection.cs System.ComponentModel/ListSortDirection.cs -System.ComponentModel/ListSortDirection.cs System.ComponentModel/LocalizableAttribute.cs +System.ComponentModel/LookupBindingPropertiesAttribute.cs System.ComponentModel/MarshalByValueComponent.cs +System.ComponentModel/MaskedTextProvider.cs +System.ComponentModel/MaskedTextResultHint.cs System.ComponentModel/MemberDescriptor.cs System.ComponentModel/MergablePropertyAttribute.cs System.ComponentModel/MultilineStringConverter.cs +System.ComponentModel/NestedContainer.cs System.ComponentModel/NotifyParentPropertyAttribute.cs System.ComponentModel/NullableConverter.cs +System.ComponentModel/ParenthesizePropertyNameAttribute.cs System.ComponentModel/PasswordPropertyTextAttribute.cs System.ComponentModel/ProgressChangedEventArgs.cs System.ComponentModel/ProgressChangedEventHandler.cs @@ -165,24 +242,27 @@ System.ComponentModel/PropertyChangedEventHandler.cs System.ComponentModel/PropertyChangingEventArgs.cs System.ComponentModel/PropertyChangingEventHandler.cs System.ComponentModel/PropertyDescriptor.cs -System.ComponentModel/PropertyDescriptor.cs System.ComponentModel/PropertyDescriptorCollection.cs -System.ComponentModel/ReadOnlyAttribute.cs +System.ComponentModel/PropertyTabAttribute.cs +System.ComponentModel/PropertyTabScope.cs +System.ComponentModel/ProvidePropertyAttribute.cs System.ComponentModel/ReadOnlyAttribute.cs System.ComponentModel/RecommendedAsConfigurableAttribute.cs System.ComponentModel/ReferenceConverter.cs -System.ComponentModel/ReferenceConverter.cs System.ComponentModel/ReflectionEventDescriptor.cs System.ComponentModel/ReflectionPropertyDescriptor.cs System.ComponentModel/RefreshEventArgs.cs System.ComponentModel/RefreshEventHandler.cs System.ComponentModel/RefreshProperties.cs System.ComponentModel/RefreshPropertiesAttribute.cs +System.ComponentModel/RunInstallerAttribute.cs System.ComponentModel/RunWorkerCompletedEventArgs.cs System.ComponentModel/RunWorkerCompletedEventHandler.cs System.ComponentModel/SByteConverter.cs +System.ComponentModel/SettingsBindableAttribute.cs System.ComponentModel/SingleConverter.cs System.ComponentModel/StringConverter.cs +System.ComponentModel/SyntaxCheck.cs System.ComponentModel/TimeSpanConverter.cs System.ComponentModel/ToolboxItemAttribute.cs System.ComponentModel/ToolboxItemFilterAttribute.cs @@ -190,11 +270,13 @@ System.ComponentModel/ToolboxItemFilterType.cs System.ComponentModel/TypeConverter.cs System.ComponentModel/TypeConverterAttribute.cs System.ComponentModel/TypeDescriptionProvider.cs +System.ComponentModel/TypeDescriptionProviderAttribute.cs System.ComponentModel/TypeDescriptor.cs System.ComponentModel/TypeListConverter.cs System.ComponentModel/UInt16Converter.cs System.ComponentModel/UInt32Converter.cs System.ComponentModel/UInt64Converter.cs +System.ComponentModel/WarningException.cs System.ComponentModel/WeakObjectWrapper.cs System.ComponentModel/WeakObjectWrapperComparer.cs System.ComponentModel/Win32Exception.cs -- 2.25.1