Home
last modified time | relevance | path

Searched refs:DesignOnlyAttribute (Results 1 – 25 of 95) sorted by relevance

1234

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Primitives/tests/
H A DDesignOnlyAttributeTests.cs17 var attribute = new DesignOnlyAttribute(designOnly); in Ctor_DesignOnly()
24 yield return new object[] { DesignOnlyAttribute.Yes, DesignOnlyAttribute.Yes, true }; in Equals_TestData()
25 … yield return new object[] { DesignOnlyAttribute.No, new DesignOnlyAttribute(false), true }; in Equals_TestData()
26 yield return new object[] { DesignOnlyAttribute.Yes, DesignOnlyAttribute.No, false }; in Equals_TestData()
28 yield return new object[] { DesignOnlyAttribute.Yes, new object(), false }; in Equals_TestData()
29 yield return new object[] { DesignOnlyAttribute.Yes, null, false }; in Equals_TestData()
34 …public void Equals_Object_ReturnsExpected(DesignOnlyAttribute attribute, object other, bool expect… in Equals_Object_ReturnsExpected()
37 if (other is DesignOnlyAttribute otherAttribute) in Equals_Object_ReturnsExpected()
45 yield return new object[] { DesignOnlyAttribute.Yes, true }; in DefaultProperties_TestData()
46 yield return new object[] { DesignOnlyAttribute.Default, false }; in DefaultProperties_TestData()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Primitives/src/System/ComponentModel/
H A DDesignOnlyAttribute.cs12 public sealed class DesignOnlyAttribute : Attribute class
19 public DesignOnlyAttribute(bool isDesignOnly) => IsDesignOnly = isDesignOnly;
33 public static readonly DesignOnlyAttribute Yes = new DesignOnlyAttribute(true);
40 public static readonly DesignOnlyAttribute No = new DesignOnlyAttribute(false);
48 public static readonly DesignOnlyAttribute Default = No;
57 DesignOnlyAttribute other = obj as DesignOnlyAttribute; in Equals()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/componentmodel/
H A DDesignOnlyAttribute.cs19 public sealed class DesignOnlyAttribute : Attribute { class
27 public DesignOnlyAttribute(bool isDesignOnly) { in DesignOnlyAttribute() method in System.ComponentModel.DesignOnlyAttribute
49 public static readonly DesignOnlyAttribute Yes = new DesignOnlyAttribute(true);
59 public static readonly DesignOnlyAttribute No = new DesignOnlyAttribute(false);
67 public static readonly DesignOnlyAttribute Default = No;
81 DesignOnlyAttribute other = obj as DesignOnlyAttribute; in Equals()
H A DMemberDescriptor.cs252 return(DesignOnlyAttribute.Yes.Equals(Attributes[typeof(DesignOnlyAttribute)]));
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Primitives/ref/
H A DSystem.ComponentModel.Primitives.cs128 public sealed partial class DesignOnlyAttribute : System.Attribute class
130 public static readonly DesignOnlyAttribute Default;
131 public static readonly DesignOnlyAttribute No;
132 public static readonly DesignOnlyAttribute Yes;
133 public DesignOnlyAttribute(bool isDesignOnly) { } in DesignOnlyAttribute() method in System.ComponentModel.DesignOnlyAttribute
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Serializer/
H A DCompositeActivityTypeDescriptor.cs34 …&& attributes.Length == 1 && attributes[0] is DesignOnlyAttribute && !(attributes[0] as DesignOnly… in GetProperties()
H A DSerializableTypeCodeDomSerializer.cs90 … SerializeProperties(manager, statements, value, new Attribute[] { DesignOnlyAttribute.No }); in Serialize()
91 … SerializeEvents(manager, statements, value, new Attribute[] { DesignOnlyAttribute.No }); in Serialize()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/src/System/ComponentModel/
H A DMemberDescriptor.cs221 …public virtual bool DesignTimeOnly => (DesignOnlyAttribute.Yes.Equals(Attributes[typeof(DesignOnly…
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/Rules/Design/
H A DLogicalExpressionTypeConverter.cs52 …ializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); in GetProperties()
53 …ializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); in GetProperties()
176 …ializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); in GetProperties()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Design/System.Windows.Forms.Design/
H A DParentControlDesigner.cs310 DesignOnlyAttribute.Yes, in PreFilterProperties()
321 DesignOnlyAttribute.Yes, in PreFilterProperties()
332 DesignOnlyAttribute.Yes, in PreFilterProperties()
H A DControlDesigner.cs726 DesignOnlyAttribute.Yes, in PreFilterProperties()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Facades/System.ComponentModel.Primitives/
H A DTypeForwarders.cs27 …ntime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DesignOnlyAttribute))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/Facades/
H A DSystem.ComponentModel.Primitives.cs24 …ntime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DesignOnlyAttribute))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/Facades/
H A DSystem.ComponentModel.Primitives.cs24 …ntime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DesignOnlyAttribute))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/Facades/
H A DSystem.ComponentModel.Primitives.cs24 …ntime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DesignOnlyAttribute))]
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7.1/Facades/
H A DSystem.ComponentModel.Primitives.cs23 …ntime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DesignOnlyAttribute))]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Mobile/UI/MobileControls/Design/
H A DMobileControlPersister.cs529DesignOnlyAttribute doAttr = (DesignOnlyAttribute)properties[i].Attributes[typeof(DesignOnlyAttrib… in PersistAttributes()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Design/System.ComponentModel.Design.Serialization/
H A DPropertyCodeDomSerializer.cs154 if (property.Attributes.Contains (DesignOnlyAttribute.Yes)) in ShouldSerialize()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/
H A DInvokeWebService.cs405 …sedPropertyDescriptor(typeof(InvokeWebServiceActivity), paramInfo, false, DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()
407 …InvokeWebServiceActivity.ReservedParameterNames.Contains(paramInfo.Name), DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()
H A DWebServiceResponse.cs278 …sedPropertyDescriptor(typeof(WebServiceOutputActivity), paramInfo, false, DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()
280 …asedPropertyDescriptor(typeof(WebServiceOutputActivity), paramInfo, true, DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()
H A DInvokeMethodActivity.cs276 …oBasedPropertyDescriptor(typeof(CallExternalMethodActivity), param, true, DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()
H A DEventSinkActivity.cs477 …BasedPropertyDescriptor(typeof(HandleExternalEventActivity), param, true, DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/Designers/
H A DInvokeWebServiceDesigner.cs76 …peDescriptor.CreateProperty(this.GetType(), "URL", typeof(string), DesignOnlyAttribute.Yes, Mergab… in PreFilterProperties()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Design/
H A DWorkflowInlining.cs404 …ty.PropertyType, ReservedParameterNames.Contains(parameterProperty.Name), DesignOnlyAttribute.Yes); in PreFilterProperties()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.WorkflowServices/System/Workflow/Activities/
H A DSendActivity.cs481 param, true, DesignOnlyAttribute.Yes); in GetParameterPropertyDescriptors()

1234