Represents a compiler error or warning.
System.CodeDom.Compiler.CompilerError represents a compiler error or a warning that has been returned by the compiler.
This class contains an inheritance demand at the class level that applies to all members. A System.Security.SecurityException is thrown when the derived class does not have full-trust permission. For details about inheritance demands, see Inheritance Demands.