Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to generate async-over-sync virtual methods for their sync counterparts #106

Open
hazzik opened this issue Jun 15, 2018 · 0 comments

Comments

@hazzik
Copy link
Contributor

hazzik commented Jun 15, 2018

class A
{
  public abstract void SomeMethod();
}

=>

partial class A
{
  // Pseudo code. All rules shall apply
  public virtual async Task SomeMethodAsync()
  {
    SomeMethod();
  }
}

Possible controlled by an option, but I would prefer this to be a default behavior.

@hazzik hazzik changed the title Add option to generate virtual methods for their sync counterparts Add option to generate async-over-sync virtual methods for their sync counterparts Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants