/dports/lang/mono/mono-5.10.1.57/mcs/tools/cil-strip/Mono.Cecil/ |
H A D | ParameterDefinition.cs | 34 ParameterAttributes m_attributes; 44 public ParameterAttributes Attributes { 90 #region ParameterAttributes 96 m_attributes |= ParameterAttributes.In; 98 m_attributes &= ~ParameterAttributes.In; 106 m_attributes |= ParameterAttributes.Out; 108 m_attributes &= ~ParameterAttributes.Out; 116 m_attributes |= ParameterAttributes.Retval; 118 m_attributes &= ~ParameterAttributes.Retval; 126 m_attributes |= ParameterAttributes.Lcid; [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/tests/MethodBuilder/ |
H A D | MethodBuilderDefineParameter.cs | 57 ParameterAttributes[] attributes = new ParameterAttributes[] in DefineParameter_AllAttributes() 61 ParameterAttributes.In, in DefineParameter_AllAttributes() 62 ParameterAttributes.None, in DefineParameter_AllAttributes() 64 ParameterAttributes.Out, in DefineParameter_AllAttributes() 65 ParameterAttributes.Retval in DefineParameter_AllAttributes() 86 ParameterAttributes attribute = in DefineParameter_AllAttributesCombined() 89 ParameterAttributes.In | in DefineParameter_AllAttributesCombined() 90 ParameterAttributes.None | in DefineParameter_AllAttributesCombined() 91 ParameterAttributes.Optional | in DefineParameter_AllAttributesCombined() 92 ParameterAttributes.Out | in DefineParameter_AllAttributesCombined() [all …]
|
/dports/lang/mono-basic/mono-basic-4.7/vbnc/cecil/Mono.Cecil/ |
H A D | ParameterDefinition.cs | 54 public ParameterAttributes Attributes { 55 get { return (ParameterAttributes) attributes; } 113 #region ParameterAttributes 116 get { return attributes.GetAttributes ((ushort) ParameterAttributes.In); } 121 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Out); } 126 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Lcid); } 131 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Retval); } 136 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Optional); } 141 get { return attributes.GetAttributes ((ushort) ParameterAttributes.HasDefault); } 153 : this (string.Empty, ParameterAttributes.None, parameterType) in ParameterDefinition() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/linker/cecil/Mono.Cecil/ |
H A D | ParameterDefinition.cs | 25 public ParameterAttributes Attributes { 26 get { return (ParameterAttributes) attributes; } 84 #region ParameterAttributes 87 get { return attributes.GetAttributes ((ushort) ParameterAttributes.In); } 92 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Out); } 97 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Lcid); } 102 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Retval); } 107 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Optional); } 112 get { return attributes.GetAttributes ((ushort) ParameterAttributes.HasDefault); } 124 : this (string.Empty, ParameterAttributes.None, parameterType) in ParameterDefinition() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/cecil/Mono.Cecil/ |
H A D | ParameterDefinition.cs | 25 public ParameterAttributes Attributes { 26 get { return (ParameterAttributes) attributes; } 84 #region ParameterAttributes 87 get { return attributes.GetAttributes ((ushort) ParameterAttributes.In); } 92 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Out); } 97 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Lcid); } 102 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Retval); } 107 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Optional); } 112 get { return attributes.GetAttributes ((ushort) ParameterAttributes.HasDefault); } 124 : this (string.Empty, ParameterAttributes.None, parameterType) in ParameterDefinition() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/cecil-legacy/Mono.Cecil/ |
H A D | ParameterDefinition.cs | 43 public ParameterAttributes Attributes { 44 get { return (ParameterAttributes) attributes; } 110 #region ParameterAttributes 113 get { return attributes.GetAttributes ((ushort) ParameterAttributes.In); } 118 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Out); } 123 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Lcid); } 128 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Retval); } 133 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Optional); } 138 get { return attributes.GetAttributes ((ushort) ParameterAttributes.HasDefault); } 150 : this (string.Empty, ParameterAttributes.None, parameterType) in ParameterDefinition() [all …]
|
/dports/devel/mono-addins/mono-addins-mono-addins-1.3/Mono.Addins.CecilReflector/Mono.Cecil/Mono.Cecil/ |
H A D | ParameterDefinition.cs | 43 public ParameterAttributes Attributes { 44 get { return (ParameterAttributes) attributes; } 110 #region ParameterAttributes 113 get { return attributes.GetAttributes ((ushort) ParameterAttributes.In); } 118 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Out); } 123 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Lcid); } 128 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Retval); } 133 get { return attributes.GetAttributes ((ushort) ParameterAttributes.Optional); } 138 get { return attributes.GetAttributes ((ushort) ParameterAttributes.HasDefault); } 150 : this (string.Empty, ParameterAttributes.None, parameterType) in ParameterDefinition() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/tests/ConstructorBuilder/ |
H A D | ConstructorBuilderDefineParameter.cs | 11 … private static readonly ParameterAttributes[] s_supportedAttributes = new ParameterAttributes[] 13 ParameterAttributes.None, 14 ParameterAttributes.HasDefault, 15 ParameterAttributes.HasFieldMarshal, 16 ParameterAttributes.In, 17 ParameterAttributes.None, 18 ParameterAttributes.Optional, 19 ParameterAttributes.Out, 20 ParameterAttributes.Retval 126 Assert.NotNull(constructor.DefineParameter(0, ParameterAttributes.None, "p")); in DefineParameter_ZeroSequence_NoParameters() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/ikvm/reflect/Emit/ |
H A D | ParameterBuilder.cs | 39 …internal ParameterBuilder(ModuleBuilder moduleBuilder, int sequence, ParameterAttributes attribs, … in ParameterBuilder() 79 get { return (flags & (short)ParameterAttributes.In) != 0; } 84 get { return (flags & (short)ParameterAttributes.Out) != 0; } 89 get { return (flags & (short)ParameterAttributes.Optional) != 0; } 102 flags |= (short)ParameterAttributes.In; in SetCustomAttribute() 105 flags |= (short)ParameterAttributes.Out; in SetCustomAttribute() 108 flags |= (short)ParameterAttributes.Optional; in SetCustomAttribute() 112 flags |= (short)ParameterAttributes.HasFieldMarshal; in SetCustomAttribute() 122 flags |= (short)ParameterAttributes.HasDefault; in SetConstant()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Reflection.Emit/ |
H A D | ParameterBuilder.cs | 55 private ParameterAttributes attrs; 61 …internal ParameterBuilder (MethodBase mb, int pos, ParameterAttributes attributes, string strParam… in ParameterBuilder() 76 get {return ((int)attrs & (int)ParameterAttributes.In) != 0;} 79 get {return ((int)attrs & (int)ParameterAttributes.Out) != 0;} 82 get {return ((int)attrs & (int)ParameterAttributes.Optional) != 0;} 108 attrs |= ParameterAttributes.HasDefault; in SetConstant() 114 attrs |= ParameterAttributes.In; in SetCustomAttribute() 117 attrs |= ParameterAttributes.Out; in SetCustomAttribute() 120 attrs |= ParameterAttributes.Optional; in SetCustomAttribute() 123 attrs |= ParameterAttributes.HasFieldMarshal; in SetCustomAttribute() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.CodeContracts/Mono.CodeContracts.Rewrite/ |
H A D | ContractsRuntime.cs | 110 cons.Parameters.Add (new ParameterDefinition ("failure", ParameterAttributes.None, typeString)); in EnsureTypeContractException() 111 cons.Parameters.Add (new ParameterDefinition ("usermsg", ParameterAttributes.None, typeString)); in EnsureTypeContractException() 112 … cons.Parameters.Add (new ParameterDefinition ("condition", ParameterAttributes.None, typeString)); in EnsureTypeContractException() 113 … cons.Parameters.Add (new ParameterDefinition ("inner", ParameterAttributes.None, typeException)); in EnsureTypeContractException() 156 … method.Parameters.Add (new ParameterDefinition ("message", ParameterAttributes.None, typeString)); in EnsureMethodTriggerFailure() 157 …method.Parameters.Add (new ParameterDefinition ("userMessage", ParameterAttributes.None, typeStrin… in EnsureMethodTriggerFailure() 159 …method.Parameters.Add (new ParameterDefinition ("inner", ParameterAttributes.None, typeException)); in EnsureMethodTriggerFailure() 204 … method.Parameters.Add (new ParameterDefinition ("message", ParameterAttributes.None, typeString)); in EnsureMethodReportFailure() 206 …method.Parameters.Add (new ParameterDefinition ("inner", ParameterAttributes.None, typeException)); in EnsureMethodReportFailure() 260 …method.Parameters.Add (new ParameterDefinition ("condition", ParameterAttributes.None, typeBoolean… in GetRequires() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/ikvm/reflect/ |
H A D | ParameterInfo.cs | 58 public abstract ParameterAttributes Attributes { get; } 79 get { return (Attributes & ParameterAttributes.In) != 0; } 84 get { return (Attributes & ParameterAttributes.Out) != 0; } 89 get { return (Attributes & ParameterAttributes.Lcid) != 0; } 94 get { return (Attributes & ParameterAttributes.Retval) != 0; } 99 get { return (Attributes & ParameterAttributes.Optional) != 0; } 104 get { return (Attributes & ParameterAttributes.HasDefault) != 0; } 149 public override ParameterAttributes Attributes
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.WorkflowServices/System/Workflow/Activities/ |
H A D | OperationParameterInfo.cs | 27 typeof(ParameterAttributes), typeof(OperationParameterInfo), 70 public ParameterAttributes Attributes 74 return (ParameterAttributes) GetValue(AttributesProperty); 86 return ((this.Attributes & ParameterAttributes.In) != 0); 95 return ((this.Attributes & ParameterAttributes.Lcid) != 0); 103 return ((this.Attributes & ParameterAttributes.Optional) != 0); 111 return ((this.Attributes & ParameterAttributes.Out) != 0); 120 return ((this.Attributes & ParameterAttributes.Retval) != 0);
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Reflection/ |
H A D | ParameterInfo.cs | 14 public virtual ParameterAttributes Attributes => AttrsImpl; 20 public bool IsIn => (Attributes & ParameterAttributes.In) != 0; 21 public bool IsLcid => (Attributes & ParameterAttributes.Lcid) != 0; 22 public bool IsOptional => (Attributes & ParameterAttributes.Optional) != 0; 23 public bool IsOut => (Attributes & ParameterAttributes.Out) != 0; 24 public bool IsRetval => (Attributes & ParameterAttributes.Retval) != 0; 101 protected ParameterAttributes AttrsImpl;
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Reflection/ |
H A D | ParameterInfo.cs | 14 public virtual ParameterAttributes Attributes => AttrsImpl; 20 public bool IsIn => (Attributes & ParameterAttributes.In) != 0; 21 public bool IsLcid => (Attributes & ParameterAttributes.Lcid) != 0; 22 public bool IsOptional => (Attributes & ParameterAttributes.Optional) != 0; 23 public bool IsOut => (Attributes & ParameterAttributes.Out) != 0; 24 public bool IsRetval => (Attributes & ParameterAttributes.Retval) != 0; 101 protected ParameterAttributes AttrsImpl;
|
/dports/lang/mono/mono-5.10.1.57/external/cecil-legacy/Test/Mono.Cecil.Tests/ |
H A D | ParameterTests.cs | 123 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in AddParameterIndex() 124 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in AddParameterIndex() 142 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 143 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 144 var z = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 167 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 168 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 169 var z = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 192 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in InsertParameterIndex() 193 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in InsertParameterIndex() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/linker/cecil/Test/Mono.Cecil.Tests/ |
H A D | ParameterTests.cs | 148 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in AddParameterIndex() 149 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in AddParameterIndex() 167 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 168 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 169 var z = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 192 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 193 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 194 var z = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 217 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in InsertParameterIndex() 218 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in InsertParameterIndex() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/cecil/Test/Mono.Cecil.Tests/ |
H A D | ParameterTests.cs | 148 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in AddParameterIndex() 149 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in AddParameterIndex() 167 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 168 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 169 var z = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveAtParameterIndex() 192 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 193 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 194 var z = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in RemoveParameterIndex() 217 var x = new ParameterDefinition ("x", ParameterAttributes.None, object_ref); in InsertParameterIndex() 218 var y = new ParameterDefinition ("y", ParameterAttributes.None, object_ref); in InsertParameterIndex() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ |
H A D | ParameterInfoMirror.cs | 14 ParameterAttributes attrs; 16 …irror (MethodMirror method, int pos, TypeMirror type, string name, ParameterAttributes attrs) : ba… in ParameterInfoMirror() 48 public ParameterAttributes Attributes { 56 return (Attributes & ParameterAttributes.Retval) != 0;
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Reflection/ |
H A D | ParameterInfo.cs | 60 protected ParameterAttributes AttrsImpl; 115 public virtual ParameterAttributes Attributes { 121 return (Attributes & ParameterAttributes.In) != 0; 127 return (Attributes & ParameterAttributes.Lcid) != 0; 133 return (Attributes & ParameterAttributes.Optional) != 0; 139 return (Attributes & ParameterAttributes.Out) != 0; 145 return (Attributes & ParameterAttributes.Retval) != 0;
|
H A D | MonoParameterInfo.cs | 60 this.AttrsImpl = (ParameterAttributes) pb.Attributes; in MonoParameterInfo() 64 this.AttrsImpl = ParameterAttributes.None; in MonoParameterInfo() 76 this.AttrsImpl = (ParameterAttributes) pinfo.Attributes; in MonoParameterInfo() 80 this.AttrsImpl = ParameterAttributes.None; in MonoParameterInfo() 100 this.AttrsImpl = ParameterAttributes.Retval; in MonoParameterInfo()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/ParameterInfos/ |
H A D | RuntimeFatMethodParameterInfo.cs | 31 ParameterAttributes attributes = Attributes; 32 if (0 != (attributes & ParameterAttributes.In)) 34 if (0 != (attributes & ParameterAttributes.Out)) 36 if (0 != (attributes & ParameterAttributes.Optional))
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/reflection/emit/ |
H A D | parameterbuilder.cs | 105 ParameterAttributes attributes, in ParameterBuilder() 164 get {return ((m_attributes & ParameterAttributes.In) != 0);} 167 get {return ((m_attributes & ParameterAttributes.Out) != 0);} 170 get {return ((m_attributes & ParameterAttributes.Optional) != 0);} 175 private ParameterAttributes m_attributes;
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/reflection/ |
H A D | parameterinfo.cs | 34 protected ParameterAttributes AttrsImpl; 68 internal void SetAttributes(ParameterAttributes attributes) in SetAttributes() 97 public virtual ParameterAttributes Attributes { get { return AttrsImpl; } } 106 public bool IsIn { get { return((Attributes & ParameterAttributes.In) != 0); } } 107 public bool IsOut { get { return((Attributes & ParameterAttributes.Out) != 0); } } 109 public bool IsLcid { get { return((Attributes & ParameterAttributes.Lcid) != 0); } } 111 … public bool IsRetval { get { return((Attributes & ParameterAttributes.Retval) != 0); } } 112 public bool IsOptional { get { return((Attributes & ParameterAttributes.Optional) != 0); } } 317 ParameterAttributes attr; in GetParameters() 474 int position, ParameterAttributes attributes, MemberInfo member) in RuntimeParameterInfo() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit.ILGeneration/tests/ParameterBuilder/ |
H A D | PropertyTests.cs | 18 …ParameterBuilder parameter = methodBuilder.DefineParameter(1, ParameterAttributes.In, "paramName"); in Properties() 20 Assert.Equal(ParameterAttributes.In, (ParameterAttributes)parameter.Attributes); in Properties()
|