Skip to content

Commit

Permalink
inspections
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloszKrajewski committed Oct 3, 2023
1 parent 66a5d2e commit 1e6916c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/K4os.Compression.LZ4.Streams/Internal/BlockInfo.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Diagnostics.CodeAnalysis;
using K4os.Compression.LZ4.Encoders;

namespace K4os.Compression.LZ4.Streams.Internal;

[SuppressMessage("ReSharper", "ConvertToAutoProperty")]
internal readonly struct BlockInfo
{
private readonly byte[] _buffer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ protected LZ4StreamEssentials(T innerResource, bool doNotDispose)
}

/// <summary>Wrapped resource.</summary>
// ReSharper disable once ConvertToAutoPropertyWhenPossible
protected T InnerResource => _innerResource;

private protected NotImplementedException NotImplemented(string operation) =>
Expand Down
2 changes: 2 additions & 0 deletions src/K4os.Compression.LZ4.Streams/Internal/Stash.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using K4os.Compression.LZ4.Internal;
using K4os.Hash.xxHash;

namespace K4os.Compression.LZ4.Streams.Internal;

[SuppressMessage("ReSharper", "ConvertToAutoPropertyWithPrivateSetter")]
internal struct Stash
{
private byte[] _buffer;
Expand Down

0 comments on commit 1e6916c

Please sign in to comment.