2 writes to _typeOfControl
System.Windows.Forms (2)
System\Windows\Forms\Internal\TypedControlCollection.cs (2)
20
_typeOfControl
= typeOfControl;
27
_typeOfControl
= typeOfControl;
2 references to _typeOfControl
System.Windows.Forms (2)
System\Windows\Forms\Internal\TypedControlCollection.cs (2)
46
if (!
_typeOfControl
.IsAssignableFrom(value.GetType()))
48
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType,
_typeOfControl
.Name)), value.GetType().Name);