-
Notifications
You must be signed in to change notification settings - Fork 0
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
Empty MethodCalls on Some Scenarios #22
Comments
@timmyteo Got the below response from The Here's a breakdown of the common causes and how to troubleshoot them: Common Causes of
Troubleshooting Steps
Example Scenario and Debugging Let's say you have this code: public class Example
{
public void DoSomething(int x) { }
public void DoSomething(double x) { }
public void Test()
{
DoSomething(5); // Ambiguous!
}
} And you get Debugging:
In Summary
|
The explanation makes sense. The screenshot on this issue does show the OverloadResolutionFailure example and the CandidateSymbols attribute is populated with what appears to be the ambiguous method. So it seems possible that when this error comes, additional logic could process the candidate details and at least extract some information, which is better than ignoring this case as it presently does. |
When running Dosai with the Dosai source code as the inspection input, the resulting output JSON has an empty array of objects for the property MethodCalls. This is unexpected and it seems that because of the way the code is written, that Roslyn is throwing an error (see attached screenshot). The goal of this issue is to potentially identify the bug and fix it so that the MethodCalls populates when inspecting the Dosai code.

The text was updated successfully, but these errors were encountered: