Compiler Error C3820

'name': initializers must be managed

The name initializer for a managed type must also be managed.

To correct this error

  • Specify a managed initializer method.

See Also

Reference

Initializers

Additional Startup Considerations