@@ -220,7 +220,7 @@ public virtual TLink Each(Func<IList<TLink>, TLink> handler, IList<TLink> restri
220220 {
221221 if ( AreEqual ( index , any ) )
222222 {
223- return Each ( handler , GetEmptyList ( ) ) ;
223+ return Each ( handler , Array . Empty < TLink > ( ) ) ;
224224 }
225225 if ( ! Exists ( index ) )
226226 {
@@ -235,7 +235,7 @@ public virtual TLink Each(Func<IList<TLink>, TLink> handler, IList<TLink> restri
235235 {
236236 if ( AreEqual ( value , any ) )
237237 {
238- return Each ( handler , GetEmptyList ( ) ) ;
238+ return Each ( handler , Array . Empty < TLink > ( ) ) ;
239239 }
240240 if ( AreEqual ( Each ( handler , new Link < TLink > ( index , value , any ) ) , @break ) )
241241 {
@@ -270,7 +270,7 @@ public virtual TLink Each(Func<IList<TLink>, TLink> handler, IList<TLink> restri
270270 {
271271 if ( AreEqual ( source , any ) && AreEqual ( target , any ) )
272272 {
273- return Each ( handler , GetEmptyList ( ) ) ;
273+ return Each ( handler , Array . Empty < TLink > ( ) ) ;
274274 }
275275 else if ( AreEqual ( source , any ) )
276276 {
@@ -507,9 +507,6 @@ protected virtual bool IsUnusedLink(TLink linkIndex)
507507 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
508508 protected virtual TLink Decrement ( TLink link ) => Arithmetic < TLink > . Decrement ( link ) ;
509509
510- [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
511- protected virtual IList < TLink > GetEmptyList ( ) => Array . Empty < TLink > ( ) ;
512-
513510 #region Disposable
514511
515512 protected override bool AllowMultipleDisposeCalls
0 commit comments