2 types derived from MemberDescriptor
System.ComponentModel.TypeConverter (2)
System\ComponentModel\EventDescriptor.cs (1)
9public abstract class EventDescriptor : MemberDescriptor
System\ComponentModel\PropertyDescriptor.cs (1)
16public abstract class PropertyDescriptor : MemberDescriptor
139 references to MemberDescriptor
netstandard (1)
netstandard.cs (1)
380[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.MemberDescriptor))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
366[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.MemberDescriptor))]
System.ComponentModel.TypeConverter (44)
System\ComponentModel\Design\ComponentChangedEventArgs.cs (2)
19public MemberDescriptor? Member { get; } 34public ComponentChangedEventArgs(object? component, MemberDescriptor? member, object? oldValue, object? newValue)
System\ComponentModel\Design\ComponentChangingEventArgs.cs (2)
19public MemberDescriptor? Member { get; } 24public ComponentChangingEventArgs(object? component, MemberDescriptor? member)
System\ComponentModel\Design\IComponentChangeService.cs (2)
49void OnComponentChanged(object component, MemberDescriptor? member, object? oldValue, object? newValue); 54void OnComponentChanging(object component, MemberDescriptor? member);
System\ComponentModel\Design\Serialization\ComponentSerializationService.cs (2)
64public abstract void SerializeMember(SerializationStore store, object owningObject, MemberDescriptor member); 76public abstract void SerializeMemberAbsolute(SerializationStore store, object owningObject, MemberDescriptor member);
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (4)
72public MemberRelationship this[object sourceOwner, MemberDescriptor sourceMember] 139internal MemberDescriptor _member; 180public MemberRelationship(object owner, MemberDescriptor member) 197public MemberDescriptor Member { get; }
System\ComponentModel\EventDescriptor.cs (5)
23/// the specified <see cref='System.ComponentModel.MemberDescriptor'/>. 25protected EventDescriptor(MemberDescriptor descr) : base(descr) 31/// the name in the specified <see cref='System.ComponentModel.MemberDescriptor'/> and the 32/// attributes in both the <see cref='System.ComponentModel.MemberDescriptor'/> and the <see cref='System.Attribute'/> array. 34protected EventDescriptor(MemberDescriptor descr, Attribute[]? attrs) : base(descr, attrs)
System\ComponentModel\MemberDescriptor.cs (12)
32/// Initializes a new instance of the <see cref='System.ComponentModel.MemberDescriptor'/> class with the specified <paramref name="name"/> and no attributes. 39/// Initializes a new instance of the <see cref='System.ComponentModel.MemberDescriptor'/> class with the specified <paramref name="name"/> and <paramref name="attributes "/> array. 64/// Initializes a new instance of the <see cref='System.ComponentModel.MemberDescriptor'/> class with the specified <see cref='System.ComponentModel.MemberDescriptor'/>. 66protected MemberDescriptor(MemberDescriptor descr) 83/// Initializes a new instance of the <see cref='System.ComponentModel.MemberDescriptor'/> class with the name in the specified 84/// <see cref='System.ComponentModel.MemberDescriptor'/> and the attributes 85/// in both the old <see cref='System.ComponentModel.MemberDescriptor'/> and the <see cref='System.Attribute'/> array. 87protected MemberDescriptor(MemberDescriptor oldMemberDescriptor, Attribute[]? newAttributes) 240/// Compares this instance to the specified <see cref='System.ComponentModel.MemberDescriptor'/> to see if they are equivalent. 259MemberDescriptor mdObj = (MemberDescriptor)obj;
System\ComponentModel\PropertyDescriptor.cs (5)
37/// the name and attributes in the specified <see cref='System.ComponentModel.MemberDescriptor'/>. 39protected PropertyDescriptor(MemberDescriptor descr) : base(descr) 46/// the name in the specified <see cref='System.ComponentModel.MemberDescriptor'/> and the 47/// attributes in both the <see cref='System.ComponentModel.MemberDescriptor'/> and the 51protected PropertyDescriptor(MemberDescriptor descr, Attribute[]? attrs) : base(descr, attrs)
System\ComponentModel\TypeDescriptor.cs (10)
572if (ShouldHideMember((MemberDescriptor?)members[idx], attributes[attrIdx])) 1269private static string? GetExtenderCollisionSuffix(MemberDescriptor member) 2002foreach (MemberDescriptor desc in members) 2032MemberDescriptor origDesc = (MemberDescriptor)filterTable[descName]!; 2727private static bool ShouldHideMember(MemberDescriptor? member, Attribute? attribute) 3031MemberDescriptor? leftMember = left as MemberDescriptor; 3032MemberDescriptor? rightMember = right as MemberDescriptor;
System.Windows.Forms.Design (37)
System\ComponentModel\Design\ComponentDesigner.cs (2)
725protected void RaiseComponentChanged(MemberDescriptor? member, object? oldValue, object? newValue) 733protected void RaiseComponentChanging(MemberDescriptor? member)
System\ComponentModel\Design\DesignerHost.cs (2)
848void IComponentChangeService.OnComponentChanged(object component, MemberDescriptor? member, object? oldValue, object? newValue) 858void IComponentChangeService.OnComponentChanging(object component, MemberDescriptor? member)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
109internal void AddMember(object value, MemberDescriptor member, bool absolute)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ObjectData.cs (2)
72internal readonly MemberDescriptor _member; 82internal MemberData(MemberDescriptor member, bool absolute)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.cs (2)
93public override void SerializeMember(SerializationStore store, object owningObject, MemberDescriptor member) 117public override void SerializeMemberAbsolute(SerializationStore store, object owningObject, MemberDescriptor member)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
227public virtual CodeStatementCollection SerializeMember(IDesignerSerializationManager manager, object owningObject, MemberDescriptor member) 263public virtual CodeStatementCollection SerializeMemberAbsolute(IDesignerSerializationManager manager, object owningObject, MemberDescriptor member)
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (2)
23public override void Serialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor, CodeStatementCollection statements) 77public override bool ShouldSerialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor) => true;
System\ComponentModel\Design\Serialization\MemberCodeDomSerializer.cs (2)
23MemberDescriptor descriptor, 30public abstract bool ShouldSerialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
83public override void Serialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor, CodeStatementCollection statements) 360public override bool ShouldSerialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor)
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (2)
29public override void Serialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor, CodeStatementCollection statements) 81public override bool ShouldSerialize(IDesignerSerializationManager manager, object value, MemberDescriptor descriptor)
System\ComponentModel\Design\Serialization\SerializeAbsoluteContext.cs (3)
32public SerializeAbsoluteContext(MemberDescriptor? member) 41public MemberDescriptor? Member { get; } 46public bool ShouldSerialize(MemberDescriptor? member)
System\ComponentModel\Design\UndoEngine.cs (2)
557public readonly MemberDescriptor member; 559public ReferencingComponent(IComponent component, MemberDescriptor member)
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (3)
16private readonly MemberDescriptor? _member; 81public bool ContainsChange(MemberDescriptor? desc) 131private static SerializationStore Serialize(UndoEngine engine, object component, MemberDescriptor? member)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
78MemberDescriptor? memberDescriptor = TypeDescriptor.GetProperties(navigator)["Items"];
System\Windows\Forms\Design\StandardMenuStripVerb.cs (3)
201MemberDescriptor member = TypeDescriptor.GetProperties(rootItem)["DropDownItems"]; 214MemberDescriptor topMember = TypeDescriptor.GetProperties(tool)["Items"]; 359MemberDescriptor topMember = TypeDescriptor.GetProperties(tool)["Items"];
System\Windows\Forms\Design\TabControlDesigner.cs (3)
99MemberDescriptor member = TypeDescriptor.GetProperties(component: Component)["Controls"]; 262MemberDescriptor member = TypeDescriptor.GetProperties(tc)["Controls"]; 332MemberDescriptor member = TypeDescriptor.GetProperties(Component)["Controls"];
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1417private bool DoesPropertyAffectPosition(MemberDescriptor member)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1683MemberDescriptor member = TypeDescriptor.GetProperties(MenuItem.DropDown)["Items"]; 1786MemberDescriptor member = TypeDescriptor.GetProperties(MenuItem.DropDown)["Items"];
System.Windows.Forms.Design.Tests (50)
System\ComponentModel\Design\ComponentDesignerTests.cs (8)
2489public void ComponentDesigner_RaiseComponentChanged_InvokeWithValidService_CallsOnOnComponentChanged(MemberDescriptor member, object oldValue, object newValue) 2518public void ComponentDesigner_RaiseComponentChanged_InvokeWithInvalidService_CallsOnOnComponentChanged(object componentChangeService, MemberDescriptor member, object oldValue, object newValue) 2533public void ComponentDesigner_RaiseComponentChanged_InvokeWithoutComponent_Nop(MemberDescriptor member, object oldValue, object newValue) 2547public void ComponentDesigner_RaiseComponentChanging_InvokeWithValidService_CallsOnOnComponentChanged(MemberDescriptor member) 2576public void ComponentDesigner_RaiseComponentChanging_InvokeWithInvalidService_CallsOnOnComponentChanged(object componentChangeService, MemberDescriptor member) 2591public void ComponentDesigner_RaiseComponentChanging_InvokeWithoutComponent_Nop(MemberDescriptor member) 2956public new void RaiseComponentChanged(MemberDescriptor member, object oldValue, object newValue) 2961public new void RaiseComponentChanging(MemberDescriptor member) => base.RaiseComponentChanging(member);
System\ComponentModel\Design\DesignerHostTests.cs (4)
2929public void DesignerHost_IComponentChangeServiceOnComponentChanging_Invoke_CallsComponentChanging(object component, MemberDescriptor member) 2962public void DesignerHost_IComponentChangeServiceOnComponentChanging_InvokeLoading_DoesNotCallHandler(object component, MemberDescriptor member) 2999public void DesignerHost_IComponentChangeServiceOnComponentChanged_Invoke_CallsComponentChanged(object component, MemberDescriptor member, object oldValue, object newValue) 3034public void DesignerHost_IComponentChangeServiceOnComponentChanged_InvokeLoading_DoesNotCallHandler(object component, MemberDescriptor member, object oldValue, object newValue)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (34)
420MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 421MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.DefaultStringValue)]; 422MemberDescriptor member3 = TypeDescriptor.GetEvents(typeof(DataClass))[nameof(DataClass.Event)]; 466MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 467MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.DefaultStringValue)]; 468MemberDescriptor member3 = TypeDescriptor.GetEvents(typeof(DataClass))[nameof(DataClass.Event)]; 512MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 513MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.DefaultStringValue)]; 561MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 562MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.DefaultStringValue)]; 1131MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1132MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1174MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1175MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1231MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1232MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1302MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1303MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1365MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1374MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1391MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1401MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1410MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1411MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1453MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1454MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1510MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1511MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1581MemberDescriptor member1 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1582MemberDescriptor member2 = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.StringValue)]; 1644MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1653MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1670MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)]; 1680MemberDescriptor member = TypeDescriptor.GetProperties(typeof(DataClass))[nameof(DataClass.IntValue)];
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (4)
25public void SerializeAbsoluteContext_Ctor_MemberDescriptor(MemberDescriptor member) 34MemberDescriptor member1 = properties[nameof(RootContext.Expression)]; 35MemberDescriptor member2 = properties[nameof(RootContext.Value)]; 47public void SerializeAbsoluteContext_ShouldSerialize_Invoke_ReturnsExpected(SerializeAbsoluteContext context, MemberDescriptor member, bool expected)
System.Windows.Forms.Primitives (4)
System\ComponentModel\Design\ComponentChangeServiceExtensions.cs (2)
11MemberDescriptor? member = null, 21MemberDescriptor? member = null)
System\ComponentModel\MemberDescriptorExtensions.cs (2)
10this MemberDescriptor descriptor, 19this MemberDescriptor descriptor) where T : Attribute
System.Windows.Forms.Tests (2)
System\Windows\Forms\PropertyGridTests.cs (2)
4290public void OnComponentChanged(object component, MemberDescriptor member, object oldValue, object newValue) 4294public void OnComponentChanging(object component, MemberDescriptor member)