parent
0cdfec89b3
commit
f89949520e
|
@ -41,7 +41,6 @@ namespace ISOParser
|
||||||
// Read the directory entries
|
// Read the directory entries
|
||||||
while (s.Position < ((this.Offset * ISOFile.SECTOR_SIZE) + this.Length))
|
while (s.Position < ((this.Offset * ISOFile.SECTOR_SIZE) + this.Length))
|
||||||
{
|
{
|
||||||
ISONode node;
|
|
||||||
ISONodeRecord record;
|
ISONodeRecord record;
|
||||||
|
|
||||||
// Read the record
|
// Read the record
|
||||||
|
@ -61,12 +60,7 @@ namespace ISOParser
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Check if we already have this node
|
// Check if we already have this node
|
||||||
if (visited.ContainsKey(record.OffsetOfData))
|
if (!visited.TryGetValue(record.OffsetOfData, out var node))
|
||||||
{
|
|
||||||
// Get the node
|
|
||||||
node = visited[record.OffsetOfData];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
// Create the node from the record
|
// Create the node from the record
|
||||||
if (record.IsFile())
|
if (record.IsFile())
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="../LibCommon.props" />
|
<Import Project="../LibCommon.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NoWarn>$(NoWarn);MA0060;SA1413;SA1514</NoWarn> <!-- MA0060 is for implicitly discarded Stream.Read return value and should really be fixed; SA1413 and SA1514 are harmless lint rules -->
|
<NoWarn>$(NoWarn);MA0060;RCS1226;SA1413;SA1514</NoWarn> <!-- MA0060 is for implicitly discarded Stream.Read return value and should really be fixed; RCS1226 is for malformed doc comment and should really be fixed; SA1413 and SA1514 are harmless lint rules -->
|
||||||
<Nullable>disable</Nullable>
|
<Nullable>disable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue