Is there a list of all the errors/warnings with their MessageCode?

I could have sworn I saw one last week, but I can’t find it now by searching the web.

I posted a list a while ago. What do you need this for?

So that if I make a {$HIDE W27} and I come back into the code again in a year or two, I will be able to figure out what the heck that option is. And also reveal other messages that I don’t currently know about that might be helpful.

Of course, I can just comment that {$HIDE}, but it would still be nice to know where they are documented, if they are.

I’ll see what I can do


title: Compiler Messages

Errors

  • E0: Internal error: {0}
  • E1: {1} expected, got {0}
  • E2: Unexpected end of file
  • E3: “implementation” or interface section members (types or methods) expected
  • E4: “end.” or implementation section members (types or methods) expected
  • E5: Attributes are not allowed here
  • E6: Attributes cannot be applied to multiple members at once
  • E7: Cannot initialize multiple variables at once
  • E8: Invalid attribute type; only regular types allowed for attributes
  • E9: Invalid type definition
  • E10: Invalid type reference in method implementation
  • E11: Invalid type reference
  • E12: Class member expected but “{0}” found
  • E13: Class member expected but “{0}” found
  • E14: Interface member expected but found “{0}”
  • E15: Method body member expected (“const”, “var”, “require”, “begin” or nested function) but got “{0}”
  • E17: Expression expected
  • E18: Invalid floating point value
  • E19: Invalid integer value
  • E20: Invalid value in character literal
  • E21: Out-of-range number of generic parameters
  • E22: No additional LINQ expressions allowed after “select” without “into”
  • E23: “select” is required after a LINQ expression with more than one variable
  • E24: Could not load referenced assembly “{0}”: {1}
  • E25: Duplicate file “{0}” in project
  • E26: Unknown namespace “{0}” in uses list
  • E27: Duplicate type “{0}”
  • E28: Unknown type “{0}”
  • E29: Cannot nest types within “{0}”, because it is defined in an external assembly
  • E30: Invalid name “{0}” for a nested type, nested types cannot contain dots
  • E31: Multiple declarations of type “{0}” exist but the partial modifier is missing
  • E32: The type modifiers (such as “static”, “abstract”, “sealed”, or “readonly”) for “{0}” do not match other class parts
  • E33: Generic parameter names for “{0}” do not match
  • E34: Cannot descend from “{0}”
  • E35: Recursion detected in inheritance tree for type “{0}”
  • E36: Interface type expected, found “{0}”
  • E37: Generic variance is only allowed on delegates and interfaces
  • E38: Generic parameters with the “in” variance modifier can only be used for input parameters
  • E39: Generic parameters with the “out” variance modifier can only be used for method results
  • E40: An “mscorlib.dll” reference is missing and no default “mscorlib.dll” could be found
  • E41: The “dynamic” type requires the project to target Microsoft .NET 4.0 or later
  • E42: “self” is not available in this context
  • E43: No static member “{1}” on type “{0}”
  • E44: No member “{1}” on type “{0}”
  • E45: Type “{0}” has nested types “{1}” but the number of generic parameters do not match
  • E46: Unknown identifier “{0}”
  • E47: Generic parameters not expected here
  • E48: There are no overloads that have {0} generic parameters
  • E49: No overloaded method “{0}” that has generic parameters on type “{1}”
  • E50: Globals are disabled in the project settings
  • E51: Implementation for method “{0}” is missing
  • E52: Type “{0}” does not contain a declaration that matches this method signature: {1}
  • E53: Method “{0}” must be implemented in the same file as it was declared in
  • E54: An abstract, mapped, empty or external method cannot have an implementation
  • E55: Invalid operator name: “{0}”
  • E56: Duplicate implementation body for method “{0}”
  • E57: The type visibility for “{0}” does not match other class parts
  • E58: Duplicate method “{1}” with same signature
  • E59: Duplicate constructor with same signature “{1}”
  • E60: Parameter name does not match; should be “{0}”, is “{1}”
  • E61: Duplicate local variable “{0}” in scope
  • E62: Type mismatch, cannot assign “{0}” to “{1}”
  • E63: Type mismatch
  • E64: Type mismatch, cannot find operator to evaluate “{0}” {2} “{1}”
  • E65: Constant value expected
  • E66: Cannot instantiate an enum type ({0})
  • E67: Project requires a strong name in order to reference friendly assembly “{0}”
  • E68: Assembly “{0}” does not allow friendly assembly access by the current project
  • E69: Security attributes cannot be defined in the same assembly
  • E70: Security attribute is invalid for target
  • E71: Invalid security attribute
  • E72: Exception while creating security attribute: “{0}”
  • E73: Unmanaged exports require the “Allow unsafe code” project option to be set
  • E74: Exported methods are only allowed in library projects
  • E75: Exported methods require that the CPU type option is explicitly set to either “x64” or “x86”
  • E76: Exported methods must be static
  • E77: Exported methods cannot be part of a generic class or have generic parameters
  • E78: Duplicate unmanaged export named “{0}”
  • E79: Invalid type for inline array type “{0}”
  • E80: Cannot delete debug info file
  • E81: Error while creating debug info file: {0}
  • E82: Unable to add icon resource: invalid icon file
  • E83: Error while loading unmanaged resource file “{0}”
  • E84: Cannot find unmanaged resource file “{0}”
  • E85: Duplicate unmanaged resource “{0}”
  • E86: Cannot open file “{0}”
  • E87: Unable to sign assembly with key from file “{0}”
  • E88: Unable to sign assembly with key “{0}”
  • E89: Could not retrieve public key from file “{0}”
  • E90: Could not load public key “{0}”
  • E91: Error while signing assembly: {0}
  • E93: Cannot sign an assembly with partially signed or unsigned references ({0})
  • E94: P/Invoke methods must be declared as static with the “class” prefix
  • E95: Invalid GUID format
  • E96: Internal type “Void” cannot be used directly
  • E97: Cannot use type “{0}” here
  • E98: “FieldOffset” attribute required
  • E99: “FieldOffset” attribute not allowed here
  • E100: Startup class “{0}” could not be found in this project
  • E101: Duplicate “Main” method
  • E102: Invalid signature for “main” method. It must either have no parameters, or one parameter declared as String or array of String. It must have either no result value, or an Int32 as result.
  • E103: Could not find a “Main” method in this project
  • E104: Could not find a “Main” method in startup class “{0}”
  • E105: Member “{0}” on type “{1}” is a {2} but is used as a method
  • E106: Type casts must have exactly 1 parameter
  • E107: Cannot invoke a namespace reference
  • E110: Ambiguous call to overloaded method “{0}”
  • E111: Variable expected
  • E112: Arithmetic operation will result in an overflow
  • E113: Cannot “exit”, “break” or “continue” from within a “finally” block
  • E114: Method has no result
  • E115: “continue” or “break” are only supported inside loop (“while”, “repeat”, “for”, and “loop”) statements
  • E117: Cannot re-raise exceptions outside of an “except” block
  • E118: Cannot use pointer dereferencing on “{0}”
  • E119: Cannot use the unary operator “{0}” on type “{1}”
  • E120: Statement expected
  • E121: Cannot instantiate interface type “{0}”
  • E122: Cannot instantiate abstract class “{0}”
  • E123: Interface properties cannot have “read” or “write” expressions
  • E124: “read”, “write” or both expected for interface and mapped properties
  • E125: Abstract property declaration must not provide a “read” or “write” expressions
  • E126: Property needs an expression for read or write member
  • E127: Referenced field is read-only and can only be written to from within a constructor
  • E128: Value of type “{0}” is not enumerable; “for each” expects a type that is a sequence, implements IEnumerable, IEnumerable or implements the GetEnumerator method manually
  • E129: Cannot cast from “{0}” to “{1}”
  • E130: Type expected
  • E131: “case” item “{0}” overlaps with “{1}”
  • E132: Interface events cannot have add/remove/raise accessor expressions
  • E133: Abstract events cannot have “add”, “remove” or “raise” accessor expressions
  • E134: Event needs to specifc either both “add” and “remove” accessors or neither
  • E135: Event type {0} is not a delegate
  • E136: “raise” accessor required for event “{0}” when “add” and “remove” are specified
  • E137: Operators must be declared as static with the “class” prefix
  • E138: Cast operators converting from or to an interface ({0}) are not allowed
  • E139: Invalid signature for operator
  • E140: An implicit conversion from “{0}” to “{1}” already exists
  • E141: An explicit conversion from “{0}” to “{1}” already exists
  • E142: Shift Left and Shift Right operators require an Integer (Int32) as the second parameter
  • E143: Class constructors cannot have any parameters
  • E144: Invalid signature for finalizer method. A finalizer cannot be a class method and should not have any parameters or result
  • E145: Cannot subclass sealed/static class “{0}”
  • E146: A record needs to have at least 1 field or a “StructLayoutAttribute” with “Size > 0”
  • E147: Records cannot be abstract
  • E148: Interfaces cannot be abstract
  • E149: No default inherited member available to call
  • E150: Expression following “inherited” has to be a method call, identifier or constructor call
  • E151: “constructor” calls are no longer allowed at this point
  • E152: No accessible constructors for type {0}
  • E153: No matching or parameterless constructor could be found in the ancestor, so an explicit inherited constructor call is required
  • E154: Recursive constructor call
  • E155: “self” cannot be accessed before the inherited constructor has been called
  • E157: Invalid number of parameters, expected {1} or {2} but got {0}
  • E158: Integer parameter for generic type not allowed here
  • E159: The “length()” system function expects an array, System.Array, ICollection or ICollectionimplementation
  • E160: Assertion class “{0}” could not be found
  • E161: TAssertion method “{0}” could not be found in the specified class
  • E162: Assertion method does not have the required signature of (Boolean, String)
  • E163: “old” is only supported inside “ensure” blocks
  • E164: “invariants” blocks must be prefixed as either “private” or “public”
  • E165: “invariants” can only validate private fields
  • E166: “implements” not allowed on static members
  • E167: “implements” is only allowed on fields, non-indexer properties and parameter-less methods
  • E168: interface member name expected
  • E169: “implements” type must be an interface
  • E170: “implements” type “{0}” is not in the inheritance list of this type
  • E171: “implements” is only allowed on properties, events and methods
  • E172: Cannot find a matching method for “implements {0}”
  • E173: Cannot find a matching event “add” method for “implements {0}”
  • E174: Cannot find a matching event “remove” method for “implements {0}”
  • E175: Cannot find a matching event “raise” method for “implements {0}”
  • E176: Cannot find a matching property getter for “implements {0}”
  • E177: Cannot find a matching property setter for “implements {0}”
  • E178: Cannot find a suitable method in the base class to override with signature “{0}”
  • E179: Method “{0}” not implemented as required for interface “{1}”
  • E180: Property “{0}” setter not implemented as required for interface “{1}”
  • E181: Property “{0}” getter not implemented as required for interface “{1}”
  • E182: Event “{0}” add accessor not implemented as required for interface “{1}”
  • E183: Event “{0}” remove accessor not implemented as required for interface “{1}”
  • E184: Event “{0}” raise accessor not implemented as required for interface “{1}”
  • E185: Cannot implement interface method “{0}” based on a non virtual ancestor method
  • E186: Generic constraints for “{0}” in method “{1}” must match the constraints for the method defined in interface “{2}”
  • E187: Generic constraints for “{0}” in method “{1}” must match the constraints for the method defined in the base class
  • E188: “with” construct requires a variable declaration
  • E189: Type “{0}” has no default property to use for array accessors
  • E190: “locked” not allowed on abstract, empty or external methods
  • E191: “notify” not allowed on interface properties or abstract methods
  • E192: “notify” cannot be applied properties without both a “read” and “write” accessor
  • E193: “notify” cannot be applied to static properties
  • E194: Could not find “raise” method for the manually defined “notify” event called “{0}”
  • E195: Maximum number of elements ({0}) in flags exceeded
  • E196: Valid method reference is expected
  • E197: No method “{2}” with matching delegate signature “{0}” could be found in type “{1}”
  • E198: No write accessor for property “write” attributes
  • E199: No implicit field for property to attach variable attributes to
  • E200: No read accessor for property to attach “read” attributes to
  • E201: Attributes of type “{0}” are not allowed on this member
  • E202: Attributes of type “{0}” cannot be applied multiple times on the same member
  • E203: Cannot infer the field name for the anonymous class for expression “{0}”
  • E204: Duplicate field name “{0}” for anonymous class
  • E205: “class” modifier not allowed on nested methods
  • E206: Generic parameters not allowed on nested methods
  • E207: Only fields or local variables can be passed as “var” or “out” for parameter “{0}”
  • E208: Modifier mismatch for parameter “{0}”, expected “{1}” but found “{2}”
  • E209: Generic parameter “{0}” for this method call could not fully be resolved
  • E210: Generic parameter doesn’t fulfill constraint “{1}” for “{0}”
  • E211: Cannot define class reference for type “{0}” because it is defined in an external assembly and has no existing meta class
  • E212: Cannot override method “{0}” defined in parent class “{1}” with a lower visibility than the original method, which is “{2}”
  • E213: The “Embed Interop Types” option set for reference “{0}” requires the project to target Microsoft .NET 4.0 or later
  • E214: Cannot embed interop types from assembly “{0}” because it is missing either the “ImportedFromTypeLibAttribute” attribute or the “PrimaryInteropAssemblyAttribute” attribute
  • E215: File “{0}” not found
  • E217: Invalid or unsupported resx file “{0}”
  • E218: Error while processing resx file :{1}": {0}
  • E219: Unable to create app domain (for converting .resx files) for file “{0}”
  • E220: Error converting resource file “{0}”: {1}
  • E221: Error while processing licenses: {0}
  • E222: Error while processing licenses file line {0} ({1}): {2}
  • E223: Error while processing licenses: {0} when loading assembly {1}
  • E224: The “dynamic” type requires the “RemObjects.Elements.Dynamic.dll” assembly to be referenced
  • E225: “{0}” is not a valid type for array ranges
  • E226: Fixed-size dimensions must precede variable-sized dimensions
  • E227: “class” modifier not allowed on global methods
  • E228: Iterators cannot “exit” with a result
  • E229: Cannot “yield” from within an except block
  • E230: “yield” is only allowed within iterators
  • E231: Invalid return type for iterator method: iterators have to return a sequence or an IEnumerable.
  • E232: “pinned” variables are not allowed inside iterators or anonymous methods
  • E233: “var” and “out” parameters are not supported for iterator methods
  • E234: “System.TypedReference” is not allowed as a type for any member
  • E236: The “unsafe” modifier is required for this member
  • E237: The “unsafe” modifier require the “Allow unsafe code” project option to be set
  • E238: Exception while applying aspect “{1}”: {0}
  • E239: This aspect requires that the target class is a descendant of “{0}”
  • E240: This aspect requires the target class to implements the “{0}” interface
  • E241: This aspect requires the constant “{0}” to exists in the target class
  • E242: This aspect requires the field “{0}” to exists in the target class
  • E243: This aspect requires the event “{0}” to exists in the target class
  • E244: This aspect requires the method “{0}” to exists in the target class
  • E245: This aspect requires the property “{0}” to exists in the target class
  • E246: Aspect requires that the target class has at most {1} generic parameters while it has {0}
  • E247: Aspect requires that the target class has at least {1} generic parameters while it has {0}
  • E248: Aspect type {0} cannot be defined in the same project. It must be defined in an external library
  • E250: Anonymous methods are not supported in nested functions
  • E251: Cannot access “out” or “var” parameters from inside a lambda expression
  • E252: Cannot “break” or “continue” from within a lambda expression
  • E253: Error while generating executable: {0}
  • E254: Invalid number of parameters in lambda, expected {1} but got {0}
  • E255: Delegate type expected for lambda or anonymous method, but found “{0}”
  • E256: Result type from lambda’s or anonymous method does not match, expected “{0}”, but got “{1}”
  • E257: Lambdas or anonymous methods cannot use the “result” variable
  • E258: Signature for anonymous method does not match for parameter {0}, expected “{2}”, but got “{1}”
  • E259: Duplicate identifier “{0}”
  • E260: “{0}” not supported in aspects
  • E261: The “unquote()” compiler magic function is only available in Cirrus replacement lambdas
  • E262: ASP.NET “default class” member expected
  • E263: Construct is not supported for LINQ expressions
  • E264: Construct is not supported for LINQ expressions unless the project targets Microsoft .NET 4.0 (Silverlight 5) or later
  • E265: Static duck typing failed because of missing methods
  • E266: Cannot access underlying field to raise event “{0}”
  • E267: Property “{0}” on type “{1}” is read-only
  • E268: Property “{0}” on type “{1}” is write-only
  • E269: Property calls itself recursively
  • E270: Default parameter value must be the same in interface and implementation
  • E272: String not terminated
  • E273: Comment not terminated
  • E274: Unexpected ASP.NET opening/closing tag: {0}
  • E275: Syntax error in character literal
  • E276: Cannot use $ELSE twice within $IFDEF
  • E277: Message code expected ("$HIDEMESSAGE ")
  • E278: No matching $IFDEF for $ELSE
  • E279: No matching $IFDEF for $ENDIF
  • E280: on/off/default expected
  • E281: $RANGE ON/OFF/DEFAULT expected
  • E282: Message code expected ("$SHOWMESSAGE ")
  • E283: $TAILCALL ON, OFF or DEFAULT expected
  • E284: Too many nested include files while processing “{0}” from “{1}”
  • E285: Too many parameters for conditional define
  • E286: Unknown compiler directive “{0}”
  • E287: Syntax error
  • E288: A reference to the “System.Core.dll” assembly is required to use “future” types and asynchronous methods ({0} needed)
  • E289: The “future” helper type “{0}” does not have the required “{1}” method
  • E290: Async methods cannot have “var” or “out” parameters (parameter: {0})
  • E291: Directive “{0}” not allowed here
  • E292: Member “{0}” cannot be “virtual” and “static” at the same time
  • E293: Abstract property declaration must specify “read”, “write” or both accessors
  • E294: Forwarded method is never implemented
  • E295: Parallel “for” statements do not support “step”
  • E296: Parallel “for” statements do not support “downto”
  • E297: Parallel “for” statements require the project to target Microsoft .NET 4.0 or later
  • E298: Parallel “for each” statements require the project to target Microsoft .NET 4.0 or later
  • E299: Forwarded class “{0}” is never implemented
  • E300: Array element count mismatch, got {1} but expected {2} elements for dimension {0}
  • E301: Array Dimensions must be provided for inline array expressions
  • E302: Array expression expected for this dimension of a multi dimensional array
  • E303: “equals” operands for the “join” clause are reversed. The Outer key selector should be on the left side of the “equals”, the join key selected should be on the right side
  • E304: “pinned” variables can only be assigned once
  • E305: The “pinned” modifier is only allowed on unmanaged pointers types, which “{0}” is not
  • E306: Member “{0}” is obsolete
  • E307: The “inc()” and “dec()” compiler magic functions expects an integer, float, pointer or enum type
  • E308: Cannot" exit" from a parallel loop
  • E309: Cannot “yield” from an anonymous method
  • E310: Inline interface member (method pointer, lambda or anonymous method) expected
  • E311: Inline interface method pointer for member “{1}” of type “{0}” has more than one overload for this signature
  • E312: If one or more properties is marked as “default”, all properties with the same name must be marked as such
  • E313: Overloaded “default” indexer properties must be declared with the same name
  • E314: Only indexer properties may be declared as “default”
  • E315: Cannot infer delegate type for expression “{0}”
  • E316: No overloaded method “{0}” with these parameters on type “{1}”
  • E317: No overloaded constructor with these parameters for type “{0}”
  • E318: No overloaded method “{0}” with {1} parameters on type “{2}”
  • E319: No overloaded constructor with {1} parameters for type “{0}”
  • E320: Element “{1}” was removed by an aspect, but is still referenced from “{0}”
  • E321: No dynamic duck type implementation available
  • E322: The default static and weak duck typing implementation only works with interface types
  • E323: Flag “{0}” not allowed on this type
  • E324: Cannot infer type of open array constant; add a cast or explicit type declaration
  • E325: “object” expected
  • E326: Indirectly used type “{0}” is defined in an unreferenced assembly ({1})
  • E327: Private methods cannot be abstract
  • E328: Conversion of “{0}” from “{1}” exceeds the bounds of the target type “{2}”
  • E329: “raises” is not supported on this platform
  • E330: Externally referenced type “{0}” cannot be found
  • E331: Externally referenced type “{0}” cannot be a foreign type
  • E332: Externally referenced type “{0}” must be public
  • E333: Case for externally referenced type “{0}” does not match original case “{1}”
  • E334: “await” requires the .NET 4.5 Framework, or higher
  • E335: “await” is not allowed in iterators
  • E336: “await” requires a method with no result, or one that returns a Task or Task
  • E337: Number of elements in tuple literal ({0}) does not match tuple element count ({1})
  • E338: Missing $ENDIF for $IFDEF
  • E339: Cannot override final method “{0}”
  • E340: “{0}” has an extension method “{1}” and dynamic parameters. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax
  • E341: Type mismatch, cannot infer type from expression without result type
  • E342: Cannot override non-virtual method “{0}”
  • E343: Mapped type “{0}” cannot descend from regular (non-mapped) type “{1}”
  • E344: Regular (non-mapped) type “{0}” cannot descend from mapped type “{1}”
  • E345: Cannot recursively map to a mapped type ("{0}")
  • E346: Mapped to type must match the kind of type (record, interface, class) it maps to
  • E347: Protected blocks (like “try”, “using”, “locking” and “for each”) cannot be used in mapped methods
  • E348: “mapped” is only allowed for methods on mapped types
  • E349: “await” is not supported in methods with var or out parameters
  • E350: Cannot use “await” from within an except block
  • E351: Cannot use “await” in an anonymous method
  • E352: The Task.GetAwaiter() method is missing
  • E353: “await” is not allowed when a var or out parameter precedes it on the stack
  • E354: Cannot use “await” here, an unknown element was found on the stack
  • E355: “await” can only be used on Task or Task
  • E356: Future helper class is missing a static field “{0}”
  • E357: Future helper should be a TaskScheduler
  • E358: “params” parameter type must be a simple array
  • E359: “mapped to” requires a simple identifier
  • E360: Mapped type member expected but found “{0}”
  • E361: Reference type expect
  • E362: Iterators cannot be mapped
  • E363: Language element not supported on this target platform
  • E364: Only the last part of method signature may have multiple parameter values
  • E365: Static variables are not supported
  • E366: Cannot use static type “{0}” for member
  • E367: Cannot use extension type “{0}” directly
  • E368: Type “{0}” is defined in multiple references: {1}
  • E369: Tuple element index {0} is out of range, (0…{1})
  • E370: Too many elements on the left side of tuple assignment, got {0} but expected {1}
  • E371: Generic parameter cannot be an unsafe type
  • E372: Expression is too complex
  • E373: No overload with {1} parameters, expected {0}
  • E374: {1} or {2} expected, got {0}
  • E375: One of {1} expected, got {0}
  • E376: Member “{0}” is obsolete: {1}
  • E377: “with” on value types requires System.TypeReference which is not supported by WinRT
  • E378: Could not find any matching interface method with the name “{0}” that matches this signature: {1}
  • E379: Semicolon not allowed before else
  • E380: Type “{0}” cannot be used as ancestor for type “{1}”, because it does not have the right visibility
  • E381: Invalid signature for “main” method. It must either have no parameters, one parameter declared as array of String, or two parameters declared as Integer and ^^AnsiChar. It must have either no result value, or an Int32 as result.
  • E382: Type “{0}” cannot be used as a type for public member “{2}” of type “{1}”, because it is not public
  • E383: Type “{0}” cannot be used as an argument type for public method “{2}” of type “{1}”, because it is not public
  • E384: Type “{0}” cannot be used as a result type for public method “{2}” of type “{1}”, because it is not public
  • E385: The method found in the base class to override “{1}” does not match the signature “{0}”
  • E386: Statement expected, did you mean to use “:=” instead of “=”?
  • E387: A value and a single variable name is required for readonly inline variables
  • E388: Variable is read-only
  • E389: “external” is not allowed on instance methods
  • E390: “external” can only be applied to global members
  • E391: “external” is not allowed on variables
  • E392: “selector” is only available in methods that are part of a class
  • E393: “await” requires “GetAwaiter” instance method or extension method on type “{0}”
  • E394: “await” requires “GetAwaiter” to return a type with at least 3 methods: OnCompleted(Action), get_IsCompleted: Boolean, GetResult
  • E395: No overloaded global function “{0}” that has generic parameters in namespace “{1}”
  • E396: No overloaded global function “{0}” with these parameters in namespace “{1}”
  • E397: No overloaded global function “{0}” with {1} parameters in namespace “{2}”
  • E398: No overloaded global function “{0}” with 1 parameter in namespace “{2}”
  • E399: No overloaded method “{0}” with 1 parameter on type “{2}”
  • E400: No overloaded constructor with 1 parameter for type “{0}”
  • E401: Unexpected semicolon found
  • E402: Initializer expected; did you mean := instead of = ?
  • E403: Referenced field is readonly and can only be written to from the class constructor
  • E404: Method name “{0}” is reserved for internal use
  • E405: No overloaded global function “{0}” with these parameters in namespace “{1}”, best matching overload is “{2}”
  • E406: No overloaded method “{0}” with these parameters on type “{1}”, best matching overload is “{2}”
  • E407: No overloaded constructor with these parameters for type “{0}”, best matching overload is “{1}”
  • E408: Anonymous method/lambda has no result
  • E409: Unexpected XmlDoc comment
  • E410: Inline delegate type cannot be mapped to framework type; it must conform to System.Action/Func delegates
  • E411: Inline delegate types not supported on this platform
  • E412: Generics are not supported on this platform
  • E413: Finalizer is not supported on this platform
  • E414: Operator methods not supported on this platform
  • E415: Multi-dimensional array with open high bounds not supported on this platform
  • E416: The type “{0}” cannot be used for nullable types on this platform
  • E417: Interface types not allowed on unmanaged records
  • E418: Methods and properties are not allowed on unmanaged records
  • E419: Initial values for fields are not allowed on unmanaged records
  • E420: Event {0} method “{1}” does not match event type
  • E421: Cannot create extension type for “{0}”
  • E422: Underlying type for mapped type must implement interface “{0}”
  • E423: Await not allowed in async methods
  • E424: Element is not allowed in a mapped type
  • E425: Element is not allowed in an interface type
  • E426: Mapped method “{0}” recursively calls itself
  • E427: “volatile” is only allowed on 32-bit and 64-bits integers, pointers and object references
  • E428: “init” method must return id or class instance
  • E429: At least one member is expected for anonymous class/record
  • E430: Storage modifiers not supported on this platform
  • E431: “case” or “default” expected
  • E432: Nougat.fx reference needed for this feature
  • E433: “optional” not supported on this platform
  • E434: “optional” is only allowed on interface members
  • E435: Namespace prefix “{0}” does not exist
  • E436: Cannot “goto” into or out of an anonymous method
  • E437: Cannot “goto” out of a “finally” block
  • E438: Unable to resolve target of “goto” case/default
  • E439: Unable to resolve label for “goto {0}”
  • E440: The “self” for a mapped method cannot have side effects if the type is a value type
  • E441: The expression passed to a mapped method’s var/out parameter cannot have side effects
  • E442: “instancetype” is only allowed as a result or parameter type
  • E443: Positional arguments cannot follow named arguments
  • E444: Lambda or anonymous method expected
  • E445: All sub arrays in multi dimensional arrays must have the same number of elements
  • E446: Multi dimensional array constant cannot have zero elements
  • E447: Enum for set must be of an integer type
  • E448: Cannot access protected member “{0}” through instance of type “{1}”, instance must be “{2}” or a sub class
  • E449: Generic parameter “{0}” cannot have itself as a constraint
  • E450: Cannot use goto to jump to a label inside a try
  • E451: Constructor/finalizers on records not allowed on this platform
  • E452: The “notify” keyword is not supported or required on Cocoa
  • E453: Notify with a string parameter requires that “automaticallyNotifiesObserversForKey:” is not already implemented by this class
  • E454: “selector” is not supported on this platform
  • E455: using autoreleasepool is not supported on this platform
  • E456: “=>” requires a __mapped modifier on the class
  • E457: fields not allowed on interface types
  • E458: Type “{0}” cannot be used as nullable
  • E459: Cannot fall through from one case item to another
  • E460: “is record” constraints not supported on this platform
  • E461: “has constructor” constraints not supported on this platform
  • E462: “struct” constraints not supported on this platform
  • E463: “new()” constraints not supported on this platform
  • E464: Case for identifier “{0}” does not match original case “{1}”
  • E465: class defined in the implementation section cannot have an access modifier
  • E466: Property does not have a write accessor
  • E467: Cannot return without a value
  • E468: Type “void” can only be used as a result type or as pointer
  • E469: Type “{0}” can only be used as pointer
  • E470: member “{0}” on type “{1}” cannot be called because it is {2}
  • E471: Cannot use #else twice within #if
  • E472: No matching #if for #else
  • E473: No matching #if for #endif
  • E474: Missing #endif for #if
  • E475: Inline delegate type cannot be mapped to framework type; it must conform to “com.remobjects.elements.system.Func/Action” delegates
  • E476: Inline delegate type require “com.remobjects.elements.rtl.jar” to be referenced
  • E477: Declaration expected
  • E478: Generic protocol “{0}” is not closed for parameter “{1}”
  • E479: Cannot set member on value type returned from property or method
  • E480: Cannot use the binary operator “{0}”
  • E481: Binary operator “{0}” has no association
  • E482: The “iterator” modifier not supported here
  • E483: Not nullable type requires initialization
  • E484: Cannot access members on wrapped nullable type “{0}”
  • E485: “let” declaration cannot be a computed property
  • E486: Parameter {0} is “{1}”, should be “{2}”, in call to {3}
  • E487: “weak” is not allowed on non-nullable type “{0}”
  • E488: Lazy property cannot have get/set accessors
  • E489: Lazy property requires initialization
  • E490: Invalid priority for operator, must between 0 and 255
  • E491: Conflicting operator definition for operator “{0}” mismatches in associativity “{1}” or precedence “{2}” in reference “{3}”
  • E492: Flag “{0}” not allowed on this member
  • E493: Unexpected ( after a property getter, did you mean to have an initializer?
  • E494: Case item must be terminated
  • E495: Nested methods not allowed in mapped/inline methods
  • E496: Cannot access member “{0}” before it is initialized
  • E497: Cannot use implicit parameters because no anonymous method is in scope
  • E498: Implicit parameter “${0}” exceeds the number of parameters ({1}) of the current anonymous method
  • E499: Nested functions cannot have generic parameters
  • E500: Parenthesis are required to call method {1}(), cannot assign method group to “{0}”
  • E501: Reference to the Swift base library required for Swift style arrays
  • E502: Duplicate “main()” code block
  • E503: Tuples require .NET v4.0
  • E504: Semicolon (:wink: required to separate two statements on the same line
  • E505: Constructor does not always initialize member “{0}”
  • E506: Variable “{0}” must be initialized before it can be used
  • E507: Events cannot have a not-nullable type “{0}”
  • E508: Events must be defined inside a type
  • E509: Unknown identifier “{0}”, did you mean “{1}”?
  • E510: No static member “{1}” on type “{0}”, did you mean “{2}”?
  • E511: No member “{1}” on type “{0}”, did you mean “{2}”?
  • E512: Variable declared with “let” requires initialization
  • E513: Parenthesis are required to call method {0}()
  • E514: Generics not allowed here
  • E515: Defining an anonymous method requires the arguments inside the { } followed by “in”
  • E516: Lambda parameters with a type should be inside a parenthesis block
  • E517: “@autoclosure” can only be applied to delegate types without parameters
  • E518: Extension types cannot add instance fields
  • E519: Extension types cannot have fields with initial values
  • E520: No matching constructor without selector parameters for type “{0}”
  • E521: IntPtr/UIntPtr is not a valid type for enum
  • E522: “parallel for” must have an implicit variable definition
  • E523: An expression tree may not contain dynamic operations
  • E524: Method reaches end without returning a value
  • E525: Cannot invoke data value
  • E526: Duplicate method “{1}” has the same signature as the accessor for a property
  • E527: Unary “{0}” operator must have one parameter and a result
  • E528: Binary “{0}” operator must have two parameter and a result
  • E529: Operator must have at least 1 parameter with the same type as the class it is defined in
  • E530: Implicit/explicit operator must have it’s own class type as return or parameter type
  • E531: Reference “{0}” depends on mscorlib {1} but this project references mscorlib {2}
  • E532: Enums with tuple parameters cannot have a base type
  • E533: Members in enums with tuple parameters cannot have a value
  • E534: Tuple expected for “case” item
  • E535: Cannot have multiple “case” statements that define variables for a single code block
  • E536: Defining tuple parameters in “case” is only allowed in enums with tuple parameters
  • E537: The number of tuple members must match the ones defined for this enum members ({0})
  • E538: Variable is never initialized
  • E539: Enum for set cannot have values that start below 0
  • E540: Enum for set cannot have values that exceed 63
  • E541: “case” cannot appear after the “default” block of a switch
  • E542: Cannot fallthrough cases, explicit “fallthrough” expected
  • E543: “Self” is only allowed as a type in a static context
  • E544: “self” is required
  • E545: Method “{0}” hides a final method in parent class with the same name and signature
  • E546: Value “{0}” exceeds the bounds of target type “{1}”
  • E547: Cannot infer enum type from context
  • E548: Unknown type “{0}”, did you mean “{1}”?
  • E549: Open generic type aliases in protocols are not supported in Silver
  • E550: “Equals” constraints in “where” are not supported in Silver
  • E551: Designated constructor cannot call constructor on same class, “convenience” keyword required
  • E552: Convenience constructor cannot call base constructor
  • E553: Cannot call inherited convenience constructor
  • E554: Convenience constructor cannot be “required”
  • E555: Required constructor “{0}” not implemented
  • E556: Required constructor “{0}” needs “required” modifier
  • E557: Consitent spacing needed around binary operator
  • E558: Parenthesis required for call in parameter {0} of {1}
  • E559: Cannot safely cast “{0}” to “{1}” did you mean to use “as!”?
  • E560: Expression “{0}” doesn’t have a name
  • E561: var/out parameters cannot have a default value
  • E562: Cannot have ? or ! type modifier after “as Type”

Hints

  • H0: Expression will always evaluate to “{0}”
  • H1: “nil” values in a “coalesce()” expression will never evaluate
  • H2: This and any following “coalesce()” parameter cannot be returned because the preceding value is known to be non-nil
  • H3: parameter {0} is “{1}” should be “{2}”
  • H4: Aspect exception triggered while using aspect {0}
  • H6: Field “{1}” defined in type “{0}” is never used
  • H7: Field “{1}” defined in type “{0}” is assigned to but never read
  • H8: Field “{1}” defined in type “{0}” is never assigned
  • H10: Local variable “{0}” is not used
  • H11: Local variable “{0}” is assigned to but never read
  • H12: Local variable “{0}” is never assigned
  • H13: Variable “{0}” might not always be initialized
  • H14: This statement cannot be reached
  • H15: Best matching overload is “{0}”
  • H16: method reaches end without returning a value

Warnings

  • W0: Case for identifier “{0}” does not match original case “{1}”
  • W1: XmlDoc missing for member “{0}”
  • W3: “{0}” is unnecessary
  • W4: Exception type “{1}” is a descendant of “{0}” handled by a previous “except” clause, which will be triggered instead of this one
  • W5: Exception type “{0}” is already handled by a previous “except” clause, which will be triggered instead of this one
  • W6: “case” item “{0}” will never be reached because it’s superseded by item “{1}”
  • W7: Type is treated as “abstract”, since it has one or more abstract members
  • W8: Method “{0}” hides a method in parent class with the same name and signature
  • W9: CLS compliant type member uses non-CLS compliant type “{0}”
  • W10: CLS compliant interface cannot have non-CLS compliant member “{0}”
  • W11: CLS compliant enumeration type “{0}” has a non-CLS compliant underlying type “{1}”
  • W12: CLS compliant type “{0}” descends from non-CLS compliant type “{1}”
  • W13: CLS compliant type “{0}” has a non-CLS compliant generic constraint type “{1}”
  • W14: CLS compliant member “{0}” matches the name it’s the type “{1}”
  • W16: Method “{1}” referenced from aspect “{0}” not found
  • W17: Type “{1}” referenced from aspect “{0}” not found
  • W18: Unable to resolve XmlDoc tag “{0}” for “{1}”
  • W19: Unable to load XmlDoc include file “{0}”
  • W20: Result of XmlDoc include query “{0}” was empty
  • W21: “{0}” not applicable here
  • W22: XML tag not closed ({0})
  • W23: XML closing tag doesn’t match opening tag ({0})
  • W24: Code after final “end.” ignored
  • W26: Field “{0}” will not be initialized until after the inherited constructor call has finished
  • W27: Variable “{0}” hides existing member “{1}”
  • W28: Member “{0}” is obsolete
  • W29: No matching {$REGION} for this {$ENDREGION}
  • W30: No closing {$ENDREGION} for this {$REGION}
  • W31: “{0}” does not have a corresponding DesignableClassName property in the project file. It should match the full name of the class this resource belongs to
  • W32: Methods with an Extension attribute can only be defined within in a static class that also has the Extension attribute
  • W33: Type “{0}” is not needed in “raises” clause, as ancestor type “{1}” is already listed
  • W34: Overridden or implemented method “{0}” must have same or stricter “raises” list than the original. Type “{1}” conflicts with this
  • W35: Duplicate XML comment summary
  • W36: Method “{0}” overrides a parent method with the same name and signature
  • W37: Member “{0}” is obsolete: {1}
  • W38: “reintroduce” is not supported on this platform. Method “{0}” will override the parent method with the same name and signature
  • W39: Variable “{0}” hides existing global member “{1}”
  • W40: Unknown selector: “{0}”
  • W41: “new” modifier not supported on this platform. Method “{0}” will override the parent method with the same name and signature
  • W42: Comparing a value type with a reference type will box the value type and evaluates to “{0}”
  • W44: Value “{0}” not covered in switch
  • W45: Switch does not cover all values

Java specific errors

  • JE0: A Java base library reference is missing and no default “rt.jar” could be found
  • JE1: sizeOf() is not supported on reference types for Java
  • JE2: Invalid signature for “main” method. It must either have no parameters, or one parameter declared as array of String. It must have either no result value, or an Int32 as result.
  • JE3: “var” and “out” parameters are not supported on Java
  • JE5: Event members are not supported on Java
  • JE6: “unsafe” code is not supported on Java
  • JE7: Records are not supported on Java
  • JE8: “implements” is not supported for Java/Cocoa
  • JE9: Generic type “{0}” is not available at runtime
  • JE10: Automatically generated generic type adapter method for “{0}” clashes with existing “{1}”
  • JE11: Java enums cannot have an underlying type
  • JE12: Java enums do not support “flags” mode
  • JE13: Java enum members cannot have a value
  • JE14: Value of type “{0}” is not enumerable, it has to be a sequence, implement Iterable, Iterable or implement the “iterator” method manually
  • JE15: Cannot “yield” from within an except block for Java
  • JE16: Only named parameters are allowed in Java annotations
  • JE17: Invalid value for annotation
  • JE18: “typeOf()” in annotations must point to a concrete class
  • JE19: Multi-dimensional arrays are not supported for Java
  • JE20: Could not load referenced Java archive “{0}”: {1}
  • JE21: Invalid type used in “raises” clause; types should descend from java.lang.Throwable, but not from java.lang.Error or java.lang.RuntimeException
  • JE22: Cannot access a non-public type from another namespace
  • JE24: A reference to “com.remobjects.elements.rtl.jar” is needed for tuples
  • JE25: A reference to “com.remobjects.elements.rtl.jar” is needed for var/out parameters
  • JE26: A reference to “com.remobjects.elements.rtl.jar” is needed for records
  • JE27: Java enum values cannot be used as constants, because they are object instances
  • JE28: Arrays with a non-0 lower range are not supported for Java
  • JE29: The “notify” keyword requires “firePropertyChange” to be implemented in the ancestor class, if the ancestor also has property notifications
  • JE30: Cannot access an assembly visible member from another namespace
  • JE31: A reference to “com.remobjects.elements.rtl.jar” is needed for converting arrays to Iterable
  • JE32: A reference to “com.remobjects.elements.rtl.jar” is needed for unsigned types
  • JE33: A reference to “com.remobjects.elements.rtl.jar” is needed for inline for loops
  • JE34: A reference to “com.remobjects.elements.rtl.jar” is needed for reference “{0}”
  • JE35: A reference to “com.remobjects.elements.rtl.jar” is needed for Dynamic

Java specific warnings

  • JW0: Property will be PascalCased to “{0}” to conform with Java conventions
  • JW1: This API requires Android api level {0} while this project targets min version {1}

Nougat specific errors

  • NE0: CPU architecture not supported: {0}
  • NE1: No matching CPU architecture “{0}” in reference “{1}”
  • NE2: An “rtl.fx” reference is missing from the project
  • NE3: Could not find .fx file “{1}” referenced from “{0}”
  • NE4: Cannot get the address of a weak type
  • NE5: “length()” requires a string or array parameter, got: “{0}”
  • NE6: Function pointer type “{0}” can only point to global functions
  • NE7: Block function pointer type “{0}” can only point to methods
  • NE8: “bridge()” needs a pointer type or managed class type
  • NE9: “bridge()” with a pointer generic parameter needs a class type as parameter
  • NE10: “bridge()” with a class type generic parameter needs a pointer as parameter
  • NE11: Cannot call reserved ARC method “{0}” directly
  • NE12: “strong” and “weak” type references are not allowed in records
  • NE13: Static arrays of “strong” or “weak” type references are not supported as parameter or result types
  • NE14: Could not load library “{0}”: {1}
  • NE15: Invalid bridge mode for casting from CoreFoundation entity to Cocoa object. Use “BridgeMode.Transfer”, instead
  • NE16: Invalid bridge mode for casting from Cocoa object to CoreFoundation entity. Use “BridgeMode.Retained”, instead
  • NE18: The public type “{0}” has a duplicate with the same short name, which is not allowed on Cocoa
  • NE19: The public type “{0}” has a duplicate with the same short name in reference “{1}”, which is not allowed on Cocoa
  • NE20: The “interlocked*()” functions expect a pointer or integer type
  • NE21: Unable to load “RemObjects.Oxygene.LLVM.dll” or “libRemObjects.Oxygene.LLVM.dylib”
  • NE22: Cannot find type “{0}” from library “{1}” referenced by “{2}”
  • NE23: Apple does not support 64-bit in combination with Deployment Targets lower than iOS 7.0 at this time (file: {0}). Set Deployment target to empty or iOS 7.0 or higher, or uncheck the 64bit Architecture
  • NE24: An “rtl.fx” reference is required to convert a dynamic array to a sequence
  • NE25: Methods with the “[IBAction]” attribute cannot be overloaded

Nougat specific hints

  • NH0: “{0}” might not be available on deployment targets lower than {1}
  • NH1: weak type references might not be available on all deployment targets

Nougat specific warnings

  • NW0: Unknown format specifier “{0}”
  • NW1: Format specifier “{1}” (nr {0}) expects a “{2}” while “{3}” was passed as a parameter
  • NW2: Format string has {0} parameters while {1} are passed
  • NW3: Format string should be a literal
  • NW4: Format string ends with an unfinished format specifier

Cross platform hints

  • CPH0: “raises” expressions will be ignored on .NET and Cocoa
  • CPH1: Storage Modifiers (weak/strong/unretained) will be ignored on .NET and Java
  • CPH2: “using autoreleasepool” will be ignored on .NET and Java
  • CPH3: Optional interface members will be ignored on Java and .NET

Cross platform warnings

  • CPW1: NOT USED ANYMORE: From query expressions are not supported on Java and Cocoa
  • CPW2: Await expressions are not supported on Java and Cocoa
  • CPW3: Queryable sequence are not supported on Java and Cocoa
  • CPW4: Parallel sequence are not supported on Java and Cocoa
  • CPW5: BigInteger values are not supported on Java and Cocoa
  • CPW6: Selectors are not supported on .NET and Java
  • CPW7: “function”, “method” or “procedure”-type delegates cannot be used with blocks
  • CPW8: Unsafe types and operations are not supported on Java
  • CPW9: NOT USED ANYMORE: Generics on non-mapped types are not supported on Cocoa
  • CPW10: The “interlocked*()” compiler magic functions are not supported on Java
  • CPW11: Boxing non-standard value types is not supported on Cocoa
  • CPW12: Aspect “{1}” is not supported on {0}
  • CPW13: Attributes are not supported on Cocoa
  • CPW14: Use of “init*” methods as constructors is not supported on Java and .NET
  • CPW15: Instance methods on records are not supported on Cocoa

ck,

Thanks a lot. I’ll file this away. Are you planning on adding that to the help?

the list gets updated a lot, we don’t have plans of showing this in help becausee it would be out of date by the time it gets published.