https://bugzilla.novell.com/show_bug.cgi?id=445300

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=445300#c1


Atsushi Enomoto <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID




--- Comment #1 from Atsushi Enomoto <[email protected]>  2009-02-08 23:39:37 
MST ---
The sample code is wrong (both mcs and csc rejects for out-less argument in
"Jajava(mengano);" . The following code fixes the sample and there is no
difference between csc and mcs.

using System;
public class Programa
    {
        static void Jajaja (out int mengano)
        {
            mengano = 3;
        }

        static void Run(out int mengano)
        {
            Jajaja (out mengano);
        }

        static void Main(string[] args)
        {
            int fulano;
            Run(out fulano);
            Console.WriteLine(fulano);
        }

    }

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to