Esempio n. 1
0
 public MethodReference(string name,
                        TypeReference declaringType, TypeReference returnType,
                        bool hasThis, bool explicitThis, MethodCallingConvention callConv) :
     this(name, hasThis, explicitThis, callConv)
 {
     this.DeclaringType         = declaringType;
     this.ReturnType.ReturnType = returnType;
 }
Esempio n. 2
0
 internal MethodReference(string name) : base(name)
 {
     m_returnType = new MethodReturnType(null);
 }
Esempio n. 3
0
 public CallSite(bool hasThis, bool explicitThis, MethodCallingConvention callConv, MethodReturnType retType)
 {
     m_function            = new MethodReference(string.Empty, hasThis, explicitThis, callConv);
     m_function.ReturnType = retType;
 }
Esempio n. 4
0
 public FunctionPointerType(bool hasThis, bool explicitThis, MethodCallingConvention callConv, MethodReturnType retType) :
     base(retType.ReturnType)
 {
     m_function            = new MethodReference("method", hasThis, explicitThis, callConv);
     m_function.ReturnType = retType;
 }