ReSharper doesn't recognize an exception with inheritdoc

Why am I getting a warning that the exception is not documented in an inheritdoc since it's documented in its parent?

public interface IBotClient : IDisposable
{
/// <summary>
/// Pings to see if the server is reachable.
/// </summary>
/// <param name="ct">CancellationToken.</param>
/// <returns>The roundtrip time of the ping request.</returns>
/// <exception cref="T:System.ObjectDisposedException">Throw if disposed.</exception>
/// <exception cref="T:ElonMuskBot.Core.Exceptions.RequestFailedException">Throw if request failed.</exception>
Task<long> PingAsync(CancellationToken ct = default);
}

/// <summary>
/// Abstract base class for implementations of the <see cref="IBotClient" />.
/// </summary>
public abstract class BotClientBase : IBotClient
{
private bool _disposed;
private readonly ILogger<BotClientBase> _logger;
private readonly IBinanceClient _client;
private readonly IBinanceSocketClient _socketClient;

protected BotClientBase(ILogger<BotClientBase> logger, IBinanceClient client, IBinanceSocketClient socketClient)
{
_logger = logger;
_client = client;
_socketClient = socketClient;
}

/// <inheritdoc />
public async Task<long> PingAsync(CancellationToken ct = default)
{
ThrowIfDisposed();

var result = await _client.PingAsync(ct).ConfigureAwait(false);

if (result.Success) return result.Data;

_logger.LogError(
$"Error while sending a ping to the server | Error code: {result.Error?.Code} | Error message: {result.Error?.Message}");
throw new RequestFailedException(
$"Error while sending a ping to the server | Error code: {result.Error?.Code} | Error message: {result.Error?.Message}");
}
}
3 comments
Comment actions Permalink

Hello Warollen! 

This inspection comes from the Exceptional plugin https://plugins.jetbrains.com/plugin/11674-exceptional-for-resharper, not from ReSharper itself. So, it'd better contact the plugin's authors about this matter. 

Thanks! 

0
Comment actions Permalink

Hello, how do I contact them?

 

0
Comment actions Permalink

The easiest way is to file a new issue in the plugin's repository on Github.

0

Please sign in to leave a comment.