@@ -730,7 +730,7 @@ public class DimFunc (Func<int> dim) : Dim
/// <summary>
/// Gets the function that computes the dimension.
/// </summary>
- public Func<int> Func { get; } = dim;
+ public new Func<int> Func { get; } = dim;
/// <inheritdoc/>
public override int GetHashCode () { return Func.GetHashCode (); }
@@ -632,7 +632,7 @@ public class PosFunc (Func<int> pos) : Pos
/// Gets the function that computes the position.
- public Func<int> Func { get; } = pos;
+ public new Func<int> Func { get; } = pos;
public override bool Equals (object other) { return other is PosFunc f && f.Func () == Func (); }