24 instantiations of EventDescriptorCollection
System.ComponentModel.TypeConverter (14)
System\ComponentModel\EventDescriptorCollection.cs (5)
26
public static readonly EventDescriptorCollection Empty = new
EventDescriptorCollection
(null, true);
269
return new
EventDescriptorCollection
(_events, Count, _namedSort, _comparer);
278
return new
EventDescriptorCollection
(_events, Count, names, _comparer);
287
return new
EventDescriptorCollection
(_events, Count, names, comparer);
296
return new
EventDescriptorCollection
(_events, Count, _namedSort, comparer);
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
461
_events = new
EventDescriptorCollection
(eventArray, true);
System\ComponentModel\TypeDescriptor.cs (8)
1097
return new
EventDescriptorCollection
(null, true);
1124
return new
EventDescriptorCollection
(null, true);
1136
events = new
EventDescriptorCollection
(descriptors, true);
1183
return new
EventDescriptorCollection
(null, true);
1255
evts = new
EventDescriptorCollection
(eventArray, true);
1925
cacheValue = new
EventDescriptorCollection
(eventArray, true);
2123
cacheValue = new
EventDescriptorCollection
(eventArray, true);
2264
cacheValue = new
EventDescriptorCollection
(eventArray, true);
System.Data.Common (8)
System\Data\Common\DataRecordInternal.cs (2)
346
return new
EventDescriptorCollection
(null);
352
return new
EventDescriptorCollection
(null);
System\Data\Common\DbDataRecord.cs (2)
91
EventDescriptorCollection ICustomTypeDescriptor.GetEvents() => new
EventDescriptorCollection
(null);
94
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new
EventDescriptorCollection
(null);
System\Data\DataRowView.cs (2)
248
EventDescriptorCollection ICustomTypeDescriptor.GetEvents() => new
EventDescriptorCollection
(null);
251
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new
EventDescriptorCollection
(null);
System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
78
EventDescriptorCollection ICustomTypeDescriptor.GetEvents() => new
EventDescriptorCollection
(null);
89
new
EventDescriptorCollection
(null);
System.Windows.Forms (2)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (2)
49
EventDescriptorCollection ICustomTypeDescriptor.GetEvents() =>
new
(null);
52
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) =>
new
(null);
99 references to EventDescriptorCollection
netstandard (1)
netstandard.cs (1)
316
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
EventDescriptorCollection
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
302
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
EventDescriptorCollection
))]
System.ComponentModel.TypeConverter (52)
System\ComponentModel\CustomTypeDescriptor.cs (5)
138
public virtual
EventDescriptorCollection
GetEvents()
145
return
EventDescriptorCollection
.Empty;
156
public virtual
EventDescriptorCollection
GetEvents(Attribute[]? attributes)
163
return
EventDescriptorCollection
.Empty;
170
public virtual
EventDescriptorCollection
GetEventsFromRegisteredType()
System\ComponentModel\Design\IEventPropertyService.cs (1)
35
PropertyDescriptorCollection GetEventProperties(
EventDescriptorCollection
events);
System\ComponentModel\EventDescriptorCollection.cs (7)
26
public static readonly
EventDescriptorCollection
Empty = new EventDescriptorCollection(null, true);
29
/// Initializes a new instance of the <see cref='System.ComponentModel.
EventDescriptorCollection
'/> class.
248
/// Gets an enumerator for this <see cref='System.ComponentModel.
EventDescriptorCollection
'/>.
267
public virtual
EventDescriptorCollection
Sort()
276
public virtual
EventDescriptorCollection
Sort(string[] names)
285
public virtual
EventDescriptorCollection
Sort(string[] names, IComparer comparer)
294
public virtual
EventDescriptorCollection
Sort(IComparer comparer)
System\ComponentModel\IComNativeDescriptorHandler.cs (2)
26
EventDescriptorCollection
GetEvents(object component);
28
EventDescriptorCollection
GetEvents(object component, Attribute[]? attributes);
System\ComponentModel\ICustomTypeDescriptor.cs (3)
56
EventDescriptorCollection
GetEvents();
63
EventDescriptorCollection
GetEvents(Attribute[]? attributes);
107
EventDescriptorCollection
GetEventsFromRegisteredType()
System\ComponentModel\ReflectTypeDescriptionProvider.cs (4)
464
internal
EventDescriptorCollection
GetEvents([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type)
470
internal
EventDescriptorCollection
GetEventsFromRegisteredType(Type type)
542
internal static
EventDescriptorCollection
GetExtendedEvents()
544
return
EventDescriptorCollection
.Empty;
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (2)
22
private
EventDescriptorCollection
? _events;
435
internal
EventDescriptorCollection
GetEvents()
System\ComponentModel\TypeDescriptor.cs (28)
1091
public static
EventDescriptorCollection
GetEvents(
1106
public static
EventDescriptorCollection
GetEventsFromRegisteredType(Type componentType)
1117
public static
EventDescriptorCollection
GetEvents(
1127
EventDescriptorCollection
events = GetDescriptor(componentType, nameof(componentType)).GetEvents(attributes);
1147
public static
EventDescriptorCollection
GetEvents(object component)
1157
public static
EventDescriptorCollection
GetEvents(object component, bool noCustomTypeDesc)
1167
public static
EventDescriptorCollection
GetEvents(object component, Attribute[] attributes)
1178
public static
EventDescriptorCollection
GetEvents(object component, Attribute[]? attributes, bool noCustomTypeDesc)
1251
if (!(results is
EventDescriptorCollection
evts))
2842
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
2848
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
3163
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
3165
EventDescriptorCollection
events = _primary.GetEvents() ?? _secondary.GetEvents();
3175
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
3177
EventDescriptorCollection
events = _primary.GetEvents(attributes) ?? _secondary.GetEvents(attributes);
3607
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
3620
EventDescriptorCollection
events = desc.GetEvents();
3628
EventDescriptorCollection
ICustomTypeDescriptor.GetEventsFromRegisteredType()
3641
EventDescriptorCollection
events = desc.GetEventsFromRegisteredType();
3650
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
3662
EventDescriptorCollection
events = ReflectTypeDescriptionProvider.GetExtendedEvents();
3668
EventDescriptorCollection
evts = desc.GetEvents(attributes);
4006
public
EventDescriptorCollection
GetEvents()
4012
EventDescriptorCollection
events;
4033
public
EventDescriptorCollection
GetEventsFromRegisteredType()
4039
EventDescriptorCollection
events;
4061
public
EventDescriptorCollection
GetEvents(Attribute[]? attributes)
4067
EventDescriptorCollection
events;
System.Data.Common (10)
System\Data\Common\DataRecordInternal.cs (2)
344
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
350
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Data\Common\DbConnectionStringBuilder.cs (2)
643
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
651
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Data\Common\DbDataRecord.cs (2)
91
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() => new EventDescriptorCollection(null);
94
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null);
System\Data\DataRowView.cs (2)
248
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() => new EventDescriptorCollection(null);
251
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null);
System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
78
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() => new EventDescriptorCollection(null);
88
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) =>
System.Windows.Forms (11)
System\Windows\Forms\ActiveX\AxHost.cs (2)
2499
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
2504
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (2)
49
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() => new(null);
52
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new(null);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (4)
29
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() =>
EventDescriptorCollection
.Empty;
31
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) =>
EventDescriptorCollection
.Empty;
System\Windows\Forms\DataBinding\Binding.cs (1)
547
EventDescriptorCollection
eventInfos = TypeDescriptor.GetEvents(BindableComponent);
System\Windows\Forms\Design\EventsTab.cs (2)
94
/// The <see cref="EventsTab"/> uses <see cref="IEventBindingService.GetEventProperties(
EventDescriptorCollection
)"/>
150
EventDescriptorCollection
propertyEvents = TypeDescriptor.GetEvents(value!, attributes!);
System.Windows.Forms.Design (9)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (4)
1271
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
1273
return
EventDescriptorCollection
.Empty;
1282
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) =>
EventDescriptorCollection
.Empty;
System\ComponentModel\Design\EventBindingService.cs (1)
172
PropertyDescriptorCollection IEventBindingService.GetEventProperties(
EventDescriptorCollection
events)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
242
protected static
EventDescriptorCollection
GetEventsHelper(IDesignerSerializationManager manager, object instance, Attribute[]? attributes)
2132
EventDescriptorCollection
events = GetEventsHelper(manager, value, filter).Sort();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
1258
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() => TypeDescriptor.GetEvents(DataGridViewColumn);
1260
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[]? attrs) => TypeDescriptor.GetEvents(DataGridViewColumn, attrs!);
System.Windows.Forms.Tests (15)
System\Windows\Forms\AxHostTests.cs (8)
2631
EventDescriptorCollection
events = customTypeDescriptor.GetEvents();
2656
EventDescriptorCollection
events = customTypeDescriptor.GetEvents();
2687
EventDescriptorCollection
events = customTypeDescriptor.GetEvents(attributes);
2713
EventDescriptorCollection
events = customTypeDescriptor.GetEvents(attributes);
2736
EventDescriptorCollection
events = customTypeDescriptor.GetEvents([new CustomAttribute()]);
2761
EventDescriptorCollection
events = customTypeDescriptor.GetEvents([new CustomAttribute()]);
2784
EventDescriptorCollection
events = customTypeDescriptor.GetEvents([new NoSuchAttribute()]);
2809
EventDescriptorCollection
events = customTypeDescriptor.GetEvents([new NoSuchAttribute()]);
System\Windows\Forms\AxSystemMonitorTests.cs (1)
27
var
events = TypeDescriptor.GetEvents(_control);
System\Windows\Forms\AxWebBrowserTests.cs (1)
29
var
events = TypeDescriptor.GetEvents(_control);
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (2)
128
public
EventDescriptorCollection
GetEvents() => throw new NotImplementedException();
130
public
EventDescriptorCollection
GetEvents(Attribute[]? attributes) => throw new NotImplementedException();
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (1)
219
var
events = TypeDescriptor.GetEvents(vbcontrol);
System\Windows\Forms\ListBindingHelperTests.cs (2)
849
public
EventDescriptorCollection
GetEvents(Attribute[] attributes)
942
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()