mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-23 00:48:47 +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:
parent
fbfbab03f3
commit
14773e1cc4
@ -1,9 +1,11 @@
|
|||||||
namespace VpSharp;
|
namespace VpSharp;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a join result.
|
/// Represents a join result.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
#pragma warning disable CA1815
|
||||||
public readonly struct JoinResult
|
public readonly struct JoinResult
|
||||||
|
#pragma warning restore CA1815
|
||||||
{
|
{
|
||||||
internal JoinResult(JoinResponse response, Location? location)
|
internal JoinResult(JoinResponse response, Location? location)
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,9 @@ namespace VpSharp;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a point along a <see cref="VirtualParadisePath" />.
|
/// Represents a point along a <see cref="VirtualParadisePath" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
#pragma warning disable CA1815
|
||||||
public readonly struct PathPoint
|
public readonly struct PathPoint
|
||||||
|
#pragma warning restore CA1815
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="PathPoint" /> struct.
|
/// Initializes a new instance of the <see cref="PathPoint" /> struct.
|
||||||
|
Loading…
Reference in New Issue
Block a user