Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Can't get symbol information on certain invocation expressions #197

Description

@cslong

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions