Skip to content

Commit 440b223

Browse files
ngbrownhazzik
authored andcommitted
NH-3807 - Replace use of System.Collections.Stack with System.Collections.Generic.Stack<>.
System.Collections.Stack has been removed from CoreClr.
1 parent acff8e1 commit 440b223

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/NHibernate/Engine/Cascade.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System.Collections;
2-
2+
using System.Collections.Generic;
33
using NHibernate.Collection;
44
using NHibernate.Event;
55
using NHibernate.Persister.Collection;
@@ -76,7 +76,7 @@ public sealed class Cascade
7676
private readonly IEventSource eventSource;
7777
private readonly CascadingAction action;
7878

79-
private readonly Stack componentPathStack = new Stack();
79+
private readonly Stack<string> componentPathStack = new Stack<string>();
8080

8181
public Cascade(CascadingAction action, CascadePoint point, IEventSource eventSource)
8282
{
@@ -340,4 +340,4 @@ private void DeleteOrphans(string entityName, IPersistentCollection pc)
340340
}
341341
}
342342
}
343-
}
343+
}

0 commit comments

Comments
 (0)