17 implementations of GetEvents
System.ComponentModel.TypeConverter (5)
System\ComponentModel\CustomTypeDescriptor.cs (1)
156public virtual EventDescriptorCollection GetEvents(Attribute[]? attributes)
System\ComponentModel\TypeDescriptor.cs (4)
2858EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 3189EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 3664EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 4075public EventDescriptorCollection GetEvents(Attribute[]? attributes)
System.Data.Common (5)
System\Data\Common\DataRecordInternal.cs (1)
350EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Data\Common\DbConnectionStringBuilder.cs (1)
654EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Data\Common\DbDataRecord.cs (1)
94EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null);
System\Data\DataRowView.cs (1)
251EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null);
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
88EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) =>
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2505EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (1)
52EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new(null);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (1)
31EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => EventDescriptorCollection.Empty;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1282EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => EventDescriptorCollection.Empty;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1260EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attrs) => TypeDescriptor.GetEvents(DataGridViewColumn, attrs!);
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (1)
128public EventDescriptorCollection GetEvents(Attribute[]? attributes) => throw new NotImplementedException();
System\Windows\Forms\ListBindingHelperTests.cs (1)
851public EventDescriptorCollection GetEvents(Attribute[] attributes)
22 references to GetEvents
System.ComponentModel.TypeConverter (9)
System\ComponentModel\CustomTypeDescriptor.cs (1)
160return _parent.GetEvents(attributes);
System\ComponentModel\TypeDescriptor.cs (8)
1229results = typeDesc.GetEvents(attributes); 1235ICollection extResults = extDesc.GetEvents(attributes); 1248results = typeDesc.GetEvents(attributes); 1253ICollection extResults = extDesc.GetEvents(attributes); 3191EventDescriptorCollection events = _primary.GetEvents(attributes) ?? _secondary.GetEvents(attributes); 3682EventDescriptorCollection evts = desc.GetEvents(attributes); 4091events = desc.GetEvents(attributes);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
259return targetAwareDescriptor.GetEvents(attributes);
System.Windows.Forms.Tests (12)
System\Windows\Forms\AxHostTests.cs (12)
2689EventDescriptorCollection events = customTypeDescriptor.GetEvents(attributes); 2695events = customTypeDescriptor.GetEvents(attributes); 2715EventDescriptorCollection events = customTypeDescriptor.GetEvents(attributes); 2724events = customTypeDescriptor.GetEvents(attributes); 2738EventDescriptorCollection events = customTypeDescriptor.GetEvents([new CustomAttribute()]); 2744events = customTypeDescriptor.GetEvents([new CustomAttribute()]); 2763EventDescriptorCollection events = customTypeDescriptor.GetEvents([new CustomAttribute()]); 2772events = customTypeDescriptor.GetEvents([new CustomAttribute()]); 2786EventDescriptorCollection events = customTypeDescriptor.GetEvents([new NoSuchAttribute()]); 2792events = customTypeDescriptor.GetEvents([new NoSuchAttribute()]); 2811EventDescriptorCollection events = customTypeDescriptor.GetEvents([new NoSuchAttribute()]); 2820events = customTypeDescriptor.GetEvents([new NoSuchAttribute()]);