Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ambiguous between the following methods or properties #71

Open
monirkbit opened this issue Aug 24, 2020 · 0 comments
Open

ambiguous between the following methods or properties #71

monirkbit opened this issue Aug 24, 2020 · 0 comments

Comments

@monirkbit
Copy link

monirkbit commented Aug 24, 2020

When i am trying to run this project, I am getting this error for all 3 bold functions. Any help please ?

For this file: BinanceClient.cs

For this line of code:

var args = $"symbol={symbol.ToUpper()}&interval={interval.GetDescription()}"
+ (startTime.HasValue ? $"&startTime={startTime.Value.GetUnixTimeStamp()}" : "")
+ (endTime.HasValue ? $"&endTime={endTime.Value.GetUnixTimeStamp()}" : "")
+ $"&limit={limit}";

Severity Code Description Project File Line Suppression State
Error CS0121 The call is ambiguous between the following methods or properties: 'Binance.API.Csharp.Client.Utils.ExtensionMethods.GetDescription(System.Enum)' and 'Binance.API.Csharp.Client.Utils.ExtensionMethods.GetDescription(System.Enum)' Binance.API.Csharp.Client C:\app\Bin\Binance.API.Csharp.Client-master\Binance.API.Csharp.Client\BinanceClient.cs 174 Active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant