Skip to content

Commit 42861e2

Browse files
committed
Removed no longer necessary analyzer suppression pragmas.
1 parent b290d5b commit 42861e2

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

Redzen.Tests/IO/MemoryStreamFuzzer.cs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,22 @@
44

55
namespace Redzen.IO;
66

7-
#pragma warning disable CA1861 // Avoid constant arrays as arguments
8-
97
public class MemoryStreamFuzzer
108
{
119
readonly MemoryStream _strmA;
1210
readonly MemoryBlockStream _strmB;
1311
readonly IRandomSource _rng;
1412
readonly DiscreteDistribution<double> _opDistribution = new(
15-
[
16-
0.688, // Write
17-
0.05, // Write byte
18-
0.05, // Change read/write head position.
19-
0.05, // SetLength
20-
0.05, // Seek
21-
0.002, // Trim
22-
0.01, // Read byte
23-
0.1, // Read
24-
]);
13+
[
14+
0.688, // Write
15+
0.05, // Write byte
16+
0.05, // Change read/write head position.
17+
0.05, // SetLength
18+
0.05, // Seek
19+
0.002, // Trim
20+
0.01, // Read byte
21+
0.1, // Read
22+
]);
2523

2624
#region Constructors
2725

Redzen.Tests/Numerics/Distributions/DiscreteDistributionTestsDouble.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
namespace Redzen.Numerics.Distributions;
55

6-
#pragma warning disable CA1861 // Avoid constant arrays as arguments
7-
86
public class DiscreteDistributionTestsDouble
97
{
108
[Fact]

Redzen.Tests/Numerics/Distributions/DiscreteDistributionTestsSingle.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
namespace Redzen.Numerics.Distributions;
55

6-
#pragma warning disable CA1861 // Avoid constant arrays as arguments
7-
86
public class DiscreteDistributionTestsSingle
97
{
108
[Fact]

Redzen/Structures/KeyedCircularBuffer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Redzen.Structures;
66

7-
#pragma warning disable SA1414 // Tuple types in signatures should have element names
8-
97
/// <summary>
108
/// A generic circular buffer of key-value pairs. The values are retrievable by their
119
/// key. Old key-value pairs are overwritten when the circular buffer runs out of

0 commit comments

Comments
 (0)