1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-06 23:46:12 +00:00

Disable AOT warnings in testing code

This commit is contained in:
JKorf 2025-05-13 20:03:34 +02:00
parent e4637ad295
commit a04b636a11
2 changed files with 9 additions and 2 deletions

View File

@ -10,8 +10,10 @@ using System.Text.Json.Serialization;
using CryptoExchange.Net.Converters;
using CryptoExchange.Net.Converters.SystemTextJson;
#pragma warning disable IL2026 // Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code
#pragma warning disable IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.
#pragma warning disable IL2026
#pragma warning disable IL2070
#pragma warning disable IL2075
#pragma warning disable IL3050
namespace CryptoExchange.Net.Testing.Comparers
{

View File

@ -15,6 +15,11 @@ using CryptoExchange.Net.Objects;
using CryptoExchange.Net.Objects.Sockets;
using CryptoExchange.Net.Testing.Implementations;
#pragma warning disable IL2026
#pragma warning disable IL2070
#pragma warning disable IL2075
#pragma warning disable IL3050
namespace CryptoExchange.Net.Testing
{
/// <summary>