Skip to content

Commit

Permalink
suppress warning CA1063
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed May 11, 2023
1 parent 458ef88 commit 946d67f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public sealed class ChunkedMemoryStream : Stream {

public delegate Chunk Allocator(int chunkSize);

#pragma warning disable CA1063 // TODO: Implement IDisposable correctly
public abstract class Chunk : IDisposable {
public abstract void Dispose();

Expand All @@ -19,6 +20,7 @@ public abstract class Chunk : IDisposable {
internal Chunk Next = null;
#pragma warning restore SA1401, CA1051, CA2213
}
#pragma warning restore CA1063

private sealed class DefaultChunk : Chunk {
public static DefaultChunk Allocate(int chunkSize) => new(chunkSize);
Expand Down

0 comments on commit 946d67f

Please sign in to comment.