Skip to content

ambiguous between the following methods or properties #71

@monirkbit

Description

@monirkbit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions