C# Compiler Errors

Showing 241 - 260 of 682 results
C# Compiler Error CS0182 – An attribute argument must be a constant expression, typeof expression or array creation expression of...
C# Compiler Error CS0061 – Inconsistent accessibility: base interface ‘interface 1’ is less accessible than interface ‘interface 2’ Reason for...
C# Compiler Error CS0215 – The return type of operator True or False must be bool. Reason for the Error...
C# Compiler Error CS0051 – Inconsistent accessibility: parameter type ‘type’ is less accessible than method ‘method’ Reason for the Error...
C# Error CS0599 – Invalid value for named attribute argument ‘{0}’ Reason for the Error & Solution Invalid value for...
C# Error CS0562 – The parameter of a unary operator must be the containing type Reason for the Error &...
C# Error CS1104 – A parameter array cannot be used with ‘this’ modifier on an extension method Reason for the...
C# Compiler Error CS0545 – ‘function’ : cannot override because ‘property’ does not have an overridable get accessor Reason for...
C# Compiler Error CS0509 – ‘class1’ : cannot derive from sealed type ‘class2’ Reason for the Error You’ll get this...
C# Compiler Error CS0523 – Struct member ‘struct2 field’ of type ‘struct1’ causes a cycle in the struct layout Reason...
C# Compiler Error CS0181 – Attribute constructor parameter ‘value’ has type ‘decimal’, which is not a valid attribute parameter type...
C# Error CS0765 – Partial methods with only a defining declaration or removed conditional methods cannot be used in expression...
C# Error CS1671 – A namespace declaration cannot have modifiers or attributes Reason for the Error & Solution A namespace...
C# Error CS0758 – Both partial method declarations must use a params parameter or neither may use a params parameter...
C# Error CS1742 – An array access may not have a named argument specifier Reason for the Error & Solution...
C# Error CS1650 – Fields of static readonly field ‘{0}’ cannot be assigned to (except in a static constructor or...
C# Compiler Error CS0529 – Inherited interface ‘interface1’ causes a cycle in the interface hierarchy of ‘interface2’ Reason for the...
C# Error CS1546 – Property, indexer, or event ‘{0}’ is not supported by the language; try directly calling accessor method...
C# Error CS8153 – An expression tree lambda may not contain a call to a method, property, or indexer that...
C# Compiler Error Message CS0020 Division by constant zero Reason for the Error You would usually receive this error when...