3 writes to _componentClass
System.ComponentModel.TypeConverter (3)
System\ComponentModel\ReflectEventDescriptor.cs (3)
90
_componentClass
= componentClass;
101
_componentClass
= componentClass ?? throw new ArgumentException(SR.Format(SR.InvalidNullArgument, nameof(componentClass)));
119
_componentClass
= componentType;
9 references to _componentClass
System.ComponentModel.TypeConverter (9)
System\ComponentModel\ReflectEventDescriptor.cs (9)
133
public override Type ComponentType =>
_componentClass
;
236
Debug.Assert(
_componentClass
!= null, "Must have a component class for FilterAttributes");
263
Debug.Assert(currentReflectType.IsAssignableFrom(
_componentClass
), "currentReflectType must be in _componentClass's hierarchy");
328
Type? start =
_componentClass
.BaseType;
355
_realEvent =
_componentClass
.GetEvent(Name);
364
_addMethod = FindMethod(
_componentClass
, "AddOn" + Name, argsType, typeof(void));
365
_removeMethod = FindMethod(
_componentClass
, "RemoveOn" + Name, argsType, typeof(void));
368
Debug.Fail($"Missing event accessors for {
_componentClass
.FullName}. {Name}");
384
Debug.Assert(currentReflectType.IsAssignableFrom(
_componentClass
), "currentReflectType must be in _componentClass's hierarchy");