diff --git a/src/BeeNet.Client/BeeClient.cs b/src/BeeNet.Client/BeeClient.cs index 4f4211a..add922a 100644 --- a/src/BeeNet.Client/BeeClient.cs +++ b/src/BeeNet.Client/BeeClient.cs @@ -52,7 +52,9 @@ public class BeeClient : IBeeClient, IDisposable public const int ChunkStreamWSReceiveBufferSize = SwarmFeedChunk.MaxChunkSize; public const int ChunkStreamWSSendBufferSize = SwarmFeedChunk.MaxChunkSize; public const int DefaultPort = 1633; +#pragma warning disable CA1051 public readonly TimeSpan DefaultTimeout = TimeSpan.FromMinutes(10); +#pragma warning restore CA1051 // Fields. private readonly BeeGeneratedClient generatedClient; diff --git a/src/BeeNet.Client/BeeNet.Client.csproj b/src/BeeNet.Client/BeeNet.Client.csproj index f0a1e0f..6722819 100644 --- a/src/BeeNet.Client/BeeNet.Client.csproj +++ b/src/BeeNet.Client/BeeNet.Client.csproj @@ -24,12 +24,10 @@ README.md true true - - net8.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BeeNet.Core/BeeNet.Core.csproj b/src/BeeNet.Core/BeeNet.Core.csproj index 1ab7837..56310f4 100644 --- a/src/BeeNet.Core/BeeNet.Core.csproj +++ b/src/BeeNet.Core/BeeNet.Core.csproj @@ -24,12 +24,10 @@ README.md true true - - net8.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BeeNet.Core/Models/SwarmChunk.cs b/src/BeeNet.Core/Models/SwarmChunk.cs index b3ff467..9f8889f 100644 --- a/src/BeeNet.Core/Models/SwarmChunk.cs +++ b/src/BeeNet.Core/Models/SwarmChunk.cs @@ -20,8 +20,10 @@ namespace Etherna.BeeNet.Models public class SwarmChunk { // Fields. +#pragma warning disable CA1051 protected readonly byte[] _data; protected readonly byte[] _span; +#pragma warning restore CA1051 // Consts. public const int DataSize = 4096; diff --git a/src/BeeNet.Util/BeeNet.Util.csproj b/src/BeeNet.Util/BeeNet.Util.csproj index ce6b174..6d71ec0 100644 --- a/src/BeeNet.Util/BeeNet.Util.csproj +++ b/src/BeeNet.Util/BeeNet.Util.csproj @@ -24,13 +24,11 @@ README.md true true - - net8.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive