-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Conside the following code
[Zomp.SyncMethodGenerator.CreateSyncVersion]
internal partial class Foo
{
public async Task FooFooAsync(Bark? bar)
{
await (bar?.BarBarAsync() ?? Task.CompletedTask);
}
}
[Zomp.SyncMethodGenerator.CreateSyncVersion]
internal partial class Bark
{
public async Task BarBarAsync()
{
}
}It generates the following
internal partial class Foo
{
public void FooFoo(global::LateStartStudio.EmptySpace.SaveGames.Bark? bar)
{
}
}As we can see, the code inside the method was dropped completely. I expected it to generate bar?.BarBar();
Metadata
Metadata
Assignees
Labels
No labels