18 references to Default
System.ComponentModel.TypeConverter (2)
System\ComponentModel\InheritanceAttribute.cs (2)
54InheritanceLevel = Default.InheritanceLevel; 104public 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)
25Assert.Same(InheritanceAttribute.Default, designer.InheritanceAttribute); 277Assert.Same(InheritanceAttribute.Default, attribute); 285yield return new object[] { InheritanceAttribute.Default, false }; 2384yield return new object[] { InheritanceAttribute.Default, null, null }; 2385yield return new object[] { InheritanceAttribute.Default, new Dictionary<Type, object>(), null }; 2405yield return new object[] { null, InheritanceAttribute.Default }; 2406yield return new object[] { new Dictionary<Type, object>(), InheritanceAttribute.Default }; 2407yield return new object[] { new Dictionary<Type, object> { { typeof(InheritanceAttribute), null } }, InheritanceAttribute.Default }; 2408yield return new object[] { new Dictionary<Type, object> { { typeof(InheritanceAttribute), new object() } }, InheritanceAttribute.Default }; 2425yield return new object[] { InheritanceAttribute.Default, false }; 2457yield return new object[] { InheritanceAttribute.Default, new Dictionary<string, object>(), new Dictionary<string, object>() }; 2458yield return new object[] { InheritanceAttribute.Default, new Dictionary<string, object>(), new Dictionary<string, object>() }; 2858.Returns(InheritanceAttribute.Default); 2918.Returns(InheritanceAttribute.Default);