Invalid expression term 'character'
The compiler detected an invalid character in an expression.
The following sample generates CS1525:
class x { public static void Main() { int i = 0; i = i + // OK - identifier 'c' + // OK - character (5) + // OK - parenthesis [ + // CS1525, operator not a valid expression element throw + // CS1525, keyword not allowed in expression void; // CS1525, void not allowed in expression ; } }