Skip to content

Commit

Permalink
Suppress CA1815
Browse files Browse the repository at this point in the history
  • Loading branch information
jjonescz committed May 23, 2022
1 parent a97b2bb commit e71118e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/KnowledgePicker.WordCloud/Primitives/PointD.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using System.Diagnostics.CodeAnalysis;

namespace KnowledgePicker.WordCloud.Primitives
{
[SuppressMessage("Performance",
"CA1815: Override equals and operator equals on value types")]
public readonly struct PointD
{
public PointD(double x, double y)
Expand Down
4 changes: 4 additions & 0 deletions src/KnowledgePicker.WordCloud/Primitives/RectangleD.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using System.Diagnostics.CodeAnalysis;

namespace KnowledgePicker.WordCloud.Primitives
{
[SuppressMessage("Performance",
"CA1815: Override equals and operator equals on value types")]
public readonly struct RectangleD
{
public static readonly RectangleD Empty;
Expand Down
4 changes: 4 additions & 0 deletions src/KnowledgePicker.WordCloud/Primitives/SizeD.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using System.Diagnostics.CodeAnalysis;

namespace KnowledgePicker.WordCloud.Primitives
{
[SuppressMessage("Performance",
"CA1815: Override equals and operator equals on value types")]
public readonly struct SizeD
{
public SizeD(double width, double height)
Expand Down

0 comments on commit e71118e

Please sign in to comment.