コード例 #1
0
ファイル: MethodReference.cs プロジェクト: ttRevan/cecil
        public MethodReference(string name, TypeReference returnType)
            : base(name)
        {
            if (returnType == null)
                throw new ArgumentNullException ("returnType");

            this.return_type = new MethodReturnType (this);
            this.return_type.ReturnType = returnType;
            this.token = new MetadataToken (TokenType.MemberRef);
        }
コード例 #2
0
ファイル: MethodReference.cs プロジェクト: ttRevan/cecil
 internal MethodReference()
 {
     this.return_type = new MethodReturnType (this);
     this.token = new MetadataToken (TokenType.MemberRef);
 }