18 references to Default
System.ComponentModel.TypeConverter (2)
System\ComponentModel\InheritanceAttribute.cs (2)
54
InheritanceLevel =
Default
.InheritanceLevel;
104
public override bool IsDefaultAttribute() => Equals(
Default
);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ComponentDesigner.cs (1)
103
_inheritanceAttribute = InheritanceAttribute.
Default
;
System\ComponentModel\Design\InheritanceService.cs (1)
258
: InheritanceAttribute.
Default
;
System.Windows.Forms.Design.Tests (14)
System\ComponentModel\Design\ComponentDesignerTests.cs (14)
23
Assert.Same(InheritanceAttribute.
Default
, designer.InheritanceAttribute);
275
Assert.Same(InheritanceAttribute.
Default
, attribute);
283
yield return new object[] { InheritanceAttribute.
Default
, false };
2382
yield return new object[] { InheritanceAttribute.
Default
, null, null };
2383
yield return new object[] { InheritanceAttribute.
Default
, new Dictionary<Type, object>(), null };
2403
yield return new object[] { null, InheritanceAttribute.
Default
};
2404
yield return new object[] { new Dictionary<Type, object>(), InheritanceAttribute.
Default
};
2405
yield return new object[] { new Dictionary<Type, object> { { typeof(InheritanceAttribute), null } }, InheritanceAttribute.
Default
};
2406
yield return new object[] { new Dictionary<Type, object> { { typeof(InheritanceAttribute), new object() } }, InheritanceAttribute.
Default
};
2423
yield return new object[] { InheritanceAttribute.
Default
, false };
2455
yield return new object[] { InheritanceAttribute.
Default
, new Dictionary<string, object>(), new Dictionary<string, object>() };
2456
yield return new object[] { InheritanceAttribute.
Default
, new Dictionary<string, object>(), new Dictionary<string, object>() };
2856
.Returns(InheritanceAttribute.
Default
);
2916
.Returns(InheritanceAttribute.
Default
);