Skip to content

Commit 4647ab1

Browse files
committed
Remove S3928 pragma
S3928 was from once when I locally had SonarQube installed
1 parent 96a096d commit 4647ab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/FluentAssertions.Json/Difference.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public override string ToString()
3939
DifferenceKind.ExpectedMissesProperty => $"has extra property {Path}",
4040
DifferenceKind.ActualMissesElement => $"misses expected element {Path}",
4141
DifferenceKind.WrongOrder => $"has expected element {Path} in the wrong order",
42-
#pragma warning disable S3928, MA0015 // Parameter names used into ArgumentException constructors should match an existing one
42+
#pragma warning disable MA0015 // Specify the parameter name in ArgumentException
4343
_ => throw new ArgumentOutOfRangeException(),
44-
#pragma warning restore S3928, MA0015 // Parameter names used into ArgumentException constructors should match an existing one
44+
#pragma warning restore MA0015 // Specify the parameter name in ArgumentException
4545
};
4646
}
4747
}

0 commit comments

Comments
 (0)