Skip to content

Commit

Permalink
[rel/3.7] Remove non-working <inheritdoc /> (#4669)
Browse files Browse the repository at this point in the history
Co-authored-by: Amaury Levé <[email protected]>
  • Loading branch information
youssef-backport-bot and Evangelink authored Jan 15, 2025
1 parent 2fe6648 commit f1e7f1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ public readonly struct ArgumentArity(int min, int max) : IEquatable<ArgumentArit
public bool Equals(ArgumentArity other)
=> Min == other.Min && Max == other.Max;

/// <inheritdoc/>
public override bool Equals(object? obj)
=> obj is ArgumentArity argumentArity && Equals(argumentArity);

/// <inheritdoc/>
public override int GetHashCode() =>
#if NET
HashCode.Combine(Min, Max);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public CommandLineOption(string name, string description, ArgumentArity arity, b

internal bool IsBuiltIn { get; }

/// <inheritdoc/>
public override bool Equals(object? obj) => Equals(obj as CommandLineOption);

/// <inheritdoc/>
Expand All @@ -91,7 +90,6 @@ public bool Equals(CommandLineOption? other)
Arity == other.Arity &&
IsHidden == other.IsHidden;

/// <inheritdoc/>
public override int GetHashCode()
{
HashCode hc = default;
Expand Down

0 comments on commit f1e7f1b

Please sign in to comment.