Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 588 Bytes

compiler-error-c3923.md

File metadata and controls

27 lines (23 loc) · 588 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3923
Compiler Error C3923
11/04/2016
C3923
C3923
db8838e9-6344-4cd6-83e0-a8abeb12c4c0

Compiler Error C3923

'member' : local class, struct, or union definitions are not allowed in a member function of a WinRT or managed class

Example

The following sample generates C3923.

// C3923.cpp
// compile with: /clr /c
ref struct x {
   void Test() {
      struct a {};   // C3923
      class b {};   // C3923
      union c {};   // C3923
   }
};