Enum MessageCode
Specifies the code of a diagnostic message.
public enum MessageCode
- Extension Methods
Fields
Custom = -1Represents a custom message emitted by tools such as code analyzers.
DS0000_Success = 0Specifies that an operation was successful.
DS0001_UnknownError = 1An unknown and not further specified error or an unhandled exception.
DS0002_SyntaxError = 2An error that occured during the parsing stage of the compilation process that was emitted by ANTLR.
DS0003_MethodNotFound = 3Emitted when the specified argument list does not match any available overload of this function.
[Obsolete("This error code is not emitted by the compiler anymore.")] DS0004_ConstructorNotFound = 4Emitted when the specified argument list does not match any available constructor for this type.
DS0005_NamespaceNotFound = 5Emitted when an import directive is used on a non-existent namespace.
DS0006_InvalidIdentifier = 6Emitted when an identifier contains invalid characters or is a language keyword.
DS0007_VariableTypeChanged = 7Emitted when the type of the new value of a variable does not match the type of the old value.
DS0008_InvalidModifier = 8Emitted when an access modifier is invalid for the specified object.
DS0009_NoExpressionInFunction = 9Emitted when a function contains no expressions.
DS0010_TypeNotFound = 10Emitted when a specified type was not found.
[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0011_LoopConditionNotBoolean = 11Emitted when the condition of a while loop is not a boolean.
DS0012_UndefinedValue = 12DS0013_InvalidArgument = 13General error emitted if a command is invoked with an invalid set of arguments.
DS0014_InvalidConversion = 14Emitted when a conversion between two types is not implemented.
[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0015_UnknownType = 15Obsolete.
[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0016_ConstantReassignment = 16Emitted when a constant is being reassigned.
DS0017_UnassignedConstant = 17Emitted when a constant is declared without a value.
[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0018_DoubleDefinition = 18Obsolete.
DS0019_ImmutableValueReassignment = 19Emitted when a constant is being reassigned.
DS0020_GenericValueTypeInvalid = 20DS0021_FeatureNotAvailable = 21Emitted when a feature of a newer Dassie version is being used.
DS0022_PropertyNotFound = 22DS0023_InvalidAssemblyReference = 23Emitted when an assembly reference could not be resolved.
DS0024_InvalidFileReference = 24Emitted when a file reference could not be resolved.
DS0025_ReadOnlyProperty = 25[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0026_VariableAlreadyDefined = 26Obsolete.
DS0027_InvalidEscapeSequence = 27Emitted when an unknown escape sequence is being used.
DS0028_EmptyProgram = 28Emitted when the program contains no executable code.
DS0029_IntegerOverflow = 29Emitted when a checked expression results in an integer overflow.
DS0030_FileAccessDenied = 30Emitted when an IO error occurs, denying the Dassie compiler access to the source files or output file.
DS0031_NoEntryPoint = 31Emitted when a Dassie code contains no suitable entry point.
[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0032_InvalidClassModifiers = 32Obsolete.
DS0033_ConstraintViolation = 33Emitted when an argument violates a parameter constraint.
DS0034_ImplicitConversionNotPossible = 34Emitted when implicitly converting between two types is not possible.
DS0035_ExplicitConversionNotPossible = 35Emitted when explicitly converting between two types is not possible.
DS0036_EntryPointNotStatic = 36Emitted when the entry point of a Dassie program is not a static function.
DS0037_ArithmeticError = 37General error message emitted for various kinds of arithmetic errors.
DS0038_BranchExpressionTypesUnequal = 38Emitted when the return types of branches do not match.
DS0039_ConditionalExpressionClauseNotBoolean = 39Emitted when the condition of a conditional expression is not a boolean.
DS0040_FieldNotFound = 40Emitted when a type does not include a specified field.
DS0041_VariableNotFound = 41Emitted when the specified name is not assigned to a value.
DS0042_ListItemsHaveDifferentTypes = 42Emitted when the types of list or array items are not the same.
DS0043_ArrayElementAssignmentIndexExpressionNotInteger = 43Emitted when the index expression of an array element assignment expression is not an integer.
DS0044_PossiblyUnintentionalInfiniteLoop = 44Emitted when the compiler thinks an infinite loop could be unintentional.
DS0045_DCUpdateAvailable = 45Emitted when an update to dc is available. This is an information message, not an error.
DS0046_InlineILInvalidOpCode = 46Emitted when an inline IL instruction has an invalid opcode.
DS0047_InlineILInvalidOperand = 47Emitted when an inline IL instruction has an invalid operand.
DS0048_UnionTypeDuplicate = 48Emitted when there are duplicate types in a union type.
DS0049_SourceFileNotFound = 49Emitted when a specified source file could not be found.
DS0050_InvalidForLoopSyntax = 50Emitted when a for loop contains more than 3 expressions.
DS0051_ExpectedIntegerReturnValue = 51Emitted when the return value of a top-level program is not an integer.
DS0052_MoreThanOneClassInInheritanceList = 52Emitted when the inheritance list of a type contains more than one CLR class.
DS0053_InvalidAccessModifier = 53Emitted when a type member has an invalid access modifier.
DS0054_WrongReturnType = 54Emitted when the return value of a function does not match the function signature.
DS0055_WrongFieldType = 55Emitted when a field is set to a value of the wrong type.
DS0056_MultipleEntryPoints = 56Emitted when multiple functions are declared as application entry points.
DS0057_SymbolResolveError = 57Generic error emitted when a symbol of unspecific type could not be resolved.
DS0058_IncompatibleType = 58Emitted when a variable is assigned an expression of an incompatible type.
DS0059_RedundantModifier = 59Message emitted when a type or member is declared with a redundant access modifier.
DS0060_RethrowOutsideCatchBlock = 60Emitted when a rethrow expression is used outside of a catch block.
DS0061_InvalidThrowExpression = 61Emitted when the expression to be thrown is not a reference type.
DS0062_MissingCatchBranch = 62Emitted when a try block is not followed by a catch block.
DS0063_LocalOutsideScope = 63Emitted when a local is not in scope.
DS0064_UnsupportedFeature = 64Emitted when a feature that is not yet implemented is used.
DS0065_InvalidExpression = 65Emitted when something that shouldn't is used as an expression.
DS0066_AssignmentInvalidLeftSide = 66Emitted when the left side of an assignment is invalid.
DS0067_PropertyNoSuitableSetter = 67Emitted when a property cannot be assigned to.
DS0068_ResourceFileNotFound = 68Emitted when a resource specified in dsconfig.xml could not be located.
DS0069_MultipleUnmanagedResources = 69Emitted when multiple unmanaged resources are specified in dsconfig.xml.
DS0070_WinSdkToolNotFound = 70Emitted when a required Windows SDK tool could not be located.
DS0071_AvoidVersionInfoTag = 71Emitted when the<VersionInfo>tag is used in dsconfig.xml.
DS0072_IllegalIgnoredMessage = 72Emitted when an ingored message is specified in dsconfig.xml that cannot be ignored.
DS0073_NoSourceFilesFound = 73Emitted when 'dc build' is called but there are no source files.
DS0074_Unused = 74Unused.
DS0075_MetadataLimitExceeded = 75Emitted when one of the conditions in the following list is met. These restrictions are dictated either by the ECMA-335 specification, implementation-specific restrictions of the Microsoft implementation of ECMA-335, or practical restrictions of the Dassie compiler.
- A fully qualified type name, member name, type parameter or formal parameter name is longer than 1024 characters.
- A function contains more than 65,534 local variables, type parameters or formal parameters.
- The IL body of a function exceeds 2,147,483,647 bytes.
- A type contains more than 65,535 generic type parameters or members.
- An assembly contains more than 16,777,215 metadata entries.
- The value of one or more fields of the version number of the assembly exceeds 4,294,967,295.
- An assembly contains more than 65,536 assembly references.
DS0076_Overflow = 76Emitted when an integer literal is too big for its type.
DS0077_EmptyCharacterLiteral = 77Emitted when a character literal contains no character.
DS0078_InvalidImport = 78Emitted when an import directive is invalid.
DS0079_RedundantAccessModifierGroup = 79Emitted when the modifier of an access modifier group is the default member modifier of the containing type.
DS0080_ArrayTooManyDimensions = 80Emitted when an array has more than 32 dimensions.
DS0081_ReservedIdentifier = 81Emitted when an illegal identifier is used.
DS0082_InvalidProjectReference = 82Emitted when a project reference is invalid.
DS0083_InvalidDSConfigMacro = 83Emitted when an invalid macro is used in dsconfig.xml.
DS0084_InvalidVarModifier = 84Emitted when the 'var' modifier is used on a method.
DS0085_ThisInStaticFunction = 85Emitted when the 'this' keyword is used in a static function.
DS0086_TypeInfoCouldNotBeRead = 86Emitted when a TypeBuilder could not be associated with any Dassie.Meta.TypeContext object. Critical error that should never be emitted under normal circumstances.
DS0087_InvalidCommand = 87Emitted when the command of a build profile or -event is invalid.
DS0088_InvalidProfile = 88Emitted when a build or debug profile does not exist.
DS0089_BuildEventFailedToRun = 89Emitted when a critical build event failed to run correctly.
DS0090_InvalidDSConfigProperty = 90Emitted when a dsconfig.xml document contains an invalid property.
DS0091_MalformedConfigurationFile = 91Emitted when some part of dsconfig.xml is malformed, either syntactically or semantically.
DS0092_ConfigurationFormatVersionTooNew = 92Emitted when the format of a dsconfig.xml file is newer than supported.
DS0093_ConfigurationFormatVersionTooOld = 93Emitted when dsconfig.xml uses an outdated format.
DS0094_ConstructorReturnsValue = 94Emitted when a constructor returns a value, even though it is only allowed to return void.
DS0095_InitOnlyFieldAssignedOutsideOfConstructor = 95Emitted when an init-only field is assigned to outside of a constructor.
DS0096_ImmutableSymbolPassedByReference = 96Emitted when an immutable symbol is passed by reference.
DS0097_PassByReferenceWithoutOperator = 97Emitted when a symbol is passed by reference without the reference operator (&).
DS0098_InvalidExpressionPassedByReference = 98Emitted when an expression to be passed by reference is not valid.
DS0099_ScratchNotFound = 99Emitted when a specified scratch could not be found.
DS0100_DuplicateCompilerCommand = 100Emitted when multiple installed compiler extensions define a command with the same name.
DS0101_InvalidCommand = 101Emitted when dc is called with an invalid command name.
DS0102_DiagnosticInfo = 102Diagnostic information message.
DS0103_AotPerformanceWarning = 103Message displayed when compiling ahead of time informing of performance penalty.
DS0104_NetworkError = 104Emitted when an operation that requires an internet connection cannot be completed.
DS0105_InvalidPackageReference = 105Emitted when a package reference contains an invalid name or version number.
DS0106_DCRunInsufficientInfo = 106Emitted when the 'dc run' command is invoked with insufficient information.
DS0107_NoInputFiles = 107Emitted when no input source files are specified.
DS0108_GenericTypeConstraintViolation = 108Emitted when a generic constraint is violated.
DS0109_GenericMethodCalledWithoutGenericArguments = 109Emitted when a generic method is called without arguments.
DS0110_LocalDefinedInDifferentScope = 110Emitted when a local is defined with a name that already exists in a different scope.
DS0111_DuplicateTypeParameterAttributes = 111Emitted when a type parameter has multiple of the same attribute.
DS0112_DuplicateTypeParameterConstraint = 112Emitted when a type parameter has multiple of the same type constraints.
DS0113_DuplicateTypeParameter = 113Emitted when a type defines multiple type parameters with the same name.
DS0114_InvalidTypeParameterAttributes = 114Emitted when a type parameter defines an invalid set of attributes.
DS0115_TypeParameterIsDefinedInContainingScope = 115Emitted when a generic method defines a type parameter that is already defined by the containing type.
DS0116_NonAbstractMethodHasNoBody = 116Emitted when a non-abstract method does not have a body.
DS0117_AbstractMethodHasBody = 117Emitted when an abstract method has a body.
DS0118_VarianceModifierOnConcreteType = 118Emitted when a variance modifier is applied to a type parameter of a type other than a
template.DS0119_InvalidVariance = 119Emitted when variant type parameters are used in invalid ways.
DS0120_DuplicateTypeName = 120Emitted when two types of the same name are defined.
DS0121_DuplicateGenericTypeName = 121Emitted when two types of the same name with different type parameters are defined.
DS0122_FunctionPointerTooManyArguments = 122Emitted when a function pointer is created for a function with more than 16 arguments.
DS0123_InvalidFunctionPointerTargetExpression = 123Emitted when a function pointer is created for an invalid expression.
DS0124_InvalidExtensionPackage = 124Emitted when an installed compiler extension is invalid.
DS0125_DCRunInvalidProjectType = 125Emitted when the 'dc run' command is called on a project that is not executable.
DS0126_UnusedValue = 126Emitted when a value is ignored implicitly.
DS0127_TopLevelTypeLocal = 127Emitted when a non-nested type is declared as 'local'.
DS0128_AccessModifiersTooRestrictive = 128Emitted when a member cannot be accessed because of too restrictive access modifiers.
DS0129_DeployCommandInvalidProjectGroupFile = 129Emitted when the 'dc deploy' command is run on a config file that does not represent a project group.
DS0130_ProjectGroupNoComponents = 130Emitted when a project group contains no projects.
DS0131_ProjectGroupNoTargets = 131Emitted when a project group defines no targets.
DS0132_DCBuildCalledOnProjectGroup = 132Emitted when 'dc build' is used on a project group.
DS0133_DCCleanNoProjectFile = 133Emitted when 'dc clean' is called but the working directory contains no compiler configuration file.
DS0134_DCAnalyzeNoProjectFile = 134Emitted when 'dc analyze' is called but the working directory contains no compiler configuration file.
DS0135_DCAnalyzeInvalidAnalyzer = 135Emitted when 'dc analyze' is called using an analyzer that could not be found.
DS0136_DivisionByConstantZero = 136Emitted when attempting to divide by the constant value 0.
DS0137_InvalidConversion = 137Emitted when a conversion between two types is not possible.
DS0138_LiteralModifierOnMethod = 138Emitted when the 'literal' modifier is applied to a method.
DS0139_CompileTimeConstantRequired = 139Emitted when a compile-time constant value is expected but was not provided.
DS0140_ModuleInstantiation = 140Emitted when trying to instantiate a module.
DS0141_InvalidEnumerationType = 141Emitted when an enumeration is not an integer type.
DS0142_MethodInEnumeration = 142Emitted when an enumeration type contains a method.
DS0143_EnumTypeExplicitlyRef = 143Emitted when an enumeration type is defined using the 'ref' modifier.
DS0144_EnumTypeBaseType = 144Emitted when an enumeration type defines a base type other than System.Enum.
DS0145_EnumTypeImplementsTemplate = 145Emitted when an enumeration type implements a template.
DS0146_ValueTypeInherited = 146Emitted when a type explicitly inherits from 'System.ValueType'.
DS0147_ValueTypeInheritsFromClass = 147Emitted when the inheritance list of a value type contains a reference type.
DS0148_ValueTypeAsBaseType = 148Emitted when inheriting from a value type.
DS0149_ImmutableValueOfByRefType = 149Emitted when an immutable value has a byref type.
DS0150_NestedByRefType = 150Emitted when a nested byref type (e.g. int&&) is used.
DS0151_ByRefFieldInNonByRefLikeType = 151Emitted when a field of a byref or byref-like type is declared outside of a byref-like type.
DS0152_VarFieldInImmutableType = 152Emitted when an immutable value type (val! type) contains a field explicitly marked as 'var'.
DS0153_FunctionPointerForInstanceMethod = 153Emitted when a function pointer is created for an instance method.
DS0154_ListLiteralDifferentTypes = 154Emitted when a list literal contains incompatible types.
DS0155_ListAppendIncompatibleElement = 155Emitted when an incompatible expression is appended to a list.
DS0156_RangeInvalidOperands = 156Emitted when the operands of a range expression are not of type 'System.Index'.
DS0157_RequiredInterfaceMembersNotImplemented = 157Emitted when a type implementing a template does not implement a required, abstract template member.
DS0158_InheritingFromSealedType = 158Emitted when inheriting from a sealed type.
DS0159_InstanceFieldInTemplate = 159Emitted when a template type contains an instance field.
DS0160_FrameworkLimitation = 160Displayed when a feature is not available due to a framework limitation.
DS0161_CustomOperatorDefinedOutsideModule = 161Emitted when a custom operator is defined outside of a module.
DS0162_CustomOperatorNotGlobal = 162Emitted when a custom operator has an access modifier other than 'global'.
DS0163_CustomOperatorTooManyParameters = 163Emitted when a custom operator has more than two operands.
DS0164_CustomOperatorNoMethodBody = 164Emitted when a custom operator has no body.
DS0165_CustomOperatorNotFound = 165Emitted when a custom operator could not be resolved.
DS0166_CustomOperatorNoReturnValue = 166Emitted when a custom operator returns no value.
DS0167_ModuleInitializerInvalid = 167Emitted when a module initializer does not fill all requirements.
DS0168_PropertyLiteral = 168Emitted when a property is declared as a compile-time constant.
DS0169_InstanceCheckOperatorOnValueType = 169Emitted when the ':?' operator is used on a value type.
DS0170_NoBuildLogDevices = 170Warning emitted when a project file contains no build log devices, effectively disabling any error reporting.
DS0171_InvalidBuildDeviceName = 171Emitted when an invalid build device is selected inside of a project file.
DS0172_FileBuildLogDeviceNoPathSpecified = 172Emitted when the
<File>build log device is used without specifying a file path.DS0173_EventAndProperty = 173Emitted when a field has the
<Event>and<Auto>attributes applied at the same time.DS0174_EventHasMultipleHandlers = 174Emitted when an event has multiple 'add' or 'remove' handlers.
DS0175_EventFieldTypeNotDelegate = 175Emitted when the field type of an event is not a delegate.
DS0176_EventMissingHandlers = 176Emitted when an event defines one of the required 'add' or 'remove' handlers, but not both.
DS0177_LockOnValueType = 177Emitted when the '$lock' statement is used on a value type.
DS0178_InvalidAttributeType = 178Emitted when a type is used as an attribute that does not inherit from Attribute.
DS0179_InvalidAttributeArgument = 179Emitted when an expression used as an attribute argument is not a compile-time constant.
DS0180_AttributesOnAliasType = 180Emitted when an alias type has an attribute list.
DS0181_AliasTypeInvalidModifiers = 181Emitted when an alias type has modifiers that are not permitted.
DS0182_InvalidAttributeTarget = 182Emitted when the target of an attribute is invalid.
DS0183_UnionTypeDuplicateTagName = 183Emitted when an inline union type has multiple cases with the same name.
DS0184_UnionTypeDuplicateTagType = 184Emitted when an inline union type has multiple cases with the same type.
DS0185_UnionTypeMixedTags = 185Emitted when an inline union type has some named and some unnamed tags.
DS0186_AliasTypeImplementsInterface = 186Emitted when a type alias implements one or more interfaces.
DS0187_AliasTypeExtendsType = 187Emitted when a type alias explicitly specifies a base type.
DS0188_GenericAliasType = 188Emitted when a type alias has a generic type parameter list. This restriction might get lifted in the future.
DS0189_InvalidStringProcessor = 189Emitted when a string processor is used that cannot be resolved.
DS0190_ProcessedStringContainsInterpolations = 190Emitted when a processed string contains interpolations.
DS0191_StringProcessorThrewException = 191Emitted when a string processor throws an exception at compile-time.
DS0192_AmbiguousEntryPoint = 192Emitted when a program contains multiple explicit or implicit entry points.
DS0193_CircularReference = 193Emitted when an inheritance chain contains a circular reference.
DS0194_ExpectedCliOptionValue = 194Emitted when a CLI command is invoked with an option or flag that requires a value but no value is set.
DS0195_DCWatchInvalidCombination = 195Emitted when the 'dc watch' command is invoked with an invalid combination of arguments.
DS0196_EntryPointManuallySetWhenUsingDSConfigEntryPointProperty = 196Emitted when the 'EntryPoint' property is set in
dsconfig.xmlwhile the application also manually marks a method using the EntryPointAttribute attribute.DS0197_InvalidMethodIdentifier = 197Emitted when a string representation of a method is not a valid method identifier.
DS0198_ImportedConfigFileNotFound = 198Emitted when an imported project or global configuration file does not exist.
DS0199_ImportedConfigFileCircularDependency = 199Emitted when a project configuration import results in a circular dependency.
DS0200_MultipleExports = 200Emitted when a file exports multiple namespaces.
DS0201_ListFromRangeNotCompileTimeConstant = 201Emitted when a list literal constructed from an integer range does not use compile-time constant indices.
DS0202_EntryPointInvalidSignature = 202Emitted when the designated application entry point has an invalid signature.
DS0203_ConditionConstant = 203Emitted when the condition of a conditional expression is a compile-time constant.
DS0204_InvalidGenericArgument = 204Emitted when an invalid type is used as a generic argument.
DS0205_CircularProjectDependency = 205Emitted when a project structure contains a circular dependency.
DS0206_DCNewInvalidArguments = 206Emitted when the 'dc new' command is invoked with invalid arguments.
DS0207_DCNewNonEmptyDirectory = 207Emitted when the 'dc new' command specifies a project directory that is not empty.
DS0208_InvalidResourceFile = 208Emitted when a resource file passed to the compiler is invalid.
DS0209_UnverifiableCode = 209Emitted when the compiler produces code that is unverifiable.
DS0210_ProjectGroupExecutableInvalid = 210Emitted when the executable project defined in a project group file could not be found.
DS0211_CrossSystemAotCompilation = 211Emitted when AOT compilation is attempted for a system other than the current one.
DS0212_UnexpectedArgument = 212Emitted when unexpected or invalid arguments are passed to a command.
DS0213_AotVarArgsFunction = 213Emitted when a program that contains varargs function declarations is compiled ahead-of-time.
DS0214_VarArgsNonWindows = 214Emitted when a program that contains a varargs function declaration is compiled for a platform other than Windows.
DS0215_NestedExternalBlock = 215Emitted when an 'extern' block contains another.
DS0216_ExtensionThrewException = 216Emitted when an external extension caused an unhandled exception.
DS0217_CompilerDirectiveAsExpression = 217Emitted when a compiler directive is used as an expression.
DS0218_InvalidCompilerDirective = 218Emitted when a compiler directive is used that could not be found.
DS0219_CompilerDirectiveInvalidArguments = 219Emitted when a compiler directive is called with invalid arguments.
DS0220_CompilerDirectiveInvalidScope = 220Emitted when a compiler directive is called in an invalid scope.
DS0221_ImportDirectiveInvalidTarget = 221Emitted when the target of an import compiler directive is invalid.
DS0222_ExtensionFileNotFound = 222Emitted when a specified extension file (.dll) does not exist.
DS0223_ExtensionUnsupportedMode = 223Emitted when a compiler extension is attempted to be initialized in an unsupported mode.
DS0224_ExtensionInitializerFailed = 224Emitted when the initializer of an extension package returns a nonzero status code.
DS0225_ExtensionDuplicateMode = 225Emitted when an extension is loaded multiple times in different modes.
DS0226_RemoteExtensionException = 226Emitted when an exception occured while loading extensions from a remote source.
DS0227_PackageInstallNotFound = 227Emitted when the 'dc package install' command is used but the specified extension couldn't be found.
DS0228_PackageSourceInvalidArguments = 228Emitted when the 'dc package source' command is invoked with an invalid set of arguments.
DS0229_PackageInstallAlreadyInstalled = 229Emitted when the 'dc package install' command is used but the specified extension is already installed.
DS0230_Unused = 230Unused.
DS0231_PredicateFunctionNotBoolean = 231Emitted when a function declared as a
<Predicate>does not return a value of type bool.DS0232_DocumentSourceNotFound = 232Emitted when a specified document source cannot be found.
DS0233_DocumentSourcesDuplicateDocumentName = 233Emitted when multiple active document sources generate the same document name.
DS0234_CompilationTerminated = 234Emitted when the compilation was terminated due to the maximum number of error messages being reached.
DS0235_ElapsedTime = 235Error code for informational messages caused by enabling the MeasureElapsedTime option.
DS0236_DCTestNoProjectFile = 236Emitted when the 'dc test' command is used in a directory that does not contain a project file.
DS0237_DeploymentTargetNotFound = 237Emitted when a target specified in a project group could not be found.
DS0238_DeploymentTargetFailed = 238Emitted when a deployment target exits with a nonzero exit code.
DS0239_DirectoryTargetPathRequired = 239Emitted when the
<Directory>deployment target is used but no path is specified.DS0240_SourceFileTooLarge = 240Emitted when a source file is larger than the maximum allowed size of a string.
DS0241_DuplicateReference = 241Emitted when a project file declares a duplicate reference.
DS0242_ValueTypeFieldCycle = 242Emitted when a value type has a cyclic dependency on itself through one of its fields.
DS0243_ModuleInheritance = 243Emitted when a module inherits from a type or implements an interface.
DS0244_ModuleInvalidModifiers = 244Emitted when a module has invalid modifiers like 'open'.
DS0245_ModuleInherited = 245Emitted when a module appears in the inheritance list of a type.
DS0246_DCTestNoTestModules = 246Emitted when the 'dc test' command is invoked but the project to be tested contains no test modules.
DS0247_DCTestAssemblyNotFound = 247Emitted when the 'dc test' command is invoked with an invalid assembly.
DS0248_DCTestInvalidModule = 248Emitted when the 'dc test' command is invoked with an invalid module name.
DS0249_DCTestProjectGroup = 249Emitted when 'dc test' is invoked on a project group.
DS0250_DCCompileInvoked = 250Emitted when the hidden 'dc compile' command is used. This command only exists to provide help details for the 'dc <Files>' command.
DS0251_InvalidSubsystem = 251Emitted when an invalid subsystem is specified.
DS0252_EntryPointInNonExecutableProgram = 252Emitted when the <EntryPoint> attribute is applied to a function inside of a library.
DS0253_DCConfigInvalidProperty = 253Emitted when an invalid valid property (from a project file or the global configuration) is referenced in a call to the 'dc config' command.
DS0254_DCConfigUnsupportedDataType = 254Emitted when 'dc config' was invoked to modify a property, but the data type of the property is not supported.
DS0255_DCConfigInvalidValue = 255Emitted when the value of a property modified through 'dc config' is invalid.
DS0256_GlobalConfigInvalidElement = 256Emitted when the global configuration file contains a namespace not associated with any extension or a property not defined by an extension.
DS0257_GlobalConfigFileMalformed = 257Emitted when the global configuration file is not a valid XML document.
DS0258_GlobalConfigPropertyValueMalformed = 258Emitted when the value of a global property is invalid for the data type of the property.
DS0259_DCScratchpadLoadDefaultEditor = 259Emitted when the 'dc scratchpad load' command is used and the editor is set to 'default'.
DS0260_CompilerDirectiveResultNotConstant = 260Emitted when the result of a compiler directive invocation is not a compile-time constant.
DS0261_ExtensionsLocationPropertyInvalidPath = 261Emitted when a global property is set to an invalid path.
DS0262_DCBuildInvalidActionName = 262Emitted when an action that is referenced in a build profile does not exist.
DS0263_BuildActionInvalidMode = 263Emitted when a build action is executed in an invalid mode.
DS0264_BuildActionFailed = 264Emitted when a build action ends with a nonzero exit code.
DS0265_CorePackageRemoved = 265Emitted when the user attempts to uninstall the built-in "Core" package.
DS0266_MacroRecursionLimitReached = 266Emitted when a macro expansion reaches the maximum allowed recursion depth.
DS0267_NoCommandsAvailable = 267Emitted when no commands are available for execution.
DS0268_LanguageNotFound = 268Emitted when the requested language is not found.
DS0269_DCConfigMacroForGlobalConfig = 269Emitted when a macro is changed as part of a 'dc config --global' invocation.
DS0270_DCConfigMacrosOptionNoProjectFile = 270Emitted when the 'dc config --macors' command is invoked, but no project file is present.
DS0271_MissingMacroName = 271Emitted when a macro definition is missing a name.
DS0272_DuplicateMacro = 272Warning emitted when a macro with the same name is defined multiple times.
DS0273_MacroSyntaxError = 273Emitted when a macro definition or invocation has a syntax error.
DS0274_EvalMacroFailed = 274Emitted when an invocation of the $(Eval) macro is unsuccessful.
DS0275_SetEnvironmentVariableMissingAttribute = 275Emitted when an invocation of the 'SetEnvironmentVariable' build action fails due to a missing attribute.
DS0276_PropertySpecifiedMultipleTimes = 276Emitted when a configuration property is set multiple times.
DS0277_LanguageNotFound = 277Emitted when the specified language (localization resource) is not found.
DS0278_ImportedConfigFileNotDefinitionFile = 278Emitted when an imported configuration file is not an SDK definition file.
DS0279_PropMacroIndexNotInteger = 279Emitted when the index specified in an invocation of the $(Prop) macro is not an integral constant.
DS0280_PropMacroIndexOutOfRange = 280Emitted when the index specified in an invocation of the $(Prop) macro results in an IndexOutOfRangeException.
DS0281_PropMacroIndexElementNotEnumerable = 281Emitted when an index expression is used in an invocation of the $(Prop) macro for a property that is not an enumerable.
DS0282_PropMacroInvalidMemberAccess = 282Emitted when an invalid property is referenced in an invocation of the $(Prop) macro.
DS0283_BuildActionMissingParameter = 283Emitted when an invocation of a build action is missing a parameter (element or attribute).
DS0284_SpecialCommandInvocationFailed = 284Emitted when the invocation of a special command fails.
DS0285_FileSystemOperationFailed = 285Emitted when a generic file system operation fails.