Keyword "ref" used instead of "out" #614

Closed
greenozon opened this Issue Jun 7, 2015 · 0 comments

Projects

None yet

2 participants

@greenozon

Build ILSpy version 2.3.0.1839

issue: keyword "ref" used instead of "out"
eg:

Mutex mutex = null;
            try
            {
                bool flag;
                mutex = new Mutex(false, name, ref flag);
                if (!flag)
                {
                    MessageBox.Show(Resources.MessageData031);
                    base.Close();
                }

compiler error to line with mutex= is as follows:

Error 147 Argument 3 must be passed with the 'out' keyword

@siegfriedpammer siegfriedpammer added this to the vNext milestone Jun 3, 2016
@siegfriedpammer siegfriedpammer self-assigned this Jun 3, 2016
@siegfriedpammer siegfriedpammer modified the milestone: vNext, 2.4 Jun 5, 2016
@glenrgordon glenrgordon added a commit to glenrgordon/ILSpy that referenced this issue Jul 9, 2016
@siegfriedpammer @glenrgordon siegfriedpammer + glenrgordon fix #614 - Keyword "ref" used instead of "out" dd05186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment