diff --git a/tst/memfs-dotnet/Program.cs b/tst/memfs-dotnet/Program.cs index 036906a2..24aa67b7 100644 --- a/tst/memfs-dotnet/Program.cs +++ b/tst/memfs-dotnet/Program.cs @@ -410,7 +410,7 @@ namespace memfs FileNode StreamNode = FileNodeMap.Get(StreamFileName); if (null == StreamNode) continue; /* should not happen */ - if (0 == FileNode.OpenCount) + if (0 == StreamNode.OpenCount) FileNodeMap.Remove(StreamNode); }