Disable warnings, don't ignore them

This commit is contained in:
Matt Nadareski
2024-10-24 00:20:46 -04:00
parent 0d0e960b98
commit f154ae47c0
8 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
using System.Runtime.InteropServices;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Test.Extensions
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]

View File

@@ -11,6 +11,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Extensions
{
/// <summary>

View File

@@ -7,6 +7,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Extensions
{
/// <summary>

View File

@@ -7,6 +7,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Extensions
{
/// <summary>

View File

@@ -6,6 +6,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Extensions
{
/// <summary>

View File

@@ -8,6 +8,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Extensions
{
/// <summary>

View File

@@ -7,6 +7,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable CS0618 // Obsolete unmanaged types
namespace SabreTools.IO.Extensions
{
/// <summary>

View File

@@ -8,7 +8,6 @@
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Version>1.4.12</Version>
<WarningsNotAsErrors>CS0618</WarningsNotAsErrors>
<!-- Package Properties -->
<Authors>Matt Nadareski</Authors>