As per the title, consider the following example:
public partial class Class
{
private XmlReader reader;
[CreateSyncVersion]
public async Task MethodAsync(CancellationToken ct = default)
{
_ = await reader.ReadAsync().WaitAsync(ct);
}
}
The expected generation is:
public partial class Class
{
public void Method()
{
_ = reader.Read();
}
}
What happens instead is that the whole invocation gets deleted:
public partial class Class
{
public void Method()
{
}
}
I will shortly open a PR that tries to address this issue as a well as #119, which appears to be a closely related problem.
As per the title, consider the following example:
The expected generation is:
What happens instead is that the whole invocation gets deleted:
I will shortly open a PR that tries to address this issue as a well as #119, which appears to be a closely related problem.