Open LakshanF opened 6 months ago
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas See info in area-owners.md if you want to be subscribed.
Author: | LakshanF |
---|---|
Assignees: | - |
Labels: | `area-Tools-ILLink` |
Milestone: | - |
Couple of notes when I debugged this.
This happens on a really old assembly - the assembly in question has been built 7 years ago and targets .NET Framework 4.0. So it's possible that the Roslyn version used to build it produces slightly different patterns than we expect. It also looks like this happens for a nested async state machines - the nesting seems to be important, the reason we fail is that we find a compiler generated state machine type, but we don't find a method which is associated with it via the attribute.
Repro:
dotnet new console
app.csproj
:dotnet publish
Stacktrace from the build:
/cc @vitek-karas