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