Properly annotate method to allow null

This commit is contained in:
Dan Balasescu
2022-06-20 16:52:01 +09:00
parent ca287d0936
commit 16281f4a48
6 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ namespace osu.Game.Beatmaps.ControlPoints
/// </summary>
/// <param name="existing">An existing control point to compare with.</param>
/// <returns>Whether this <see cref="ControlPoint"/> is redundant when placed alongside <paramref name="existing"/>.</returns>
public abstract bool IsRedundant(ControlPoint existing);
public abstract bool IsRedundant(ControlPoint? existing);
/// <summary>
/// Create an unbound copy of this control point.