public MethodReference(string name, TypeReference returnType) : base(name) { if (returnType == null) { throw new ArgumentNullException("returnType"); } this.return_type = new Mono.Cecil.MethodReturnType(this); this.return_type.ReturnType = returnType; base.token = new MetadataToken(TokenType.MemberRef); }
internal MethodReference() { this.return_type = new Mono.Cecil.MethodReturnType(this); base.token = new MetadataToken(TokenType.MemberRef); }