[Mono-bugs] [Bug 629103] Getting a GUID back from unmanaged code as a parameter makes VB.Net compiler fail

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 6 16:33:17 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=629103

http://bugzilla.novell.com/show_bug.cgi?id=629103#c1


Rolf Bjarne Kvinge <rkvinge at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5 - None                   |P3 - Medium
             Status|NEW                         |ASSIGNED

--- Comment #1 from Rolf Bjarne Kvinge <rkvinge at novell.com> 2010-08-06 22:33:16 CEST ---
The bug is about passing the implicit local variable with the same name as the
function to method that takes a byref argument.

If you modify your sample to this:

    Public Shared Function GetHidGuid() As System.Guid
        Dim g As Guid
        HidD_GetHidGuid(g)
        return g
    End Function

it compiles.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list