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)
23Assert.Same(InheritanceAttribute.Default, designer.InheritanceAttribute); 275Assert.Same(InheritanceAttribute.Default, attribute); 283yield return new object[] { InheritanceAttribute.Default, false }; 2382yield return new object[] { InheritanceAttribute.Default, null, null }; 2383yield return new object[] { InheritanceAttribute.Default, new Dictionary<Type, object>(), null }; 2403yield return new object[] { null, InheritanceAttribute.Default }; 2404yield return new object[] { new Dictionary<Type, object>(), InheritanceAttribute.Default }; 2405yield return new object[] { new Dictionary<Type, object> { { typeof(InheritanceAttribute), null } }, InheritanceAttribute.Default }; 2406yield return new object[] { new Dictionary<Type, object> { { typeof(InheritanceAttribute), new object() } }, InheritanceAttribute.Default }; 2423yield return new object[] { InheritanceAttribute.Default, false }; 2455yield return new object[] { InheritanceAttribute.Default, new Dictionary<string, object>(), new Dictionary<string, object>() }; 2456yield return new object[] { InheritanceAttribute.Default, new Dictionary<string, object>(), new Dictionary<string, object>() }; 2856.Returns(InheritanceAttribute.Default); 2916.Returns(InheritanceAttribute.Default);