We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88a1d8a commit 7d0b276Copy full SHA for 7d0b276
2 files changed
ICSharpCode.SharpZipLib.Tests/BZip2/Bzip2Tests.cs
@@ -87,9 +87,9 @@ public void CreateEmptyArchive()
87
Assert.AreEqual(pos, 0);
88
}
89
90
-
91
- BZip2OutputStream outStream_;
92
- BZip2InputStream inStream_;
+
+ readonly BZip2OutputStream outStream_;
+ BZip2InputStream inStream_;
93
WindowedStream window_;
94
long readTarget_;
95
long writeTarget_;
ICSharpCode.SharpZipLib.Tests/TestSupport/Streams.cs
@@ -482,9 +482,11 @@ public long BytesRead
482
get { return ringBuffer_.BytesRead; }
483
484
485
- #region Instance Fields
486
- ReadWriteRingBuffer ringBuffer_;
+ readonly
487
488
- #endregion
489
- }
+ #region Instance Fields
+ ReadWriteRingBuffer ringBuffer_;
490
+ #endregion
491
+ }
492
0 commit comments