[Mono-bugs] [Bug 557210] New: Enum with private instance field

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 20 08:25:54 EST 2009


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

http://bugzilla.novell.com/show_bug.cgi?id=557210#c0


           Summary: Enum with private instance field
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: x86-64
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mkral at sygnity.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:

I'm using a OpenOffice UNO library (from 3.1.1 OO package) in my assembly, and
when compiling at mono, I've got the error: The compiler required member
`unoidl.com.sun.star.awt.WindowClass.value__' could not be found or is
inaccessible.

Steps to reproduce the problem:
1. Add reference to cli_oootypes.dll 
2. Use the WindowClass enum.

Actual Results:
I've got the error: The compiler required member
`unoidl.com.sun.star.awt.WindowClass.value__' could not be found or is
inaccessible

Expected Results:
Compilie without error.

Additional Information:

disassembled WindowClass:
(other enums from this libs looks similar)

class public auto ansi sealed WindowClass extends [mscorlib]System.Enum {
field private specialname rtspecialname int32 value__ 
field public static literal valuetype unoidl.com.sun.star.awt.WindowClass TOP
= int32(0x00000000) 
field public static literal valuetype unoidl.com.sun.star.awt.WindowClass
MODALTOP = int32(0x00000001)
}

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list