Ignore:
Timestamp:
2/8/2010 7:41:24 AM (2 years ago)
Author:
lowjoel
Message:

Marked disposable classes' Dispose(bool) member protected virtual; or private and sealed the class if the class is not meant to be inherited. Addresses #275: Code Review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser.Util/VolumeInfo.cs

    r1745 r1770  
    716716    } 
    717717 
    718     public class VolumeLock : IDisposable 
     718    public sealed class VolumeLock : IDisposable 
    719719    { 
    720720        internal VolumeLock(FileStream stream) 
     
    745745 
    746746        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "disposing")] 
    747         void Dispose(bool disposing) 
     747        private void Dispose(bool disposing) 
    748748        { 
    749749            //Flush the contents of the buffer to disk since after we unlock the volume 
Note: See TracChangeset for help on using the changeset viewer.