codelyzer
codelyzer copied to clipboard
Can't get symbol information on certain invocation expressions
Describe the bug
Seems like we can't fetch the symbol information on some of the invocation expression syntax node.
For example bundles.Add(New ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-{version}.js")) in the VBWebApi Test project.
It might be the case that the inner expressions are causing the lookup in the semantic model to fail.
Expected behavior
Analyzer result should return System.Web.Optimization.BundleCollection.Add(System.Web.Optimization.Bundle), but instead only has the method name Add and Parameters.
Steps to Reproduce
Steps to reproduce the behavior: Debug using the VBWebApi Test project and break on InvocationExpressionHandler.SetMetaData