Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Identify using statment patterns. #29

Open
hazzik opened this issue Nov 15, 2013 · 1 comment
Open

Identify using statment patterns. #29

hazzik opened this issue Nov 15, 2013 · 1 comment

Comments

@hazzik
Copy link
Contributor

hazzik commented Nov 15, 2013

It would be nice to have a feature which is able to detect using patterns For example, if we have a try-finally statement and call of close method of AutoCloseable or Closeable interfaces then we can convert this try-finally statement to a C# using statement.

@lilith
Copy link
Contributor

lilith commented May 28, 2015

Seems like a lot of work in order to use syntactic sugar. Try/finally is being generated correct, right? We just want to optimize to a using(){} when possible (which is then converted back to try/finally by the compiler)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants