- Home /
What are the c# error messages?
cs0006 Cannot find metadata file
cs0019 Operator ... cannot be applied
cs0021 Cannot apply indexing with [] to an expression of type
cs0029 Cannot implicitly convert type
cs0101 The namespace ... already contains a definition for
cs0103 The name ... does not exist in the current context
cs0106 The modifier ... is not valid for this item
cs0108 ... hides inherited member
cs0116 A namespace can only contain types and namespace declarations
cs0117 ... does not contain a definition for ...
cs0118 ... is a field but a type was expected
cs0119 Expression denotes a type, where a variable, value or method group was expected
cs0120 An object reference is required to access a non-static member
cs0161 ...: not all code paths return a value
cs0163 Control cannot fall through from one case label to another
cs0165 Use of unassigned local variable
cs0176 Static member ... cannot be accessed with an instance reference, qualify it with a type name instead
cs0201 Only assignment, call, increment, decrement, and new object expressions can be used as a statement
cs0230 Type and identifier are both required in a foreach statement
cs0236 A field initializer cannot reference the nonstatic field
cs0246 The type or namespace name ... could not be found. Are you missing a using directive or an assembly reference?
cs0266 Cannot implicitly convert type ... to ... An explicit conversion exists (are you missing a cast?)
cs0283 The type ... cannot be declared const
cs0308 The non-generic method ... cannot be used with type arguments
cs0436 The type ... conflicts with the imported type .... Ignoring the imported type definition
cs0542 member names cannot be the same as their enclosing type
cs0649 Field is never assigned to, and will always have its default value ...
cs0841 A local variable ... cannot be used before it is declared
cs1002 Expecting ';'
cs1010 Newline in constant
cs1012 Too many characters in character literal
cs1026 Expected ',' or ')'
cs1039 Unterminated string literal
cs1041 Identifier expected
cs1061 Type ... does not contain a definition for ...
cs1501 No overload for method ... takes ... arguments
cs1502 The best overloaded method match for ...
cs1503 Argument ... cannot convert ... expression to type ...
cs1519 Unexpected symbol ... in class, struct, or interface member declaration
cs1520 Class, struct, or interface method must have a return type
cs1525 Unexpected symbol
cs1526 A new expression requires () or [] after type
cs1612 Cannot modify a value type return value of ...
cs1620 Argument ... is missing out modifier
cs1624 The body of ... cannot be an iterator block because void is not an iterator interface type
cs1729 The type ... does not contain a constructor that takes ... arguments
cs1955 The member ... cannot be used as method or delegate cannot be used as method or delegate
cs1961 The covariant type parameter T must be invariantly valid on ...
cs2011 Unable to open response file
cs2015 Source file ... is a binary file and not a text file
cs8025 Parsing error
I've seen Comments posted as Answers and Questions posted as answers, but an Answer as a Question? :o
On topic though: very nice, will try to point people here :)
Answer by Josh707 · Jun 19, 2014 at 02:51 PM
Well the links were still in the post but the formatting was wrong somehow, I went through and fixed it though. Hopefully I didn't screw anything up!
Seems like the site update the other day has changed the markdown rendering. The prior to the open brace seems the problem. On the related JS list of errors, I had to remove all the sequences.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
I'm trying to adjust tagged objects meshrenderer in C# code. 1 Answer
Get text between two tags C# 1 Answer
Can a tagged object exclude itself from FindGameObjectWithTag? 3 Answers