23 references to NotInherited
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\IInheritanceService.cs (1)
19
/// value <see cref='System.ComponentModel.InheritanceAttribute.
NotInherited
'/>.
System\ComponentModel\InheritanceAttribute.cs (1)
46
public static readonly InheritanceAttribute Default =
NotInherited
;
System.Windows.Forms.Design (15)
System\ComponentModel\Design\ComponentDesigner.cs (3)
64
return inheritanceAttribute is not null && !inheritanceAttribute.Equals(InheritanceAttribute.
NotInherited
);
396
if (isRoot || inheritanceAttribute is null || !inheritanceAttribute.Equals(InheritanceAttribute.
NotInherited
))
610
if (inheritanceAttribute is not null && !inheritanceAttribute.Equals(InheritanceAttribute.
NotInherited
))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (1)
41
if (!TypeDescriptor.GetAttributes(o)[typeof(InheritanceAttribute)]!.Equals(InheritanceAttribute.
NotInherited
))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersInheritedExtenderProvider.cs (1)
43
if (!attributes[typeof(InheritanceAttribute)]!.Equals(InheritanceAttribute.
NotInherited
))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2147
inheritance ??= InheritanceAttribute.
NotInherited
;
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (1)
112
inheritance = InheritanceAttribute.
NotInherited
;
System\Windows\Forms\Design\CommandSet.cs (1)
2927
if (!Equals(TypeDescriptor.GetAttributes(obj)[typeof(InheritanceAttribute)], InheritanceAttribute.
NotInherited
))
System\Windows\Forms\Design\ComponentTray.cs (1)
2320
if (!InheritanceAttribute.
NotInherited
.Equals(_inheritanceAttribute))
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
74
TypeDescriptor.GetAttributes(_realCollection[i]).Contains(InheritanceAttribute.
NotInherited
))
System\Windows\Forms\Design\DesignerExtenders.NameExtenderProvider.cs (1)
59
if (!TypeDescriptor.GetAttributes(o)[typeof(InheritanceAttribute)]?.Equals(InheritanceAttribute.
NotInherited
) ?? false)
System\Windows\Forms\Design\DesignerExtenders.NameInheritedExtenderProvider.cs (1)
39
if (!TypeDescriptor.GetAttributes(o)[typeof(InheritanceAttribute)]?.Equals(InheritanceAttribute.
NotInherited
) ?? false)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
478
if (!attr.Equals(InheritanceAttribute.
NotInherited
) && !attr.Equals(InheritanceAttribute.InheritedReadOnly))
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1525
if (attr is not null && !attr.Equals(InheritanceAttribute.
NotInherited
) && !attr.Equals(InheritanceAttribute.InheritedReadOnly))
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2219
TypeDescriptor.GetAttributes(_realCollection[i]).Contains(InheritanceAttribute.
NotInherited
))
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\ComponentDesignerTests.cs (6)
286
yield return new object[] { InheritanceAttribute.
NotInherited
, false };
2388
yield return new object[] { InheritanceAttribute.
NotInherited
, null, null };
2389
yield return new object[] { InheritanceAttribute.
NotInherited
, new Dictionary<Type, object>(), null };
2426
yield return new object[] { InheritanceAttribute.
NotInherited
, false };
2461
yield return new object[] { InheritanceAttribute.
NotInherited
, null, null };
2462
yield return new object[] { InheritanceAttribute.
NotInherited
, new Dictionary<string, object>(), new Dictionary<string, object>() };