List of all C# Compiler Errors
C# Error Code | Error Message | Tutorial Link |
---|---|---|
CS0012 | The type ‘type’ is defined in an assembly that is not referenced | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0012-the-type-type-is-defined-in-an-assembly-that-is-not-referenced/','_blank')"] |
CS7013 | Name exceeds the maximum length allowed in metadata | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs7013-name-exceeds-the-maximum-length-allowed-in-metadata/','_blank')"] |
CS0017 | Program ‘output file name’ has more than one entry point defined | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0017-program-output-file-name-has-more-than-one-entry-point-defined/','_blank')"] |
CS0019 | Operator ‘{0}’ cannot be applied to operands of type ‘{1}’ and ‘{2}’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0019-operator-0-cannot-be-applied-to-operands-of-type-1-and-2/','_blank')"] |
CS0020 | Division by constant zero | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0020-division-by-constant-zero/','_blank')"] |
CS0021 | Cannot apply indexing with [] to an expression of type ‘type’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0021-cannot-apply-indexing-with-to-an-expression-of-type-type/','_blank')"] |
CS0022 | Wrong number of indices inside [], expected ‘number’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0022-wrong-number-of-indices-inside-expected-number/','_blank')"] |
CS0023 | Operator ‘operator’ cannot be applied to operand of type ‘type’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0023-operator-operator-cannot-be-applied-to-operand-of-type-type/','_blank')"] |
CS0026 | Keyword ‘this’ is not valid in a static property, static method, or static field initializer | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0026-keyword-this-is-not-valid-in-a-static-property-static-method-or-static-field-initializer/','_blank')"] |
CS0027 | Keyword ‘this’ is not available in the current context | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0027-keyword-this-is-not-available-in-the-current-context/','_blank')"] |
CS0031 | Constant value ‘value’ cannot be converted to a ‘type’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0031-constant-value-value-cannot-be-converted-to-a-type/','_blank')"] |
CS0037 | Cannot convert null to ‘type’ because it is a non-nullable value type | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0037-cannot-convert-null-to-type-because-it-is-a-non-nullable-value-type/','_blank')"] |
CS0039 | Cannot convert type ‘type1’ to ‘type2’ via a reference conversion, boxing conversion | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0039-cannot-convert-type-type1-to-type2-via-a-reference-conversion-boxing-conversion-unboxing-conversion-wrapping-conversion-or-null-type-conversion/','_blank')"] |
CS0050 | Inconsistent accessibility: return type ‘type’ is less accessible than method ‘method’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0050-inconsistent-accessibility-return-type-type-is-less-accessible-than-method-method/','_blank')"] |
CS0051 | Inconsistent accessibility: parameter type ‘type’ is less accessible than method | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0051-inconsistent-accessibility-parameter-type-type-is-less-accessible-than-method-method/','_blank')"] |
CS0053 | Inconsistent accessibility: property type ‘type’ is less accessible than property ‘property’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/inconsistent-accessibility-property-type-type-is-less-accessible-than-property-property/','_blank')"] |
CS0053 | Inconsistent accessibility: property type ‘type’ is less accessible than property ‘property’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/inconsistent-accessibility-property-type-type-is-less-accessible-than-property-property/','_blank')"] |
CS0054 | Inconsistent accessibility: indexer return type ‘type’ is less accessible than indexer ‘indexer’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0054-inconsistent-accessibility-indexer-return-type-type-is-less-accessible-than-indexer-indexer/','_blank')"] |
CS0060 | Inconsistent accessibility: base class ‘class1’ is less accessible than class ‘class2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0060-inconsistent-accessibility-base-class-class1-is-less-accessible-than-class-class2/','_blank')"] |
CS0061 | Inconsistent accessibility: base interface is less accessible than interface | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0061-inconsistent-accessibility-base-interface-is-less-accessible-than-interface/','_blank')"] |
CS0066 | ‘event’ : event property must have both add and remove accessors | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0066-event-event-property-must-have-both-add-and-remove-accessors/','_blank')"] |
CS0070 | The event ‘event’ can only appear on the left hand side of += or -= | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0070-the-event-event-can-only-appear-on-the-left-hand-side-of-or/','_blank')"] |
CS0073 | An add or remove accessor must have a body | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0073-an-add-or-remove-accessor-must-have-a-body/','_blank')"] |
CS0075 | To cast a negative value, you must enclose the value in parentheses | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0075-to-cast-a-negative-value-you-must-enclose-the-value-in-parentheses/','_blank')"] |
CS0076 | The enumerator name ‘value__’ is reserved and cannot be used | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0076-the-enumerator-name-value__-is-reserved-and-cannot-be-used/','_blank')"] |
CS0077 | The as operator must be used with a reference type or nullable type | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0077-the-as-operator-must-be-used-with-a-reference-type-or-nullable-type/','_blank')"] |
CS0080 | Constraints are not allowed on non-generic declarations | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0080-constraints-are-not-allowed-on-non-generic-declarations/','_blank')"] |
CS0082 | Type ‘type’ already reserves a member called ‘name’ with the same parameter types | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0082-type-type-already-reserves-a-member-called-name-with-the-same-parameter-types/','_blank')"] |
CS0100 | The parameter name ‘parameter name’ is a duplicate | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0100-the-parameter-name-parameter-name-is-a-duplicate/','_blank')"] |
CS0101 | The namespace ‘namespace’ already contains a definition for ‘type’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0101-the-namespace-namespace-already-contains-a-definition-for-type/','_blank')"] |
CS0102 | The type ‘type name’ already contains a definition for ‘identifier’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0102-the-type-type-name-already-contains-a-definition-for-identifier/','_blank')"] |
CS0103 | The name ‘identifier’ does not exist in the current context | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0103-the-name-identifier-does-not-exist-in-the-current-context/','_blank')"] |
CS0104 | ‘reference’ is an ambiguous reference between ‘identifier’ and ‘identifier’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0104-reference-is-an-ambiguous-reference-between-identifier-and-identifier/','_blank')"] |
CS0106 | The modifier ‘modifier’ is not valid for this item | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0106-the-modifier-modifier-is-not-valid-for-this-item/','_blank')"] |
CS0107 | More than one protection modifier | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0107-more-than-one-protection-modifier/','_blank')"] |
CS0110 | The evaluation of the constant value for ‘const declaration’ involves a circular definition | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0110-the-evaluation-of-the-constant-value-for-const-declaration-involves-a-circular-definition/','_blank')"] |
CS0111 | Type ‘class’ already defines a member called ‘member’ with the same parameter types | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0111-type-class-already-defines-a-member-called-member-with-the-same-parameter-types/','_blank')"] |
CS0112 | A static member ‘function’ cannot be marked as override, virtual or abstract | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0112-a-static-member-function-cannot-be-marked-as-override-virtual-or-abstract/','_blank')"] |
CS0113 | A member ‘function’ marked as override cannot be marked as new or virtual | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0113-a-member-function-marked-as-override-cannot-be-marked-as-new-or-virtual/','_blank')"] |
CS0115 | ‘function’ : no suitable method found to override | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0115-function-no-suitable-method-found-to-override/','_blank')"] |
CS0116 | A namespace cannot directly contain members such as fields or methods | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0116-a-namespace-cannot-directly-contain-members-such-as-fields-or-methods/','_blank')"] |
CS0117 | ‘type’ does not contain a definition for ‘identifier’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0117-type-does-not-contain-a-definition-for-identifier/','_blank')"] |
CS0118 | construct1_name’ is a ‘construct1’ but is used like a ‘construct2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0118-construct1_name-is-a-construct1-but-is-used-like-a-construct2/','_blank')"] |
CS0120 | An object reference is required for the nonstatic field, method, or property ‘member’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0120-an-object-reference-is-required-for-the-nonstatic-field-method-or-property-member/','_blank')"] |
CS0121 | The call is ambiguous between the following methods or properties: ‘method1’ and ‘method2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0121-the-call-is-ambiguous-between-the-following-methods-or-properties-method1-and-method2/','_blank')"] |
CS0122 | ‘member’ is inaccessible due to its protection level | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0122-member-is-inaccessible-due-to-its-protection-level/','_blank')"] |
CS0123 | No overload for ‘method’ matches delegate ‘delegate’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0123-no-overload-for-method-matches-delegate-delegate/','_blank')"] |
CS0126 | An object of a type convertible to ‘type’ is required | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0126-an-object-of-a-type-convertible-to-type-is-required/','_blank')"] |
CS0127 | Since ‘function’ returns void, a return keyword must not be followed by an object expression | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0127-since-function-returns-void-a-return-keyword-must-not-be-followed-by-an-object-expression/','_blank')"] |
CS0128 | A local variable named ‘variable’ is already defined in this scope | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0128-a-local-variable-named-variable-is-already-defined-in-this-scope/','_blank')"] |
CS0131 | The left-hand side of an assignment must be a variable, property or indexer | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0131-the-left-hand-side-of-an-assignment-must-be-a-variable-property-or-indexer/','_blank')"] |
CS0132 | ‘constructor’ : a static constructor must be parameterless | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0132-constructor-a-static-constructor-must-be-parameterless/','_blank')"] |
CS0133 | The expression being assigned to ‘variable’ must be constant | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0133-the-expression-being-assigned-to-variable-must-be-constant/','_blank')"] |
CS0136 | A local variable named ‘var’ cannot be declared in this scope | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0136-a-local-variable-named-var-cannot-be-declared-in-this-scope/','_blank')"] |
CS0138 | A using namespace directive can only be applied to namespaces | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0138-a-using-namespace-directive-can-only-be-applied-to-namespaces/','_blank')"] |
CS0139 | No enclosing loop out of which to break or continue | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0139-no-enclosing-loop-out-of-which-to-break-or-continue/','_blank')"] |
CS0140 | The label ‘label’ is a duplicate | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0140-the-label-label-is-a-duplicate/','_blank')"] |
CS0144 | Cannot create an instance of the abstract class or interface ‘interface’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0144-cannot-create-an-instance-of-the-abstract-class-or-interface-interface/','_blank')"] |
CS0145 | A const field requires a value to be provided | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0145-a-const-field-requires-a-value-to-be-provided/','_blank')"] |
CS0146 | Circular base class dependency involving ‘class1’ and ‘class2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0146-circular-base-class-dependency-involving-class1-and-class2/','_blank')"] |
CS0150 | A constant value is expected | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0150-a-constant-value-is-expected/','_blank')"] |
CS8119 | The switch expression must be a value; found ‘{0}’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs8119-the-switch-expression-must-be-a-value-found-0/','_blank')"] |
CS0152 | The switch statement contains multiple cases with the label value | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0152-the-switch-statement-contains-multiple-cases-with-the-label-value/','_blank')"] |
CS0153 | A goto case is only valid inside a switch statement | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0153-a-goto-case-is-only-valid-inside-a-switch-statement/','_blank')"] |
CS0154 | The property or indexer ‘property’ cannot be used in this context because it lacks the get accessor | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0154-the-property-or-indexer-property-cannot-be-used-in-this-context-because-it-lacks-the-get-accessor/','_blank')"] |
CS0155 | The type caught or thrown must be derived from System.Exception | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0155-the-type-caught-or-thrown-must-be-derived-from-system-exception/','_blank')"] |
CS0156 | A throw statement with no arguments is not allowed outside of a catch clause | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0156-a-throw-statement-with-no-arguments-is-not-allowed-outside-of-a-catch-clause/','_blank')"] |
CS0157 | Control cannot leave the body of a finally clause | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0157-control-cannot-leave-the-body-of-a-finally-clause/','_blank')"] |
CS0159 | No such label ‘label’ within the scope of the goto statement | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0159-no-such-label-label-within-the-scope-of-the-goto-statement/','_blank')"] |
CS0160 | A previous catch clause already catches all exceptions of this or of a super type (‘type’) | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0160-a-previous-catch-clause-already-catches-all-exceptions-of-this-or-of-a-super-type-type/','_blank')"] |
CS0161 | ‘method’: not all code paths return a value | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0161-method-not-all-code-paths-return-a-value/','_blank')"] |
CS0163 | Control cannot fall through from one case label (‘label’) to another | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0163-control-cannot-fall-through-from-one-case-label-label-to-another/','_blank')"] |
CS0165 | Use of unassigned local variable ‘name’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0165-use-of-unassigned-local-variable-name/','_blank')"] |
CS0170 | Use of possibly unassigned field ‘field’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0170-use-of-possibly-unassigned-field-field/','_blank')"] |
CS0171 | Field ‘name’ must be fully assigned before control is returned to the caller | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0171-field-name-must-be-fully-assigned-before-control-is-returned-to-the-caller/','_blank')"] |
CS0173 | Type of conditional expression cannot be determined because there is no implicit conversion between ‘class1’ and ‘class2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0173-type-of-conditional-expression-cannot-be-determined-because-there-is-no-implicit-conversion-between-class1-and-class2/','_blank')"] |
CS0175 | Use of keyword ‘base’ is not valid in this context | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0175-use-of-keyword-base-is-not-valid-in-this-context/','_blank')"] |
CS0176 | Static member ‘member’ cannot be accessed with an instance reference; qualify it with a type name instead | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0176-static-member-member-cannot-be-accessed-with-an-instance-reference-qualify-it-with-a-type-name-instead/','_blank')"] |
CS0177 | The out parameter ‘parameter’ must be assigned to before control leaves the current method | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0177-the-out-parameter-parameter-must-be-assigned-to-before-control-leaves-the-current-method/','_blank')"] |
CS0178 | Invalid rank specifier: expected ‘,’ or ‘]’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0178-invalid-rank-specifier-expected-or/','_blank')"] |
CS0179 | ‘member’ cannot be extern and declare a body | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0179-member-cannot-be-extern-and-declare-a-body/','_blank')"] |
CS0180 | ‘member’ cannot be both extern and abstract | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0180-member-cannot-be-both-extern-and-abstract/','_blank')"] |
CS0181 | Attribute constructor parameter ‘value’ has type ‘decimal’, which is not a valid attribute parameter type | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0181-attribute-constructor-parameter-value-has-type-decimal-which-is-not-a-valid-attribute-parameter-type/','_blank')"] |
CS0182 | An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0182-an-attribute-argument-must-be-a-constant-expression-typeof-expression-or-array-creation-expression-of-an-attribute-parameter-type/','_blank')"] |
CS0185 | ‘type’ is not a reference type as required by the lock statement | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0185-type-is-not-a-reference-type-as-required-by-the-lock-statement/','_blank')"] |
CS0186 | Use of null is not valid in this context | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0186-use-of-null-is-not-valid-in-this-context/','_blank')"] |
CS0188 | The ‘this’ object cannot be used before all of its fields are assigned to | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0188-the-this-object-cannot-be-used-before-all-of-its-fields-are-assigned-to/','_blank')"] |
CS0191 | Property or indexer ‘name’ cannot be assigned to — it is read only | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0191-property-or-indexer-name-cannot-be-assigned-to-it-is-read-only/','_blank')"] |
CS0192 | Fields of static readonly field ‘name’ cannot be passed ref or out (except in a static constructor) | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0192-fields-of-static-readonly-field-name-cannot-be-passed-ref-or-out-except-in-a-static-constructor/','_blank')"] |
CS0193 | The * or -> operator must be applied to a pointer | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0193-the-or-operator-must-be-applied-to-a-pointer/','_blank')"] |
CS0196 | A pointer must be indexed by only one value | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0196-a-pointer-must-be-indexed-by-only-one-value/','_blank')"] |
CS0198 | Fields of static readonly field ‘name’ cannot be assigned to | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0198-fields-of-static-readonly-field-name-cannot-be-assigned-to/','_blank')"] |
CS0199 | Fields of static readonly field ‘name’ cannot be passed ref or out | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0199-fields-of-static-readonly-field-name-cannot-be-passed-ref-or-out/','_blank')"] |
CS0200 | Property or indexer ‘property’ cannot be assigned to — it is read only | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0200-property-or-indexer-property-cannot-be-assigned-to-it-is-read-only/','_blank')"] |
CS0201 | Only assignment, call, increment, decrement, and new object expressions can be used as a statement | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0201-only-assignment-call-increment-decrement-and-new-object-expressions-can-be-used-as-a-statement/','_blank')"] |
CS0202 | foreach requires that the return type ‘type’ of ‘type.GetEnumerator()’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0202-foreach-requires-that-the-return-type-type-of-type-getenumerator/','_blank')"] |
CS0204 | Only 65534 locals, including those generated by the compiler, are allowed | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0204-only-65534-locals-including-those-generated-by-the-compiler-are-allowed/','_blank')"] |
CS0205 | Cannot call an abstract base member: ‘method’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0205-cannot-call-an-abstract-base-member-method/','_blank')"] |
CS0206 | A property or indexer may not be passed as an out or ref parameter | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0206-a-property-or-indexer-may-not-be-passed-as-an-out-or-ref-parameter/','_blank')"] |
CS0215 | The return type of operator True or False must be bool | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0215-the-return-type-of-operator-true-or-false-must-be-bool/','_blank')"] |
CS0216 | The operator ‘operator’ requires a matching operator ‘missing_operator’ to also be defined | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0216-the-operator-operator-requires-a-matching-operator-missing_operator-to-also-be-defined/','_blank')"] |
CS0220 | The operation overflows at compile time in checked mode | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0220-the-operation-overflows-at-compile-time-in-checked-mode/','_blank')"] |
CS0221 | Constant value ‘value’ cannot be converted to a ‘type’ (use ‘unchecked’ syntax to override) | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0221-constant-value-value-cannot-be-converted-to-a-type-use-unchecked-syntax-to-override/','_blank')"] |
CS0225 | The params parameter must be a single dimensional array | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0225-the-params-parameter-must-be-a-single-dimensional-array/','_blank')"] |
CS0226 | An __arglist expression may only appear inside of a call or new expression | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0226-an-__arglist-expression-may-only-appear-inside-of-a-call-or-new-expression/','_blank')"] |
CS0230 | Type and identifier are both required in a foreach statement | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0230-type-and-identifier-are-both-required-in-a-foreach-statement/','_blank')"] |
CS0231 | A params parameter must be the last parameter in a formal parameter list | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0231-a-params-parameter-must-be-the-last-parameter-in-a-formal-parameter-list/','_blank')"] |
CS0234 | The type or namespace name ‘name’ does not exist in the namespace ‘namespace’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0234-the-type-or-namespace-name-name-does-not-exist-in-the-namespace-namespace/','_blank')"] |
CS0236 | A field initializer cannot reference the non-static field, method, or property ‘name’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0236-a-field-initializer-cannot-reference-the-non-static-field-method-or-property-name/','_blank')"] |
CS0238 | ‘member’ cannot be sealed because it is not an override | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0238-member-cannot-be-sealed-because-it-is-not-an-override/','_blank')"] |
CS0239 | ‘member’ : cannot override inherited member ‘inherited member’ because it is sealed | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0239-member-cannot-override-inherited-member-inherited-member-because-it-is-sealed/','_blank')"] |
CS0243 | The Conditional attribute is not valid on ‘method’ because it is an override method | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0243-the-conditional-attribute-is-not-valid-on-method-because-it-is-an-override-method/','_blank')"] |
CS0244 | Neither ‘is’ nor ‘as’ is valid on pointer types | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0244-neither-is-nor-as-is-valid-on-pointer-types/','_blank')"] |
CS0245 | Destructors and object.Finalize cannot be called directly | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0245-destructors-and-object-finalize-cannot-be-called-directly/','_blank')"] |
CS0246 | The type or namespace name ‘type/namespace’ could not be found | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0246-the-type-or-namespace-name-type-namespace-could-not-be-found/','_blank')"] |
CS0247 | Cannot use a negative size with stackalloc | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0247-cannot-use-a-negative-size-with-stackalloc/','_blank')"] |
CS0248 | Cannot create an array with a negative size | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0248-cannot-create-an-array-with-a-negative-size/','_blank')"] |
CS0249 | Do not override object.Finalize. Instead, provide a destructor | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0249-do-not-override-object-finalize-instead-provide-a-destructor/','_blank')"] |
CS0250 | Do not directly call your base class Finalize method. It is called automatically from your destructor | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/cs0250-do-not-directly-call-your-base-class-finalize-method-it-is-called-automatically-from-your-destructor/','_blank')"] |
CS0255 | stackalloc may not be used in a catch or finally block | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0255-stackalloc-may-not-be-used-in-a-catch-or-finally-block/','_blank')"] |
CS0260 | Missing partial modifier on declaration of type ‘type’; another partial declaration of this type exists | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0260-missing-partial-modifier-on-declaration-of-type-type-another-partial-declaration-of-this-type-exists/','_blank')"] |
CS0261 | Partial declarations of ‘type’ must be all classes, all structs, or all interfaces | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0261-partial-declarations-of-type-must-be-all-classes-all-structs-or-all-interfaces/','_blank')"] |
CS0262 | Partial declarations of ‘type’ have conflicting accessibility modifiers | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0262-partial-declarations-of-type-have-conflicting-accessibility-modifiers/','_blank')"] |
CS0263 | Partial declarations of ‘type’ must not specify different base classes | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0263-partial-declarations-of-type-must-not-specify-different-base-classes/','_blank')"] |
CS0264 | Partial declarations of ‘type’ must have the same type parameter names in the same order | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0264-partial-declarations-of-type-must-have-the-same-type-parameter-names-in-the-same-order/','_blank')"] |
CS0266 | Cannot implicitly convert type ‘type1’ to ‘type2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0266-cannot-implicitly-convert-type-type1-to-type2/','_blank')"] |
CS0267 | The partial modifier can only appear immediately before ‘class’, ‘record’, ‘struct’, ‘interface’, or a method return type | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0267-the-partial-modifier-can-only-appear-immediately-before-class-record-struct-interface-or-a-method-return-type/','_blank')"] |
CS0269 | Use of unassigned out parameter ‘parameter’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0269-use-of-unassigned-out-parameter-parameter/','_blank')"] |
CS0270 | Array size cannot be specified in a variable declaration | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0270-array-size-cannot-be-specified-in-a-variable-declaration/','_blank')"] |
CS0271 | The property or indexer ‘property/indexer’ cannot be used in this context because the get accessor is inaccessible | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0271-the-property-or-indexer-property-indexer-cannot-be-used-in-this-context-because-the-get-accessor-is-inaccessible/','_blank')"] |
CS0272 | The property or indexer ‘property/indexer’ cannot be used in this context because the set accessor is inaccessible | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0272-the-property-or-indexer-property-indexer-cannot-be-used-in-this-context-because-the-set-accessor-is-inaccessible/','_blank')"] |
CS0273 | The accessibility modifier of the ‘property_accessor’ accessor must be more restrictive than the property or indexer ‘property’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0273-the-accessibility-modifier-of-the-property_accessor-accessor-must-be-more-restrictive-than-the-property-or-indexer-property/','_blank')"] |
CS0274 | Cannot specify accessibility modifiers for both accessors of the property or indexer ‘property/indexer’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0274-cannot-specify-accessibility-modifiers-for-both-accessors-of-the-property-or-indexer-property-indexer/','_blank')"] |
CS0275 | ‘accessor’: accessibility modifiers may not be used on accessors in an interface | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0275-accessor-accessibility-modifiers-may-not-be-used-on-accessors-in-an-interface/','_blank')"] |
CS0276 | ‘property/indexer’: accessibility modifiers on accessors may only be used if the property or indexer has both a get and a set accessor | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0276-property-indexer-accessibility-modifiers-on-accessors-may-only-be-used-if-the-property-or-indexer-has-both-a-get-and-a-set-accessor/','_blank')"] |
CS0277 | ‘class’ does not implement interface member ‘accessor’. ‘class accessor’ is not public | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0277-class-does-not-implement-interface-member-accessor-class-accessor-is-not-public/','_blank')"] |
CS0283 | The type ‘type’ cannot be declared const | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0283-the-type-type-cannot-be-declared-const/','_blank')"] |
CS0316 | The parameter name ‘name’ conflicts with an automatically-generated parameter name | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0316-the-parameter-name-name-conflicts-with-an-automatically-generated-parameter-name/','_blank')"] |
CS0404 | ‘<' unexpected : attributes cannot be generic | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0404/','_blank')"] |
CS0418 | ‘class name’: an abstract class cannot be sealed or static | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0418-class-name-an-abstract-class-cannot-be-sealed-or-static/','_blank')"] |
CS0426 | The type name ‘identifier’ does not exist in the type ‘type’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0426-the-type-name-identifier-does-not-exist-in-the-type-type/','_blank')"] |
CS0431 | Cannot use alias ‘identifier’ with ‘::’ since the alias references a type. Use ‘.’ instead | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0431-cannot-use-alias-identifier-with-since-the-alias-references-a-type-use-instead/','_blank')"] |
CS0432 | Alias ‘identifier’ not found | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0432-alias-identifier-not-found/','_blank')"] |
CS0433 | The type TypeName1 exists in both TypeName2 and TypeName3 | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0433-the-type-typename1-exists-in-both-typename2-and-typename3/','_blank')"] |
CS0439 | An extern alias declaration must precede all other elements defined in the namespace | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0439-an-extern-alias-declaration-must-precede-all-other-elements-defined-in-the-namespace/','_blank')"] |
CS0441 | ‘class’: a class cannot be both static and sealed | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0441-class-a-class-cannot-be-both-static-and-sealed/','_blank')"] |
CS0442 | ‘Property’: abstract properties cannot have private accessors | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0442-property-abstract-properties-cannot-have-private-accessors/','_blank')"] |
CS0443 | Syntax error, value expected | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0443-syntax-error-value-expected/','_blank')"] |
CS0446 | Foreach cannot operate on a ‘Method or Delegate’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0446-foreach-cannot-operate-on-a-method-or-delegate/','_blank')"] |
CS0463 | Evaluation of the decimal constant expression failed with error: ‘error’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0463-evaluation-of-the-decimal-constant-expression-failed-with-error-error/','_blank')"] |
CS0470 | ‘method’ cannot implement interface accessor ‘accessor’ for type ‘type’. Use an explicit interface implementation | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0470-method-cannot-implement-interface-accessor-accessor-for-type-type-use-an-explicit-interface-implementation/','_blank')"] |
CS0500 | ‘class member’ cannot declare a body because it is marked abstract | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0500-class-member-cannot-declare-a-body-because-it-is-marked-abstract/','_blank')"] |
CS0501 | ‘member function’ must declare a body because it is not marked abstract, extern, or partial | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0501-member-function-must-declare-a-body-because-it-is-not-marked-abstract-extern-or-partial/','_blank')"] |
CS0502 | ‘member’ cannot be both abstract and sealed | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0502-member-cannot-be-both-abstract-and-sealed/','_blank')"] |
CS0503 | The abstract method ‘method’ cannot be marked virtual | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0503-the-abstract-method-method-cannot-be-marked-virtual/','_blank')"] |
CS0504 | The constant ‘variable’ cannot be marked static | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0504-the-constant-variable-cannot-be-marked-static/','_blank')"] |
CS0505 | ‘member1’: cannot override because ‘member2’ is not a function | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0505-member1-cannot-override-because-member2-is-not-a-function/','_blank')"] |
CS0506 | ‘function1’ : cannot override inherited member ‘function2’ because it is not marked “virtual”, “abstract”, or “override” | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0506-function1-cannot-override-inherited-member-function2-because-it-is-not-marked-virtual-abstract-or-override/','_blank')"] |
CS0507 | ‘function1’ : cannot change access modifiers when overriding ‘access’ inherited member ‘function2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0507-function1-cannot-change-access-modifiers-when-overriding-access-inherited-member-function2/','_blank')"] |
CS0508 | ‘Type 1’: return type must be ‘Type 2’ to match overridden member ‘Member Name’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0508-type-1-return-type-must-be-type-2-to-match-overridden-member-member-name/','_blank')"] |
CS0509 | ‘class1’ : cannot derive from sealed type ‘class2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0509-class1-cannot-derive-from-sealed-type-class2/','_blank')"] |
CS0513 | ‘function’ is abstract but it is contained in nonabstract class ‘class’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0513-function-is-abstract-but-it-is-contained-in-nonabstract-class-class/','_blank')"] |
CS0514 | ‘constructor’ : static constructor cannot have an explicit ‘this’ or ‘base’ constructor call | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0514-constructor-static-constructor-cannot-have-an-explicit-this-or-base-constructor-call/','_blank')"] |
CS0515 | ‘function’ : access modifiers are not allowed on static constructors | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0515-function-access-modifiers-are-not-allowed-on-static-constructors/','_blank')"] |
CS0516 | Constructor ‘constructor’ can not call itself | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0516-constructor-constructor-can-not-call-itself/','_blank')"] |
CS0522 | ‘constructor’ : structs cannot call base class constructors | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0522-constructor-structs-cannot-call-base-class-constructors/','_blank')"] |
CS0523 | Struct member ‘struct2 field’ of type ‘struct1’ causes a cycle in the struct layout | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0523-struct-member-struct2-field-of-type-struct1-causes-a-cycle-in-the-struct-layout/','_blank')"] |
CS0525 | Interfaces cannot contain fields | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0525-interfaces-cannot-contain-fields/','_blank')"] |
CS0526 | Interfaces cannot contain instance constructors | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0526-interfaces-cannot-contain-instance-constructors/','_blank')"] |
CS0527 | Type ‘type’ in interface list is not an interface | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0527-type-type-in-interface-list-is-not-an-interface/','_blank')"] |
CS0528 | ‘interface’ is already listed in interface list | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0528-interface-is-already-listed-in-interface-list/','_blank')"] |
CS0529 | Inherited interface ‘interface1’ causes a cycle in the interface hierarchy of ‘interface2’ | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0529-inherited-interface-interface1-causes-a-cycle-in-the-interface-hierarchy-of-interface2/','_blank')"] |
CS0531 | ‘member’ : interface members cannot have a definition | [gamipress_button type="submit" label="Learn" onclick="window.open('https://developerpublish.com/c-error-cs0531-member-interface-members-cannot-have-a-definition/','_blank')"] |