Visibility of unmanaged Visual C++ classes is always set to public (820549)
The information in this article applies to:
- Microsoft Visual C++ .NET (2003)
SYMPTOMSWhen you create an unmanaged class, the Visual C++ .NET
2003 compiler always sets the class visibility to public while generating the assembly. The keyword __nogc on a class indicates that the class is an unmanaged C++ class. If
you do not specify __gc or __nogc before the class declaration, the class defaults to __nogc. CAUSEThe design specifications for Microsoft Visual C++ .NET
2003 indicate that the class visibility is always set to public. STATUS This
behavior is by design.
Modification Type: | Minor | Last Reviewed: | 1/12/2006 |
---|
Keywords: | kbProgramming kbCompiler kbprb KB820549 kbAudDeveloper kbAudITPRO |
---|
|