1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-09 08:56:13 +00:00

Fixed some warnings

This commit is contained in:
Jkorf 2020-11-19 11:53:55 +01:00
parent 784abeb905
commit 5451d3123f
5 changed files with 8 additions and 2 deletions

View File

@ -1573,6 +1573,7 @@
<summary>
ctor
</summary>
<param name="message">Error message</param>
<param name="data">Error data</param>
</member>
<member name="T:CryptoExchange.Net.Objects.ArgumentError">

View File

@ -65,7 +65,9 @@ namespace CryptoExchange.Net.Objects
/// <param name="error"></param>
public CallResult([AllowNull]T data, Error? error): base(error)
{
#pragma warning disable 8601
Data = data;
#pragma warning disable 8601
}
/// <summary>

View File

@ -130,6 +130,7 @@
/// <summary>
/// ctor
/// </summary>
/// <param name="message">Error message</param>
/// <param name="data">Error data</param>
public UnknownError(string message, object? data = null) : base(null, message, data) { }
}

View File

@ -112,7 +112,9 @@ namespace CryptoExchange.Net.Objects
/// ctor
/// </summary>
/// <param name="baseAddress"></param>
#pragma warning disable 8618
public ClientOptions(string baseAddress)
#pragma warning restore 8618
{
BaseAddress = baseAddress;
}

View File

@ -39,8 +39,8 @@ namespace CryptoExchange.Net.OrderBook
private readonly bool strictLevels;
private Task? _processTask;
private AutoResetEvent _queueEvent;
private ConcurrentQueue<object> _processQueue;
private readonly AutoResetEvent _queueEvent;
private readonly ConcurrentQueue<object> _processQueue;
/// <summary>
/// Order book implementation id