Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'type': you can only forward a type to an assembly: 'identifier' is not an assembly
Remarks
Only types in an assembly can be forwarded.
For more information, see Type Forwarding (C++/CLI).
Example
The following example creates a module.
// C3468.cpp
// compile with: /LN /clr
public ref class R {};
The following example generates C3468.
// C3468_b.cpp
// compile with: /clr /c
#using "C3468.netmodule"
[ assembly:TypeForwardedTo(R::typeid) ]; // C3468