adamhathcock / sharpcompress

SharpCompress is a fully managed C# library to deal with many compression types and formats.
MIT License
2.25k stars 479 forks source link

Typo in ArchiveReader.cs will cause build to fail in all configurations except Debug #78

Closed haykpetros closed 9 years ago

haykpetros commented 9 years ago

If you look at Line 246 in "SharpCompress\Common\SevenZip\ArchiveReader.cs" you will notice extra line that is causing build to fail in any build configuration other than Debug:

#if DEBUG
                            Log.WriteLine("Complex Stream (In: " + coder.NumInStreams + " - Out: " + coder.NumOutStreams +
#endif
 ")");
                        }

So it is necessary to remove Line 246 completely in order to fix this issue.

adamhathcock commented 9 years ago

Thanks for this, could you make this a Pull Request by chance?