Skip to content

Commit

Permalink
chore: fix doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Jun 27, 2023
1 parent 0c62f6b commit 4a653de
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Libplanet.Net/Messages/ConsensusPreCommitMsg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@ public ConsensusPreCommitMsg(byte[][] dataframes)
/// <inheritdoc cref="MessageContent.MessageType"/>
public override MessageType Type => MessageType.ConsensusCommit;

/// <inheritdoc cref="ConsensusMsg.Equals(ConsensusMsg?)"/>
/// <inheritdoc/>
public override bool Equals(ConsensusMsg? other)
{
return other is ConsensusPreCommitMsg message &&
PreCommit.Equals(message.PreCommit);
}

/// <inheritdoc cref="ConsensusMsg.Equals(object?)"/>
/// <inheritdoc/>
public override bool Equals(object? obj)
{
return obj is ConsensusMsg other && Equals(other);
}

/// <inheritdoc cref="ConsensusMsg.GetHashCode"/>
/// <inheritdoc/>
public override int GetHashCode()
{
return HashCode.Combine(Type, PreCommit);
Expand Down
6 changes: 3 additions & 3 deletions Libplanet.Net/Messages/ConsensusPreVoteMsg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@ public ConsensusPreVoteMsg(byte[][] dataframes)
/// <inheritdoc cref="MessageContent.MessageType"/>
public override MessageType Type => MessageType.ConsensusVote;

/// <inheritdoc cref="ConsensusMsg.Equals(ConsensusMsg?)"/>
/// <inheritdoc/>
public override bool Equals(ConsensusMsg? other)
{
return other is ConsensusPreVoteMsg message &&
PreVote.Equals(message.PreVote);
}

/// <inheritdoc cref="ConsensusMsg.Equals(object?)"/>
/// <inheritdoc/>
public override bool Equals(object? obj)
{
return obj is ConsensusMsg other && Equals(other);
}

/// <inheritdoc cref="ConsensusMsg.GetHashCode"/>
/// <inheritdoc/>
public override int GetHashCode()
{
return HashCode.Combine(Type, PreVote);
Expand Down
6 changes: 3 additions & 3 deletions Libplanet.Net/Messages/ConsensusProposalMsg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ public ConsensusProposalMsg(byte[][] dataframes)
/// <inheritdoc cref="MessageContent.MessageType"/>
public override MessageType Type => MessageType.ConsensusProposal;

/// <inheritdoc cref="Equals(ConsensusMsg?)"/>
/// <inheritdoc/>
public override bool Equals(ConsensusMsg? other)
{
return other is ConsensusProposalMsg message &&
message.Proposal.Equals(Proposal);
}

/// <inheritdoc cref="Equals(object?)"/>
/// <inheritdoc/>
public override bool Equals(object? obj)
{
return obj is ConsensusMsg other && Equals(other);
}

/// <inheritdoc cref="ConsensusMsg.GetHashCode"/>
/// <inheritdoc/>
public override int GetHashCode()
{
return HashCode.Combine(Type, Proposal);
Expand Down

0 comments on commit 4a653de

Please sign in to comment.