Follow Us
Contribute
  • Register
Errorbase is a collaborative writing project, that aims to build the largest trouble-shooting guide about all kinds of error messages.

Categories

0 votes

Native types can be visible outside the assembly, but you can only specify assembly access for native types in a /clr compilation. Ex:

// compile with: /c
public class A {};   // C3381

requested by (170k points)
edited by

1 Solution

0 votes

Remove public word.

class A {};

solved by
...