Derived types must either match the security accessibility of the base type or be less accessible in very basic case
问题 Build the sample code, and run any test. (I tried abs .) Each time I do it, I get TypeLoadException : An exception of type 'System.TypeLoadException' occurred in Jurassic.dll but was not handled in user code Additional information: Inheritance security rules violated by type: 'Jurassic.Compiler.WhiteSpaceToken'. Derived types must either match the security accessibility of the base type or be less accessible. The problem is WhiteSpaceToken is a simple class, as so is Token , its base. So it