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

Declare variables before to support OUT in C# 6.0. #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Koubek
Copy link

@Koubek Koubek commented Jun 27, 2017

I`ve just opened the project in VS2013 (also have 2015 but the version selector picked VS2013 automatically) and saw compilation errors related to using declaring OUT variables in a function call. This is supported with C# 7.0 I think but before this was not possible (I maybe it was in a C# 6.0 preview but later it was removed).

I add it as a proposal to gain compatibility with the previous versions.

- Declare variables before to support OUT in C# 6.0 and olders where you
can`t declare OUT variables when calling a function.
- Additional changes that weren`t synced in the previous commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant