1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

disable some warnings

This commit is contained in:
RaidMax
2022-01-28 09:37:04 -06:00
parent 1c89b00907
commit dc69e5d602
2 changed files with 2 additions and 4 deletions

View File

@ -2,6 +2,7 @@
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
// ReSharper disable CompareOfFloatsByEqualityOperator
#pragma warning disable CS0659
namespace Data.Models
{
@ -29,9 +30,7 @@ namespace Data.Models
return $"({X}, {Y}, {Z})";
}
#pragma warning disable CS0659
public override bool Equals(object obj)
#pragma warning restore CS0659
{
if (obj is Vector3 vec)
{