Fix naming.

This commit is contained in:
2023-10-05 01:52:48 +01:00
parent 9618e2c549
commit 29343d4129
81 changed files with 590 additions and 593 deletions

View File

@@ -55,9 +55,9 @@ public sealed partial class CPM
node = new CpmDirNode
{
Path = path,
_position = 0,
_contents = _dirList.ToArray()
Path = path,
Position = 0,
Contents = _dirList.ToArray()
};
return ErrorNumber.NoError;
@@ -74,13 +74,13 @@ public sealed partial class CPM
if(node is not CpmDirNode mynode)
return ErrorNumber.InvalidArgument;
if(mynode._position < 0)
if(mynode.Position < 0)
return ErrorNumber.InvalidArgument;
if(mynode._position >= mynode._contents.Length)
if(mynode.Position >= mynode.Contents.Length)
return ErrorNumber.NoError;
filename = mynode._contents[mynode._position++];
filename = mynode.Contents[mynode.Position++];
return ErrorNumber.NoError;
}
@@ -91,8 +91,8 @@ public sealed partial class CPM
if(node is not CpmDirNode mynode)
return ErrorNumber.InvalidArgument;
mynode._position = -1;
mynode._contents = null;
mynode.Position = -1;
mynode.Contents = null;
return ErrorNumber.NoError;
}