Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

"Invalid SizeParamIndex" in WebAPI sample #6852

Closed

Description

@marinasundstrom

In WebAPI sample.

Published using:

dotnet publish -r osx-x64 -c release

Executing the program and open URL in browser:

https://localhost:5000/api/values/4

In console:

Unhandled Exception: System.Exception: Invalid SizeParamIndex, parameter must be  of type int/uint
   at helloworld!<BaseAddress>+0x88feb0

Followed by a crash.

Activity

  1. jkotas commented on Jan 21, 2019

    @jkotas
    Member

    #6858 should fix this error. (I do not have a Mac around to validate it at monent, but this error could be reproduced using small standalone repro on all platforms.)

  2. added a commit that references this issue on Jan 21, 2019
    fa41625
  3. MichalStrehovsky commented on Jan 21, 2019

    @MichalStrehovsky
    Member

    A new ILCompiler package with the fix should be published within a day.

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