vscode-codeql icon indicating copy to clipboard operation
vscode-codeql copied to clipboard

Add `Parameter` type in csharp model pack editor for sourceModel.

Open Hug0Vincent opened this issue 7 months ago • 0 comments

Is your feature request related to a problem? Please describe. The CodeQL model editor for csharp does not allow to add a Parameter for a sourceModel:

Image

Describe the solution you'd like It would be nice to add the Parameter option to generate things like this:

extensions:
  - addsTo:
      pack: codeql/csharp-all
      extensible: sourceModel
    data:
      - ["Abp.Web.Models", "AjaxResponseBase", False, "set_TargetUrl", "(System.String)", "", "Parameter[0]", "remote", "manual"]

Describe alternatives you've considered For now I need to open the generated model pack and replace manually Argument[0] by Parameter[0].

Hug0Vincent avatar Jun 14 '25 06:06 Hug0Vincent