4 overrides of InheritanceAttribute
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.cs (1)
367
protected override InheritanceAttribute?
InheritanceAttribute
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
110
protected override InheritanceAttribute
InheritanceAttribute
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
119
protected override InheritanceAttribute
InheritanceAttribute
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ComponentDesignerTests.cs (1)
2985
protected override InheritanceAttribute
InheritanceAttribute
=> InheritanceAttribute1;
16 references to InheritanceAttribute
System.Windows.Forms.Design (15)
System\ComponentModel\Design\ComponentDesigner.cs (10)
58
[MemberNotNullWhen(true, nameof(
InheritanceAttribute
))]
63
InheritanceAttribute? inheritanceAttribute =
InheritanceAttribute
;
69
=>
InheritanceAttribute
!.InheritanceLevel == InheritanceLevel.InheritedReadOnly;
395
InheritanceAttribute? inheritanceAttribute =
InheritanceAttribute
;
405
InheritanceAttribute? inheritanceAttribute =
InheritanceAttribute
;
447
=> toInvoke?.
InheritanceAttribute
;
609
InheritanceAttribute? inheritanceAttribute =
InheritanceAttribute
;
612
attributes[typeof(InheritanceAttribute)] =
InheritanceAttribute
;
627
InheritanceAttribute? inheritanceAttribute =
InheritanceAttribute
;
656
bool readOnlyInherit = InheritanceAttribute.InheritedReadOnly.Equals(
InheritanceAttribute
);
System\Windows\Forms\Design\ControlDesigner.cs (1)
368
=> IsRootDesigner ? InheritanceAttribute.Inherited : base.
InheritanceAttribute
;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
114
if ((base.
InheritanceAttribute
== InheritanceAttribute.Inherited))
119
return base.
InheritanceAttribute
;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
123
if ((base.
InheritanceAttribute
== InheritanceAttribute.Inherited))
128
return base.
InheritanceAttribute
;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ComponentDesignerTests.cs (1)
2930
public new InheritanceAttribute InheritanceAttribute => base.
InheritanceAttribute
;