1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 19:58:48 +00:00

Suppress CA1815, nonsense here

We don't need to override equality operators here. These types are struct to reduce needless allocations
This commit is contained in:
Oliver Booth 2022-11-30 19:03:07 +00:00
parent fbfbab03f3
commit 14773e1cc4
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
2 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,11 @@
namespace VpSharp;
namespace VpSharp;
/// <summary>
/// Represents a join result.
/// </summary>
#pragma warning disable CA1815
public readonly struct JoinResult
#pragma warning restore CA1815
{
internal JoinResult(JoinResponse response, Location? location)
{

View File

@ -6,7 +6,9 @@ namespace VpSharp;
/// <summary>
/// Represents a point along a <see cref="VirtualParadisePath" />.
/// </summary>
#pragma warning disable CA1815
public readonly struct PathPoint
#pragma warning restore CA1815
{
/// <summary>
/// Initializes a new instance of the <see cref="PathPoint" /> struct.