0

Closed

CA1063 : Implement IDisposable correctly in Record.vb

description

CA1063 Implement IDisposable correctly Provide an overridable implementation of Dispose(bool) on 'Record' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. DbfDotNet Record.vb 6

CA1063 Implement IDisposable correctly Rename 'Record.IDisposable_Dispose()' to 'Dispose' and ensure that it is declared as public and sealed. DbfDotNet Record.vb 49

CA1063 Implement IDisposable correctly Modify 'Record.IDisposable_Dispose()' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns. DbfDotNet Record.vb 49

CA1063 Implement IDisposable correctly Modify 'Record.Finalize()' so that it calls Dispose(false) and then returns. DbfDotNet Record.vb 54
Closed Sep 30, 2015 at 10:11 AM by DarrellRoberts_cp <SND\DarrellRoberts_cp>
Correctly implemented the IDisposable pattern for .NET

comments

wrote Sep 30, 2015 at 8:34 AM

Description: CA1063 : Microsoft.Design : Provide an overridable implementation of Dispose(bool) on 'Record' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources.
File: Record.vb
Line: 6
Project: DbfDotNet

wrote Sep 30, 2015 at 10:11 AM