Skip to content

Method with optional parameter is hidden by overload warning in CoinbaseATService.cs #2

@astrohart

Description

@astrohart

image
Figure 1. Warning about Method with optional parameter is hidden by overload.

@confessore, This is great code, and I wish it were available for .NET Framework 4.8. I am going ahead and porting over my own adaption of the code myself,

This code has to do with the two overloads of the SendServiceCall<T> method in CoinbaseATService.cs. One overload has a signature of async Task<T> SendServiceCall<T>(HttpMethod, string string) and the other overload has the signature async Task<T> SendServiceCall<T>(HttpMethod, string string, string) but the first and second overloads both have the final string parameter as optional.

This is not an optimal way to craft the code; I wish I could come up with a solution but I don't yet know the codebase well enough to fix it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions