RecyclableMemoryStream.Finalize method
March 19, 2020 · View on GitHub
The finalizer will be called when a stream is not disposed properly.
protected override void Finalize()
Remarks
Failing to dispose indicates a bug in the code using streams. Care should be taken to properly account for stream lifetime.
See Also
- class RecyclableMemoryStream
- namespace Microsoft.IO