Skip to content

Commit 20d87aa

Browse files
committed
Cleanup and PR icsharpcode#517
1 parent fd1a17c commit 20d87aa

16 files changed

+284
-461
lines changed

src/ICSharpCode.SharpZipLib/Checksum/Adler32.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ namespace ICSharpCode.SharpZipLib.Checksum
4646
/// checked separately. (Any sequence of zeroes has a Fletcher
4747
/// checksum of zero.)"
4848
/// </summary>
49-
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream"/>
50-
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream"/>
49+
/// <see cref="Zip.Compression.Streams.InflaterInputStream"/>
50+
/// <see cref="Zip.Compression.Streams.DeflaterOutputStream"/>
5151
public sealed class Adler32 : IChecksum
5252
{
5353
#region Instance Fields

src/ICSharpCode.SharpZipLib/Core/NameFilter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public NameFilter(string filter)
4141
/// Test a string to see if it is a valid regular expression.
4242
/// </summary>
4343
/// <param name="expression">The expression to test.</param>
44-
/// <returns>True if expression is a valid <see cref="System.Text.RegularExpressions.Regex"/> false otherwise.</returns>
44+
/// <returns>True if expression is a valid <see cref="Regex"/> false otherwise.</returns>
4545
public static bool IsValidExpression(string expression)
4646
{
4747
bool result = true;

src/ICSharpCode.SharpZipLib/Core/PathFilter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public ExtendedPathFilter(string filter,
118118
/// </summary>
119119
/// <param name="name">The filename to test.</param>
120120
/// <returns>True if the filter matches, false otherwise.</returns>
121-
/// <exception cref="System.IO.FileNotFoundException">The <see paramref="fileName"/> doesnt exist</exception>
121+
/// <exception cref="FileNotFoundException">The <see paramref="fileName"/> doesnt exist</exception>
122122
public override bool IsMatch(string name)
123123
{
124124
bool result = base.IsMatch(name);

src/ICSharpCode.SharpZipLib/Core/PathUtils.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static class PathUtils
1212
/// </summary>
1313
/// <param name="path">A <see cref="string"/> containing path information.</param>
1414
/// <returns>The path with the root removed if it was present; path otherwise.</returns>
15-
/// <remarks>Unlike the <see cref="System.IO.Path"/> class the path isn't otherwise checked for validity.</remarks>
15+
/// <remarks>Unlike the <see cref="Path"/> class the path isn't otherwise checked for validity.</remarks>
1616
public static string DropPathRoot(string path)
1717
{
1818
string result = path;

src/ICSharpCode.SharpZipLib/Lzw/LzwInputStream.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public LzwInputStream(Stream baseInputStream)
6262
}
6363

6464
/// <summary>
65-
/// See <see cref="System.IO.Stream.ReadByte"/>
65+
/// See <see cref="Stream.ReadByte"/>
6666
/// </summary>
6767
/// <returns></returns>
6868
public override int ReadByte()

src/ICSharpCode.SharpZipLib/Zip/Compression/Deflater.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public Deflater() : this(DEFAULT_COMPRESSION, false)
157157
/// the compression level, a value between NO_COMPRESSION
158158
/// and BEST_COMPRESSION, or DEFAULT_COMPRESSION.
159159
/// </param>
160-
/// <exception cref="System.ArgumentOutOfRangeException">if lvl is out of range.</exception>
160+
/// <exception cref="ArgumentOutOfRangeException">if lvl is out of range.</exception>
161161
public Deflater(int level) : this(level, false)
162162
{
163163
}
@@ -174,7 +174,7 @@ public Deflater(int level) : this(level, false)
174174
/// beginning and the adler checksum at the end of the output. This is
175175
/// useful for the GZIP/PKZIP formats.
176176
/// </param>
177-
/// <exception cref="System.ArgumentOutOfRangeException">if lvl is out of range.</exception>
177+
/// <exception cref="ArgumentOutOfRangeException">if lvl is out of range.</exception>
178178
public Deflater(int level, bool noZlibHeaderOrFooter)
179179
{
180180
if (level == DEFAULT_COMPRESSION)
@@ -302,7 +302,7 @@ public bool IsNeedingInput
302302
/// <param name="input">
303303
/// the buffer containing the input data.
304304
/// </param>
305-
/// <exception cref="System.InvalidOperationException">
305+
/// <exception cref="InvalidOperationException">
306306
/// if the buffer was finished() or ended().
307307
/// </exception>
308308
public void SetInput(byte[] input)
@@ -325,7 +325,7 @@ public void SetInput(byte[] input)
325325
/// <param name="count">
326326
/// the number of data bytes of input.
327327
/// </param>
328-
/// <exception cref="System.InvalidOperationException">
328+
/// <exception cref="InvalidOperationException">
329329
/// if the buffer was Finish()ed or if previous input is still pending.
330330
/// </exception>
331331
public void SetInput(byte[] input, int offset, int count)
@@ -418,10 +418,10 @@ public int Deflate(byte[] output)
418418
/// The number of compressed bytes added to the output, or 0 if either
419419
/// needsInput() or finished() returns true or length is zero.
420420
/// </returns>
421-
/// <exception cref="System.InvalidOperationException">
421+
/// <exception cref="InvalidOperationException">
422422
/// If Finish() was previously called.
423423
/// </exception>
424-
/// <exception cref="System.ArgumentOutOfRangeException">
424+
/// <exception cref="ArgumentOutOfRangeException">
425425
/// If offset or length don't match the array length.
426426
/// </exception>
427427
public int Deflate(byte[] output, int offset, int length)
@@ -528,7 +528,7 @@ public int Deflate(byte[] output, int offset, int length)
528528
/// <param name="dictionary">
529529
/// the dictionary.
530530
/// </param>
531-
/// <exception cref="System.InvalidOperationException">
531+
/// <exception cref="InvalidOperationException">
532532
/// if SetInput () or Deflate () were already called or another dictionary was already set.
533533
/// </exception>
534534
public void SetDictionary(byte[] dictionary)
@@ -553,7 +553,7 @@ public void SetDictionary(byte[] dictionary)
553553
/// <param name="count">
554554
/// The number of bytes in the dictionary.
555555
/// </param>
556-
/// <exception cref="System.InvalidOperationException">
556+
/// <exception cref="InvalidOperationException">
557557
/// If SetInput () or Deflate() were already called or another dictionary was already set.
558558
/// </exception>
559559
public void SetDictionary(byte[] dictionary, int index, int count)

src/ICSharpCode.SharpZipLib/Zip/Compression/Inflater.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ public void SetDictionary(byte[] buffer)
580580
/// <param name="count">
581581
/// The number of bytes in the dictionary.
582582
/// </param>
583-
/// <exception cref="System.InvalidOperationException">
583+
/// <exception cref="InvalidOperationException">
584584
/// No dictionary is needed.
585585
/// </exception>
586586
/// <exception cref="SharpZipBaseException">
@@ -644,10 +644,10 @@ public void SetInput(byte[] buffer)
644644
/// <param name="count">
645645
/// The number of bytes of input to use.
646646
/// </param>
647-
/// <exception cref="System.InvalidOperationException">
647+
/// <exception cref="InvalidOperationException">
648648
/// No input is needed.
649649
/// </exception>
650-
/// <exception cref="System.ArgumentOutOfRangeException">
650+
/// <exception cref="ArgumentOutOfRangeException">
651651
/// The index and/or count are wrong.
652652
/// </exception>
653653
public void SetInput(byte[] buffer, int index, int count)
@@ -669,10 +669,10 @@ public void SetInput(byte[] buffer, int index, int count)
669669
/// The number of bytes written to the buffer, 0 if no further
670670
/// output can be produced.
671671
/// </returns>
672-
/// <exception cref="System.ArgumentOutOfRangeException">
672+
/// <exception cref="ArgumentOutOfRangeException">
673673
/// if buffer has length 0.
674674
/// </exception>
675-
/// <exception cref="System.FormatException">
675+
/// <exception cref="FormatException">
676676
/// if deflated stream is invalid.
677677
/// </exception>
678678
public int Inflate(byte[] buffer)
@@ -703,13 +703,13 @@ public int Inflate(byte[] buffer)
703703
/// <returns>
704704
/// the number of bytes written to the buffer, 0 if no further output can be produced.
705705
/// </returns>
706-
/// <exception cref="System.ArgumentOutOfRangeException">
706+
/// <exception cref="ArgumentOutOfRangeException">
707707
/// if count is less than 0.
708708
/// </exception>
709-
/// <exception cref="System.ArgumentOutOfRangeException">
709+
/// <exception cref="ArgumentOutOfRangeException">
710710
/// if the index and / or count are wrong.
711711
/// </exception>
712-
/// <exception cref="System.FormatException">
712+
/// <exception cref="FormatException">
713713
/// if deflated stream is invalid.
714714
/// </exception>
715715
public int Inflate(byte[] buffer, int offset, int count)

src/ICSharpCode.SharpZipLib/Zip/Compression/Streams/InflaterInputStream.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public ICryptoTransform CryptoTransform
323323
/// format. The "deflate" format is described in RFC 1951.
324324
///
325325
/// This stream may form the basis for other decompression filters, such
326-
/// as the <see cref="ICSharpCode.SharpZipLib.GZip.GZipInputStream">GZipInputStream</see>.
326+
/// as the <see cref="GZip.GZipInputStream">GZipInputStream</see>.
327327
///
328328
/// Author of the original java version : John Leuner.
329329
/// </summary>

src/ICSharpCode.SharpZipLib/Zip/FastZip.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public bool RestoreAttributesOnExtract
315315
/// Get/set the Compression Level that will be used
316316
/// when creating the zip
317317
/// </summary>
318-
public Deflater.CompressionLevel CompressionLevel
318+
public CompressionLevel CompressionLevel
319319
{
320320
get { return compressionLevel_; }
321321
set { compressionLevel_ = value; }

0 commit comments

Comments
 (0)