28 instantiations of EventDescriptorCollection
System (14)
compmod\system\componentmodel\EventDescriptorCollection.cs (5)
65public static readonly EventDescriptorCollection Empty = new EventDescriptorCollection(null, true); 318return new EventDescriptorCollection(this.events, this.eventCount, this.namedSort, this.comparer); 329return new EventDescriptorCollection(this.events, this.eventCount, names, this.comparer); 339return new EventDescriptorCollection(this.events, this.eventCount, names, comparer); 349return new EventDescriptorCollection(this.events, this.eventCount, this.namedSort, comparer);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1906_events = new EventDescriptorCollection(eventArray, true);
compmod\system\componentmodel\TypeDescriptor.cs (8)
1730return new EventDescriptorCollection(null, true); 1745return new EventDescriptorCollection(null, true); 1753events = new EventDescriptorCollection((EventDescriptor[])filteredEvents.ToArray(typeof(EventDescriptor)), true); 1797return new EventDescriptorCollection(null, true); 1871evts = new EventDescriptorCollection(eventArray, true); 2467cacheValue = new EventDescriptorCollection(eventArray, true); 2672cacheValue = new EventDescriptorCollection(eventArray, true); 2818cacheValue = new EventDescriptorCollection(eventArray, true);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
500return new EventDescriptorCollection(array, true);
System.Data (9)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
500return new EventDescriptorCollection(array, true);
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
317return new EventDescriptorCollection(null); 321return new EventDescriptorCollection(null);
fx\src\data\System\Data\Common\dbdatarecord.cs (2)
118return new EventDescriptorCollection(null); 122return new EventDescriptorCollection(null);
fx\src\data\System\Data\DataRowView.cs (2)
288return new EventDescriptorCollection(null); 292return new EventDescriptorCollection(null);
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
95return new EventDescriptorCollection(null); 106return new EventDescriptorCollection(null);
System.Web (1)
UI\TargetFrameworkUtil.cs (1)
435return new EventDescriptorCollection(filteredEventDescriptors.ToArray());
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
367return new EventDescriptorCollection(null); 371return new EventDescriptorCollection(null);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\PropertyDescriptors.cs (1)
851return new EventDescriptorCollection((EventDescriptor[])readonlyEvents.ToArray(typeof(EventDescriptor)));
126 references to EventDescriptorCollection
System (47)
compmod\system\componentmodel\CustomTypeDescriptor.cs (4)
155public virtual EventDescriptorCollection GetEvents() 162return EventDescriptorCollection.Empty; 172public virtual EventDescriptorCollection GetEvents(Attribute[] attributes) 179return EventDescriptorCollection.Empty;
compmod\system\componentmodel\design\IEventPropertyService.cs (1)
41PropertyDescriptorCollection GetEventProperties(EventDescriptorCollection events);
compmod\system\componentmodel\EventDescriptorCollection.cs (7)
65public static readonly EventDescriptorCollection Empty = new EventDescriptorCollection(null, true); 69/// Initializes a new instance of the <see cref='System.ComponentModel.EventDescriptorCollection'/> class. 298/// Gets an enumerator for this <see cref='System.ComponentModel.EventDescriptorCollection'/>. 317public virtual EventDescriptorCollection Sort() { 328public virtual EventDescriptorCollection Sort(string[] names) { 338public virtual EventDescriptorCollection Sort(string[] names, IComparer comparer) { 348public virtual EventDescriptorCollection Sort(IComparer comparer) {
compmod\system\componentmodel\IComNativeDescriptorHandler.cs (2)
53EventDescriptorCollection GetEvents(object component); 57EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
compmod\system\componentmodel\ICustomTypeDescriptor.cs (2)
66EventDescriptorCollection GetEvents(); 72EventDescriptorCollection GetEvents(Attribute[] attributes);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (5)
393internal EventDescriptorCollection GetEvents(Type type) 462internal EventDescriptorCollection GetExtendedEvents(object instance) 464return EventDescriptorCollection.Empty; 1441private EventDescriptorCollection _events; 1878internal EventDescriptorCollection GetEvents()
compmod\system\componentmodel\TypeDescriptor.cs (26)
993private static void DebugValidate(EventDescriptorCollection events, Type type, Attribute[] attributes) 1032private static void DebugValidate(EventDescriptorCollection events, object instance, Attribute[] attributes, bool noCustomTypeDesc) 1725public static EventDescriptorCollection GetEvents(Type componentType) 1740public static EventDescriptorCollection GetEvents(Type componentType, Attribute[] attributes) 1748EventDescriptorCollection events = GetDescriptor(componentType, "componentType").GetEvents(attributes); 1764public static EventDescriptorCollection GetEvents(object component) 1773public static EventDescriptorCollection GetEvents(object component, bool noCustomTypeDesc) 1782public static EventDescriptorCollection GetEvents(object component, Attribute[] attributes) 1792public static EventDescriptorCollection GetEvents(object component, Attribute[] attributes, bool noCustomTypeDesc) 1865EventDescriptorCollection evts = results as EventDescriptorCollection; 3570EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 3578EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 3816EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 3818EventDescriptorCollection events = _primary.GetEvents(); 3831EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 3833EventDescriptorCollection events = _primary.GetEvents(attributes); 4227EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 4242EventDescriptorCollection events = desc.GetEvents(); 4250EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 4264EventDescriptorCollection events = rp.GetExtendedEvents(_instance); 4270EventDescriptorCollection evts = desc.GetEvents(attributes); 4555EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 4563EventDescriptorCollection events; 4581EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 4589EventDescriptorCollection events;
System.Activities (6)
System\Activities\DynamicActivity.cs (4)
181EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 186EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 369EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 374EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
System\Activities\DynamicActivityTypeDescriptor.cs (2)
77public EventDescriptorCollection GetEvents(Attribute[] attributes) 82public EventDescriptorCollection GetEvents()
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
486private EventDescriptorCollection MergeEvents(Type objectType, EventDescriptorCollection incoming) 740EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 748EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
285public EventDescriptorCollection GetEvents(Attribute[] attributes) 290public EventDescriptorCollection GetEvents()
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
1243EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 1249EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
366EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 372EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
System.Data (20)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
486private EventDescriptorCollection MergeEvents(Type objectType, EventDescriptorCollection incoming) 740EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 748EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
285public EventDescriptorCollection GetEvents(Attribute[] attributes) 290public EventDescriptorCollection GetEvents()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
1243EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 1249EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
366EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 372EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
316EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 320EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
509EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 512EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\Common\dbdatarecord.cs (2)
117EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 121EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\DataRowView.cs (2)
287EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 291EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
94EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 105EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
System.Web (22)
HttpApplication.cs (1)
1895EventDescriptorCollection events = TypeDescriptor.GetEvents(targetType);
UI\ControlBuilder.cs (2)
355private EventDescriptorCollection EventDescriptors { 3195internal EventDescriptorCollection EventDescriptors;
UI\TargetFrameworkUtil.cs (7)
61private static ConcurrentDictionary<Type, EventDescriptorCollection> s_eventDescriptorCollectionDict = 62new ConcurrentDictionary<Type, EventDescriptorCollection>(); 383internal static EventDescriptorCollection GetEvents(Type type) { 388EventDescriptorCollection result = null; 397private static EventDescriptorCollection GetEventDescriptorCollection(Type type) { 415private static EventDescriptorCollection GetFilteredEventDescriptorCollection(Type objectType, object instance) { 417EventDescriptorCollection eventDescriptors = null;
UI\WebControls\ErrorStyle.cs (2)
51EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 55EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
UI\WebControls\ErrorTableItemStyle.cs (2)
49EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 53EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
UI\WebControls\SubMenuStyle.cs (2)
258 EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 262 EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
UI\WebControls\XmlDataSourceNodeDescriptor.cs (2)
68EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 72EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attrs) {
UI\WebControls\XmlHierarchyData.cs (2)
157EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 161EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attrs) {
UI\WebParts\WebPartMenuStyle.cs (2)
168EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 172EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceWrapper.cs (2)
85EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { return null; } 86EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { return null; }
System.Web.Mobile (2)
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
1119EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 1124EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
System.Windows.Forms (9)
winforms\Managed\System\WinForms\AxHost.cs (2)
2804EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 2814EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
winforms\Managed\System\WinForms\Binding.cs (1)
565EventDescriptorCollection eventInfos = TypeDescriptor.GetEvents(control);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (4)
366internal EventDescriptorCollection GetEvents(Object component) { 370internal EventDescriptorCollection GetEvents(Object component, Attribute[] attributes) { 539EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 547EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
winforms\Managed\System\WinForms\Design\EventsTab.cs (2)
145EventDescriptorCollection events = TypeDescriptor.GetEvents(component, attributes); 169EventDescriptorCollection namespaceEvents = TypeDescriptor.GetEvents(namespaceValue, attributes);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\PropertyDescriptors.cs (2)
837public override EventDescriptorCollection GetEvents(Attribute[] attributes) 839EventDescriptorCollection events = base.GetEvents(attributes);
System.Workflow.Runtime (2)
System\Activities\Statements\Interop.cs (2)
583EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 588EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
WindowsBase (4)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (2)
212public EventDescriptorCollection GetEvents() { return _parent.GetEvents(); } 213public EventDescriptorCollection GetEvents(Attribute[] attributes) { return _parent.GetEvents(attributes); }
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (2)
233public EventDescriptorCollection GetEvents() { return _parent.GetEvents(); } 234public EventDescriptorCollection GetEvents(Attribute[] attributes) { return _parent.GetEvents(attributes); }