/// <summary>
        /// Setup the member's declaration.
        /// </summary>
        /// <param name="contractMember">The contract member.</param>
        /// <param name="interfaceMember">The interface member.</param>
        private void SetupMemberDeclaration(Member contractMember, Member interfaceMember)
        {
            if (contractMember == null)
            {
                throw new ArgumentNullException("contractMember", "contractMember is null.");
            }

            if (interfaceMember == null)
            {
                throw new ArgumentNullException("interfaceMember", "interfaceMember is null.");
            }

            Contract.EndContractBlock();
            contractMember.MemberType = interfaceMember.MemberType;
            string typeQualifiedName = this.GetTypeQualifiedName(interfaceMember.Name);

            if (this.CodeRushProxy.Language.IsCSharp)
            {
                contractMember.Name = typeQualifiedName;
            }
            else
            {
                contractMember.Name = interfaceMember.Name;
                contractMember.AddImplementsExpression(new ElementReferenceExpression(typeQualifiedName));
            }
        }
    /// <summary>
    /// Setup the member's declaration.
    /// </summary>
    /// <param name="contractMember">The contract member.</param>
    /// <param name="interfaceMember">The interface member.</param>
    private void SetupMemberDeclaration(Member contractMember, Member interfaceMember)
    {
      if (contractMember == null)
      {
        throw new ArgumentNullException("contractMember", "contractMember is null.");
      }

      if (interfaceMember == null)
      {
        throw new ArgumentNullException("interfaceMember", "interfaceMember is null.");
      }

      Contract.EndContractBlock();
      contractMember.MemberType = interfaceMember.MemberType;
      string typeQualifiedName = this.GetTypeQualifiedName(interfaceMember.Name);
      if (this.CodeRushProxy.Language.IsCSharp)
      {
        contractMember.Name = typeQualifiedName;
      }
      else
      {
        contractMember.Name = interfaceMember.Name;
        contractMember.AddImplementsExpression(new ElementReferenceExpression(typeQualifiedName));
      }
    }