Home
last modified time | relevance | path

Searched refs:PEAPI (Results 1 – 25 of 79) sorted by relevance

1234

/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/
H A DPEAPI.cs9 namespace PEAPI namespace
117 public CalliSig(PEAPI.CallConv cconv, PEAPI.Type retType, PEAPI.Type[] pars) { } in CalliSig()
123 …public Catch(PEAPI.Class except, PEAPI.CILLabel handlerStart, PEAPI.CILLabel handlerEnd) : base (d… in Catch()
124 …public Catch(PEAPI.Type except, PEAPI.CILLabel handlerStart, PEAPI.CILLabel handlerEnd) : base (de… in Catch()
195 …public PEAPI.MethodDef AddMethod(PEAPI.MethAttr mAtts, PEAPI.ImplAttr iAtts, string name, PEAPI.Pa… in AddMethod()
210 public partial class ClassRef : PEAPI.Class, PEAPI.IExternRef, PEAPI.IResolutionScope
391 …lic Filter(PEAPI.CILLabel filterLabel, PEAPI.CILLabel handlerStart, PEAPI.CILLabel handlerEnd) : b… in Filter()
453 …public HandlerBlock(PEAPI.CILLabel start, PEAPI.CILLabel end) : base (default(PEAPI.CILLabel), def… in HandlerBlock()
952 …public PEAPI.MethodDef AddMethod(PEAPI.MethAttr mAtts, PEAPI.ImplAttr iAtts, string name, PEAPI.Pa… in AddMethod()
953 …public PEAPI.MethodDef AddMethod(PEAPI.MethAttr mAtts, PEAPI.ImplAttr iAtts, string name, PEAPI.Ty… in AddMethod()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/mono/
H A DPEAPI.cs10 namespace PEAPI namespace
118 public CalliSig(PEAPI.CallConv cconv, PEAPI.Type retType, PEAPI.Type[] pars) { } in CalliSig()
124 …public Catch(PEAPI.Class except, PEAPI.CILLabel handlerStart, PEAPI.CILLabel handlerEnd) : base (d… in Catch()
125 …public Catch(PEAPI.Type except, PEAPI.CILLabel handlerStart, PEAPI.CILLabel handlerEnd) : base (de… in Catch()
196 …public PEAPI.MethodDef AddMethod(PEAPI.MethAttr mAtts, PEAPI.ImplAttr iAtts, string name, PEAPI.Pa… in AddMethod()
211 public partial class ClassRef : PEAPI.Class, PEAPI.IExternRef, PEAPI.IResolutionScope
392 …lic Filter(PEAPI.CILLabel filterLabel, PEAPI.CILLabel handlerStart, PEAPI.CILLabel handlerEnd) : b… in Filter()
454 …public HandlerBlock(PEAPI.CILLabel start, PEAPI.CILLabel end) : base (default(PEAPI.CILLabel), def… in HandlerBlock()
952 …public PEAPI.MethodDef AddMethod(PEAPI.MethAttr mAtts, PEAPI.ImplAttr iAtts, string name, PEAPI.Pa… in AddMethod()
953 …public PEAPI.MethodDef AddMethod(PEAPI.MethAttr mAtts, PEAPI.ImplAttr iAtts, string name, PEAPI.Ty… in AddMethod()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/ilasm/codegen/
H A DPeapiTypeRef.cs16 protected PEAPI.Type type;
19 public Pair (PEAPI.Type type, string sig) in Pair()
68 private PEAPI.Type peapi_type;
76 public PeapiTypeRef (PEAPI.Type peapi_type) in PeapiTypeRef()
101 public PEAPI.Type PeapiType {
107 PEAPI.Type type; in MakeArray()
133 PEAPI.Type type; in MakeBoundArray()
196 PEAPI.Type type; in MakeManagedPointer()
211 PEAPI.Type type; in MakeUnmanagedPointer()
226 PEAPI.Type type; in MakeCustomModified()
[all …]
H A DMethodDef.cs22 private PEAPI.MethAttr meth_attr;
23 private PEAPI.CallConv call_conv;
24 private PEAPI.ImplAttr impl_attr;
36 private PEAPI.MethodDef methoddef;
57 PEAPI.CallConv call_conv, PEAPI.ImplAttr impl_attr, in MethodDef()
354 if (gpar.Type == PEAPI.GenParamType.MVar) in ResolveGenParam()
394 public PEAPI.MethodDef Resolve (CodeGen code_gen, PEAPI.ClassDef classdef) in Resolve()
444 public PEAPI.MethodRef GetVarargSig (PEAPI.Type[] opt, string full_signature) in GetVarargSig()
533 PEAPI.Local[] local_array = new PEAPI.Local[local_list.Count]; in WriteCode()
559 if ((impl_attr & PEAPI.ImplAttr.Runtime) == PEAPI.ImplAttr.Runtime) { in WriteCode()
[all …]
H A DExternMethodRef.cs29 if ((call_conv & PEAPI.CallConv.Vararg) != 0) { in Resolve()
34 PEAPI.Type[] param_list = new PEAPI.Type[param.Length]; in Resolve()
53 PEAPI.Type owner_ref = owner.PeapiType; in Resolve()
57 PEAPI.ClassRef owner_ref; in Resolve()
58 owner_ref = (PEAPI.ClassRef) owner.PeapiType; in Resolve()
103 PEAPI.Type owner_ref = owner.PeapiType; in ResolveVararg()
106 … (PEAPI.Type[]) param_list.ToArray (typeof (PEAPI.Type)), in ResolveVararg()
107 … (PEAPI.Type[]) opt_list.ToArray (typeof (PEAPI.Type))); in ResolveVararg()
109 PEAPI.ClassRef owner_ref; in ResolveVararg()
113 … (PEAPI.Type[]) param_list.ToArray (typeof (PEAPI.Type)), in ResolveVararg()
[all …]
H A DFieldDef.cs20 private PEAPI.FieldAttr attr;
21 private PEAPI.FieldDef field_def;
23 private PEAPI.NativeType native_type;
32 private PEAPI.Constant constant;
35 public FieldDef (PEAPI.FieldAttr attr, string name, in FieldDef()
55 public PEAPI.FieldDef PeapiFieldDef {
63 public PEAPI.FieldAttr Attributes {
78 public void SetValue (PEAPI.Constant constant) in SetValue()
102 public PEAPI.FieldDef Resolve (CodeGen code_gen) in Resolve()
115 public PEAPI.FieldDef Resolve (CodeGen code_gen, PEAPI.ClassDef classdef) in Resolve()
[all …]
H A DTypeDef.cs19 private PEAPI.TypeAttr attr;
26 private PEAPI.ClassDef classdef;
118 public PEAPI.ClassDef ClassDef {
212 … methoddef.Attributes |= PEAPI.MethAttr.Abstract | PEAPI.MethAttr.Virtual; in AddMethodDef()
331 PEAPI.TypeAttr vis = attr & PEAPI.TypeAttr.VisibilityMask; in Define()
333 if (vis == PEAPI.TypeAttr.Private || vis == PEAPI.TypeAttr.Public) { in Define()
337 …attr |= (vis == PEAPI.TypeAttr.Public ? PEAPI.TypeAttr.NestedPublic : PEAPI.TypeAttr.NestedPrivate… in Define()
423 … fielddef.Attributes |= PEAPI.FieldAttr.SpecialName | PEAPI.FieldAttr.RTSpecialName; in DefineContents()
490 public PEAPI.Method ResolveMethod (BaseTypeRef ret_type, PEAPI.CallConv call_conv, in ResolveMethod()
501 … public PEAPI.Method ResolveVarargMethod (BaseTypeRef ret_type, PEAPI.CallConv call_conv, in ResolveVarargMethod()
[all …]
H A DMethodPointerTypeRef.cs19 private PEAPI.CallConv callconv;
23 … public MethodPointerTypeRef (PEAPI.CallConv callconv, BaseTypeRef ret, ArrayList param_list) in MethodPointerTypeRef()
44 if (callconv != PEAPI.CallConv.Default) { in BuildTypeName()
75 PEAPI.Type [] arg_array; in Resolve()
76 PEAPI.Type [] opt_array; in Resolve()
101 arg_array = (PEAPI.Type []) arg_list.ToArray (typeof (PEAPI.Type)); in Resolve()
102 opt_array = (PEAPI.Type []) opt_list.ToArray (typeof (PEAPI.Type)); in Resolve()
104 arg_array = new PEAPI.Type [0]; in Resolve()
105 opt_array = new PEAPI.Type [0]; in Resolve()
110 … type = new PEAPI.MethPtrType (callconv, ret.PeapiType, arg_array, is_vararg, opt_array); in Resolve()
[all …]
H A DParamDef.cs22 private PEAPI.ParamAttr attr;
26 private PEAPI.Param peapi_param;
27 private PEAPI.Constant defval;
29 private PEAPI.NativeType native_type;
31 …public static readonly ParamDef Ellipsis = new ParamDef (new PEAPI.ParamAttr (), "ELLIPSIS", null);
33 public ParamDef (PEAPI.ParamAttr attr, string name, in ParamDef()
42 public void AddDefaultValue (PEAPI.Constant cVal) in AddDefaultValue()
55 public void AddMarshalInfo (PEAPI.NativeType native_type) in AddMarshalInfo()
72 public PEAPI.Param PeapiParam {
88 peapi_param = new PEAPI.Param (attr, in Define()
H A DPropertyDef.cs22 private PEAPI.Property prop_def;
29 private PEAPI.Constant init_value;
48 public PEAPI.Property Resolve (CodeGen code_gen, PEAPI.ClassDef classdef) in Resolve()
53 PEAPI.Type[] type_list = new PEAPI.Type[arg_list.Count]; in Resolve()
82 private PEAPI.MethodDef AsMethodDef (PEAPI.Method method, string type) in AsMethodDef()
84 PEAPI.MethodDef methoddef = method as PEAPI.MethodDef; in AsMethodDef()
90 public void Define (CodeGen code_gen, PEAPI.ClassDef classdef) in Define()
133 public void AddInitValue (PEAPI.Constant init_value) in AddInitValue()
H A DCalliInstr.cs18 private PEAPI.CallConv call_conv;
22 public CalliInstr (PEAPI.CallConv call_conv, BaseTypeRef ret_type, in CalliInstr()
32 PEAPI.CILInstructions cil) in Emit()
34 PEAPI.Type[] param_array; in Emit()
35 PEAPI.CalliSig callisig; in Emit()
38 param_array = new PEAPI.Type[param.Length]; in Emit()
45 param_array = new PEAPI.Type[0]; in Emit()
49 callisig = new PEAPI.CalliSig (call_conv, in Emit()
H A DGenericParamRef.cs22 private PEAPI.GenParam param;
26 public GenericParamRef (PEAPI.GenParam gen_param, string full_name) in GenericParamRef()
31 … public GenericParamRef (PEAPI.GenParam gen_param, string full_name, ArrayList conv_list) in GenericParamRef()
41 return (param.Type == PEAPI.GenParamType.Var ? "!" : "!!")
72 PEAPI.GenParam val = (PEAPI.GenParam) param_table [key]; in Resolve()
92 if (param.Type == PEAPI.GenParamType.MVar && method_gen_params != null) in Resolve()
99 … (param.Type == PEAPI.GenParamType.MVar ? "method " : ""), in Resolve()
103 … protected override BaseMethodRef CreateMethodRef (BaseTypeRef ret_type, PEAPI.CallConv call_conv, in CreateMethodRef()
H A DMethodInstr.cs18 private PEAPI.MethodOp op;
21 public MethodInstr (PEAPI.MethodOp op, BaseMethodRef operand, Location loc) in MethodInstr()
27 if (op == PEAPI.MethodOp.newobj || op == PEAPI.MethodOp.callvirt) in MethodInstr()
28 operand.CallConv |= PEAPI.CallConv.Instance; in MethodInstr()
32 PEAPI.CILInstructions cil) in Emit()
H A DDeclSecurity.cs35 public void AddPermission (PEAPI.SecurityAction sec_action, IPermission perm) in AddPermission()
46 … public void AddPermissionSet (PEAPI.SecurityAction sec_action, SSPermissionSet perm_set) in AddPermissionSet()
58 … public void AddPermissionSet (PEAPI.SecurityAction sec_action, MIPermissionSet perm_set) in AddPermissionSet()
76 public void AddTo (CodeGen code_gen, PEAPI.MetaDataElement elem) in AddTo()
80 PEAPI.SecurityAction sec_action = (PEAPI.SecurityAction) entry.Key; in AddTo()
92 PEAPI.SecurityAction sec_action = (PEAPI.SecurityAction) entry.Key; in AddTo()
H A DFilterBlock.cs31 public PEAPI.HandlerBlock Resolve (CodeGen code_gen, MethodDef method) in Resolve()
33 PEAPI.CILLabel label = this_block.GetFromLabel (code_gen, method); in Resolve()
34 PEAPI.CILLabel from = handler_block.GetFromLabel (code_gen, method); in Resolve()
35 PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method); in Resolve()
36 PEAPI.Filter filter = new PEAPI.Filter (label, from, to); in Resolve()
H A DPermissionSet.cs35 PEAPI.SecurityAction sec_action;
37 PEAPI.PermissionSet ps;
39 public PermissionSet (PEAPI.SecurityAction sec_action, ArrayList permissions) in PermissionSet()
49 public PEAPI.SecurityAction SecurityAction {
58 public PEAPI.PermissionSet Resolve (CodeGen code_gen) in Resolve()
60 ps = new PEAPI.PermissionSet (sec_action); in Resolve()
H A DGenericParameters.cs19 PEAPI.GenericParamAttributes attr;
28 public GenericParameter (string id, PEAPI.GenericParamAttributes attr, ArrayList constraints) in GenericParameter()
74 public void Resolve (CodeGen code_gen, PEAPI.MethodDef methoddef) in Resolve()
76 PEAPI.GenericParameter gp = methoddef.AddGenericParameter ((short) num, id, attr); in Resolve()
80 public void Resolve (CodeGen code_gen, PEAPI.ClassDef classdef) in Resolve()
82 PEAPI.GenericParameter gp = classdef.AddGenericParameter ((short) num, id, attr); in Resolve()
86 private void Resolve (CodeGen code_gen, PEAPI.GenericParameter gp) in Resolve()
108 private void ResolveConstraints (CodeGen code_gen, PEAPI.GenericParameter gp) in ResolveConstraints()
172 public void Resolve (CodeGen code_gen, PEAPI.ClassDef classdef) in Resolve()
178 public void Resolve (CodeGen code_gen, PEAPI.MethodDef methoddef) in Resolve()
H A DEventDef.cs21 private PEAPI.Event event_def;
46 public PEAPI.Event Resolve (CodeGen code_gen, PEAPI.ClassDef classdef) in Resolve()
69 private PEAPI.MethodDef AsMethodDef (PEAPI.Method method, string type) in AsMethodDef()
71 PEAPI.MethodDef methoddef = method as PEAPI.MethodDef; in AsMethodDef()
77 public void Define (CodeGen code_gen, PEAPI.ClassDef classdef) in Define()
H A DExternTable.cs16 using PEAPI;
22 PEAPI.ClassRef GetType (string full_name, bool is_valuetype); in GetType()
35 public abstract PEAPI.IExternRef GetExternRef (); in GetExternRef()
83 public PEAPI.ClassRef GetType (string full_name, bool is_valuetype) in GetType()
85 PEAPI.ClassRef klass = class_table[full_name] as PEAPI.ClassRef; in GetType()
96 … klass = (PEAPI.ClassRef) GetExternRef ().AddClass (name_space, name); in GetType()
106 public PEAPI.ModuleRef ModuleRef;
134 public override PEAPI.IExternRef GetExternRef () in GetExternRef()
142 public PEAPI.AssemblyRef AssemblyRef;
152 private PEAPI.AssemAttr attr;
[all …]
H A DPrimitiveTypeRef.cs23 public PrimitiveTypeRef (PEAPI.PrimitiveType type, string full_name) in PrimitiveTypeRef()
28 …public PrimitiveTypeRef (PEAPI.PrimitiveType type, string full_name, ArrayList conv_list, string s… in PrimitiveTypeRef()
38 return new PrimitiveTypeRef ((PEAPI.PrimitiveType) type, full_name, in Clone()
67 return new PrimitiveTypeRef (PEAPI.PrimitiveType.String, full_name); in GetPrimitiveType()
69 return new PrimitiveTypeRef (PEAPI.PrimitiveType.Object, full_name); in GetPrimitiveType()
76PEAPI.CallConv call_conv, string name, BaseTypeRef[] param, int gen_param_count) in CreateMethodRef()
81 … public override BaseMethodRef GetMethodRef (BaseTypeRef ret_type, PEAPI.CallConv call_conv, in GetMethodRef()
H A DBaseClassRef.cs32 public PEAPI.Class PeapiClass {
33 get { return type as PEAPI.Class; }
46 … public virtual PEAPI.Type ResolveInstance (CodeGen code_gen, GenericArguments gen_args) in ResolveInstance()
48 PEAPI.GenericTypeInst gtri = null; in ResolveInstance()
54 gtri = p_genericinst_table [sig] as PEAPI.GenericTypeInst; in ResolveInstance()
60 … gtri = new PEAPI.GenericTypeInst (PeapiType, gen_args.Resolve (code_gen)); in ResolveInstance()
H A DBaseMethodRef.cs18 protected PEAPI.CallConv call_conv;
23 protected PEAPI.Method peapi_method;
29 public BaseMethodRef (BaseTypeRef owner, PEAPI.CallConv call_conv, in BaseMethodRef()
39 CallConv |= PEAPI.CallConv.Generic; in BaseMethodRef()
43 public virtual PEAPI.Method PeapiMethod {
47 public virtual PEAPI.CallConv CallConv {
H A DFinallyBlock.cs29 public PEAPI.HandlerBlock Resolve (CodeGen code_gen, MethodDef method) in Resolve()
31 PEAPI.CILLabel from = handler_block.GetFromLabel (code_gen, method); in Resolve()
32 PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method); in Resolve()
33 PEAPI.Finally phinally = new PEAPI.Finally (from, to); in Resolve()
H A DFaultBlock.cs29 public PEAPI.HandlerBlock Resolve (CodeGen code_gen, MethodDef method) in Resolve()
31 PEAPI.CILLabel from = handler_block.GetFromLabel (code_gen, method); in Resolve()
32 PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method); in Resolve()
33 PEAPI.Fault fault = new PEAPI.Fault (from, to); in Resolve()
H A DExternTypeRef.cs79 … protected override BaseMethodRef CreateMethodRef (BaseTypeRef ret_type, PEAPI.CallConv call_conv, in CreateMethodRef()
114 public PEAPI.IExternRef GetExternTypeRef () in GetExternTypeRef()
119 return (PEAPI.ClassRef) type; in GetExternTypeRef()
122 public PEAPI.ClassRef GetType (string _name, bool is_valuetype) in GetType()
124 PEAPI.ClassRef klass = nestedclass_table [_name] as PEAPI.ClassRef; in GetType()
133 … klass = (PEAPI.ClassRef) GetExternTypeRef ().AddValueClass (name_space, name); in GetType()
135 … klass = (PEAPI.ClassRef) GetExternTypeRef ().AddClass (name_space, name); in GetType()

1234