Table of Contents

Enum MessageCode

Namespace
Dassie.Messages
Assembly
dc.dll

Specifies the code of a diagnostic message.

public enum MessageCode
Extension Methods

Fields

Custom = -1

Represents a custom message emitted by tools such as code analyzers.

DS0000_Success = 0

Specifies that an operation was successful.

DS0001_UnknownError = 1

An unknown and not further specified error or an unhandled exception.

DS0002_SyntaxError = 2

An error that occured during the parsing stage of the compilation process that was emitted by ANTLR.

DS0003_MethodNotFound = 3

Emitted 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 = 4

Emitted when the specified argument list does not match any available constructor for this type.

DS0005_NamespaceNotFound = 5

Emitted when an import directive is used on a non-existent namespace.

DS0006_InvalidIdentifier = 6

Emitted when an identifier contains invalid characters or is a language keyword.

DS0007_VariableTypeChanged = 7

Emitted when the type of the new value of a variable does not match the type of the old value.

DS0008_InvalidModifier = 8

Emitted when an access modifier is invalid for the specified object.

DS0009_NoExpressionInFunction = 9

Emitted when a function contains no expressions.

DS0010_TypeNotFound = 10

Emitted when a specified type was not found.

[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0011_LoopConditionNotBoolean = 11

Emitted when the condition of a while loop is not a boolean.

DS0012_UndefinedValue = 12
DS0013_InvalidArgument = 13

General error emitted if a command is invoked with an invalid set of arguments.

DS0014_InvalidConversion = 14

Emitted when a conversion between two types is not implemented.

[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0015_UnknownType = 15

Obsolete.

[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0016_ConstantReassignment = 16

Emitted when a constant is being reassigned.

DS0017_UnassignedConstant = 17

Emitted when a constant is declared without a value.

[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0018_DoubleDefinition = 18

Obsolete.

DS0019_ImmutableValueReassignment = 19

Emitted when a constant is being reassigned.

DS0020_GenericValueTypeInvalid = 20
DS0021_FeatureNotAvailable = 21

Emitted when a feature of a newer Dassie version is being used.

DS0022_PropertyNotFound = 22
DS0023_InvalidAssemblyReference = 23

Emitted when an assembly reference could not be resolved.

DS0024_InvalidFileReference = 24

Emitted 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 = 26

Obsolete.

DS0027_InvalidEscapeSequence = 27

Emitted when an unknown escape sequence is being used.

DS0028_EmptyProgram = 28

Emitted when the program contains no executable code.

DS0029_IntegerOverflow = 29

Emitted when a checked expression results in an integer overflow.

DS0030_FileAccessDenied = 30

Emitted when an IO error occurs, denying the Dassie compiler access to the source files or output file.

DS0031_NoEntryPoint = 31

Emitted when a Dassie code contains no suitable entry point.

[Obsolete("Obsolete: This error is not emitted anymore by the Dassie compiler.")] DS0032_InvalidClassModifiers = 32

Obsolete.

DS0033_ConstraintViolation = 33

Emitted when an argument violates a parameter constraint.

DS0034_ImplicitConversionNotPossible = 34

Emitted when implicitly converting between two types is not possible.

DS0035_ExplicitConversionNotPossible = 35

Emitted when explicitly converting between two types is not possible.

DS0036_EntryPointNotStatic = 36

Emitted when the entry point of a Dassie program is not a static function.

DS0037_ArithmeticError = 37

General error message emitted for various kinds of arithmetic errors.

DS0038_BranchExpressionTypesUnequal = 38

Emitted when the return types of branches do not match.

DS0039_ConditionalExpressionClauseNotBoolean = 39

Emitted when the condition of a conditional expression is not a boolean.

DS0040_FieldNotFound = 40

Emitted when a type does not include a specified field.

DS0041_VariableNotFound = 41

Emitted when the specified name is not assigned to a value.

DS0042_ListItemsHaveDifferentTypes = 42

Emitted when the types of list or array items are not the same.

DS0043_ArrayElementAssignmentIndexExpressionNotInteger = 43

Emitted when the index expression of an array element assignment expression is not an integer.

DS0044_PossiblyUnintentionalInfiniteLoop = 44

Emitted when the compiler thinks an infinite loop could be unintentional.

DS0045_DCUpdateAvailable = 45

Emitted when an update to dc is available. This is an information message, not an error.

DS0046_InlineILInvalidOpCode = 46

Emitted when an inline IL instruction has an invalid opcode.

DS0047_InlineILInvalidOperand = 47

Emitted when an inline IL instruction has an invalid operand.

DS0048_UnionTypeDuplicate = 48

Emitted when there are duplicate types in a union type.

DS0049_SourceFileNotFound = 49

Emitted when a specified source file could not be found.

DS0050_InvalidForLoopSyntax = 50

Emitted when a for loop contains more than 3 expressions.

DS0051_ExpectedIntegerReturnValue = 51

Emitted when the return value of a top-level program is not an integer.

DS0052_MoreThanOneClassInInheritanceList = 52

Emitted when the inheritance list of a type contains more than one CLR class.

DS0053_InvalidAccessModifier = 53

Emitted when a type member has an invalid access modifier.

DS0054_WrongReturnType = 54

Emitted when the return value of a function does not match the function signature.

DS0055_WrongFieldType = 55

Emitted when a field is set to a value of the wrong type.

DS0056_MultipleEntryPoints = 56

Emitted when multiple functions are declared as application entry points.

DS0057_SymbolResolveError = 57

Generic error emitted when a symbol of unspecific type could not be resolved.

DS0058_IncompatibleType = 58

Emitted when a variable is assigned an expression of an incompatible type.

DS0059_RedundantModifier = 59

Message emitted when a type or member is declared with a redundant access modifier.

DS0060_RethrowOutsideCatchBlock = 60

Emitted when a rethrow expression is used outside of a catch block.

DS0061_InvalidThrowExpression = 61

Emitted when the expression to be thrown is not a reference type.

DS0062_MissingCatchBranch = 62

Emitted when a try block is not followed by a catch block.

DS0063_LocalOutsideScope = 63

Emitted when a local is not in scope.

DS0064_UnsupportedFeature = 64

Emitted when a feature that is not yet implemented is used.

DS0065_InvalidExpression = 65

Emitted when something that shouldn't is used as an expression.

DS0066_AssignmentInvalidLeftSide = 66

Emitted when the left side of an assignment is invalid.

DS0067_PropertyNoSuitableSetter = 67

Emitted when a property cannot be assigned to.

DS0068_ResourceFileNotFound = 68

Emitted when a resource specified in dsconfig.xml could not be located.

DS0069_MultipleUnmanagedResources = 69

Emitted when multiple unmanaged resources are specified in dsconfig.xml.

DS0070_WinSdkToolNotFound = 70

Emitted when a required Windows SDK tool could not be located.

DS0071_AvoidVersionInfoTag = 71
Emitted when the 
<VersionInfo>

tag is used in dsconfig.xml.

DS0072_IllegalIgnoredMessage = 72

Emitted when an ingored message is specified in dsconfig.xml that cannot be ignored.

DS0073_NoSourceFilesFound = 73

Emitted when 'dc build' is called but there are no source files.

DS0074_Unused = 74

Unused.

DS0075_MetadataLimitExceeded = 75

Emitted 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 = 76

Emitted when an integer literal is too big for its type.

DS0077_EmptyCharacterLiteral = 77

Emitted when a character literal contains no character.

DS0078_InvalidImport = 78

Emitted when an import directive is invalid.

DS0079_RedundantAccessModifierGroup = 79

Emitted when the modifier of an access modifier group is the default member modifier of the containing type.

DS0080_ArrayTooManyDimensions = 80

Emitted when an array has more than 32 dimensions.

DS0081_ReservedIdentifier = 81

Emitted when an illegal identifier is used.

DS0082_InvalidProjectReference = 82

Emitted when a project reference is invalid.

DS0083_InvalidDSConfigMacro = 83

Emitted when an invalid macro is used in dsconfig.xml.

DS0084_InvalidVarModifier = 84

Emitted when the 'var' modifier is used on a method.

DS0085_ThisInStaticFunction = 85

Emitted when the 'this' keyword is used in a static function.

DS0086_TypeInfoCouldNotBeRead = 86

Emitted 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 = 87

Emitted when the command of a build profile or -event is invalid.

DS0088_InvalidProfile = 88

Emitted when a build or debug profile does not exist.

DS0089_BuildEventFailedToRun = 89

Emitted when a critical build event failed to run correctly.

DS0090_InvalidDSConfigProperty = 90

Emitted when a dsconfig.xml document contains an invalid property.

DS0091_MalformedConfigurationFile = 91

Emitted when some part of dsconfig.xml is malformed, either syntactically or semantically.

DS0092_ConfigurationFormatVersionTooNew = 92

Emitted when the format of a dsconfig.xml file is newer than supported.

DS0093_ConfigurationFormatVersionTooOld = 93

Emitted when dsconfig.xml uses an outdated format.

DS0094_ConstructorReturnsValue = 94

Emitted when a constructor returns a value, even though it is only allowed to return void.

DS0095_InitOnlyFieldAssignedOutsideOfConstructor = 95

Emitted when an init-only field is assigned to outside of a constructor.

DS0096_ImmutableSymbolPassedByReference = 96

Emitted when an immutable symbol is passed by reference.

DS0097_PassByReferenceWithoutOperator = 97

Emitted when a symbol is passed by reference without the reference operator (&).

DS0098_InvalidExpressionPassedByReference = 98

Emitted when an expression to be passed by reference is not valid.

DS0099_ScratchNotFound = 99

Emitted when a specified scratch could not be found.

DS0100_DuplicateCompilerCommand = 100

Emitted when multiple installed compiler extensions define a command with the same name.

DS0101_InvalidCommand = 101

Emitted when dc is called with an invalid command name.

DS0102_DiagnosticInfo = 102

Diagnostic information message.

DS0103_AotPerformanceWarning = 103

Message displayed when compiling ahead of time informing of performance penalty.

DS0104_NetworkError = 104

Emitted when an operation that requires an internet connection cannot be completed.

DS0105_InvalidPackageReference = 105

Emitted when a package reference contains an invalid name or version number.

DS0106_DCRunInsufficientInfo = 106

Emitted when the 'dc run' command is invoked with insufficient information.

DS0107_NoInputFiles = 107

Emitted when no input source files are specified.

DS0108_GenericTypeConstraintViolation = 108

Emitted when a generic constraint is violated.

DS0109_GenericMethodCalledWithoutGenericArguments = 109

Emitted when a generic method is called without arguments.

DS0110_LocalDefinedInDifferentScope = 110

Emitted when a local is defined with a name that already exists in a different scope.

DS0111_DuplicateTypeParameterAttributes = 111

Emitted when a type parameter has multiple of the same attribute.

DS0112_DuplicateTypeParameterConstraint = 112

Emitted when a type parameter has multiple of the same type constraints.

DS0113_DuplicateTypeParameter = 113

Emitted when a type defines multiple type parameters with the same name.

DS0114_InvalidTypeParameterAttributes = 114

Emitted when a type parameter defines an invalid set of attributes.

DS0115_TypeParameterIsDefinedInContainingScope = 115

Emitted when a generic method defines a type parameter that is already defined by the containing type.

DS0116_NonAbstractMethodHasNoBody = 116

Emitted when a non-abstract method does not have a body.

DS0117_AbstractMethodHasBody = 117

Emitted when an abstract method has a body.

DS0118_VarianceModifierOnConcreteType = 118

Emitted when a variance modifier is applied to a type parameter of a type other than a template.

DS0119_InvalidVariance = 119

Emitted when variant type parameters are used in invalid ways.

DS0120_DuplicateTypeName = 120

Emitted when two types of the same name are defined.

DS0121_DuplicateGenericTypeName = 121

Emitted when two types of the same name with different type parameters are defined.

DS0122_FunctionPointerTooManyArguments = 122

Emitted when a function pointer is created for a function with more than 16 arguments.

DS0123_InvalidFunctionPointerTargetExpression = 123

Emitted when a function pointer is created for an invalid expression.

DS0124_InvalidExtensionPackage = 124

Emitted when an installed compiler extension is invalid.

DS0125_DCRunInvalidProjectType = 125

Emitted when the 'dc run' command is called on a project that is not executable.

DS0126_UnusedValue = 126

Emitted when a value is ignored implicitly.

DS0127_TopLevelTypeLocal = 127

Emitted when a non-nested type is declared as 'local'.

DS0128_AccessModifiersTooRestrictive = 128

Emitted when a member cannot be accessed because of too restrictive access modifiers.

DS0129_DeployCommandInvalidProjectGroupFile = 129

Emitted when the 'dc deploy' command is run on a config file that does not represent a project group.

DS0130_ProjectGroupNoComponents = 130

Emitted when a project group contains no projects.

DS0131_ProjectGroupNoTargets = 131

Emitted when a project group defines no targets.

DS0132_DCBuildCalledOnProjectGroup = 132

Emitted when 'dc build' is used on a project group.

DS0133_DCCleanNoProjectFile = 133

Emitted when 'dc clean' is called but the working directory contains no compiler configuration file.

DS0134_DCAnalyzeNoProjectFile = 134

Emitted when 'dc analyze' is called but the working directory contains no compiler configuration file.

DS0135_DCAnalyzeInvalidAnalyzer = 135

Emitted when 'dc analyze' is called using an analyzer that could not be found.

DS0136_DivisionByConstantZero = 136

Emitted when attempting to divide by the constant value 0.

DS0137_InvalidConversion = 137

Emitted when a conversion between two types is not possible.

DS0138_LiteralModifierOnMethod = 138

Emitted when the 'literal' modifier is applied to a method.

DS0139_CompileTimeConstantRequired = 139

Emitted when a compile-time constant value is expected but was not provided.

DS0140_ModuleInstantiation = 140

Emitted when trying to instantiate a module.

DS0141_InvalidEnumerationType = 141

Emitted when an enumeration is not an integer type.

DS0142_MethodInEnumeration = 142

Emitted when an enumeration type contains a method.

DS0143_EnumTypeExplicitlyRef = 143

Emitted when an enumeration type is defined using the 'ref' modifier.

DS0144_EnumTypeBaseType = 144

Emitted when an enumeration type defines a base type other than System.Enum.

DS0145_EnumTypeImplementsTemplate = 145

Emitted when an enumeration type implements a template.

DS0146_ValueTypeInherited = 146

Emitted when a type explicitly inherits from 'System.ValueType'.

DS0147_ValueTypeInheritsFromClass = 147

Emitted when the inheritance list of a value type contains a reference type.

DS0148_ValueTypeAsBaseType = 148

Emitted when inheriting from a value type.

DS0149_ImmutableValueOfByRefType = 149

Emitted when an immutable value has a byref type.

DS0150_NestedByRefType = 150

Emitted when a nested byref type (e.g. int&&) is used.

DS0151_ByRefFieldInNonByRefLikeType = 151

Emitted when a field of a byref or byref-like type is declared outside of a byref-like type.

DS0152_VarFieldInImmutableType = 152

Emitted when an immutable value type (val! type) contains a field explicitly marked as 'var'.

DS0153_FunctionPointerForInstanceMethod = 153

Emitted when a function pointer is created for an instance method.

DS0154_ListLiteralDifferentTypes = 154

Emitted when a list literal contains incompatible types.

DS0155_ListAppendIncompatibleElement = 155

Emitted when an incompatible expression is appended to a list.

DS0156_RangeInvalidOperands = 156

Emitted when the operands of a range expression are not of type 'System.Index'.

DS0157_RequiredInterfaceMembersNotImplemented = 157

Emitted when a type implementing a template does not implement a required, abstract template member.

DS0158_InheritingFromSealedType = 158

Emitted when inheriting from a sealed type.

DS0159_InstanceFieldInTemplate = 159

Emitted when a template type contains an instance field.

DS0160_FrameworkLimitation = 160

Displayed when a feature is not available due to a framework limitation.

DS0161_CustomOperatorDefinedOutsideModule = 161

Emitted when a custom operator is defined outside of a module.

DS0162_CustomOperatorNotGlobal = 162

Emitted when a custom operator has an access modifier other than 'global'.

DS0163_CustomOperatorTooManyParameters = 163

Emitted when a custom operator has more than two operands.

DS0164_CustomOperatorNoMethodBody = 164

Emitted when a custom operator has no body.

DS0165_CustomOperatorNotFound = 165

Emitted when a custom operator could not be resolved.

DS0166_CustomOperatorNoReturnValue = 166

Emitted when a custom operator returns no value.

DS0167_ModuleInitializerInvalid = 167

Emitted when a module initializer does not fill all requirements.

DS0168_PropertyLiteral = 168

Emitted when a property is declared as a compile-time constant.

DS0169_InstanceCheckOperatorOnValueType = 169

Emitted when the ':?' operator is used on a value type.

DS0170_NoBuildLogDevices = 170

Warning emitted when a project file contains no build log devices, effectively disabling any error reporting.

DS0171_InvalidBuildDeviceName = 171

Emitted when an invalid build device is selected inside of a project file.

DS0172_FileBuildLogDeviceNoPathSpecified = 172

Emitted when the <File> build log device is used without specifying a file path.

DS0173_EventAndProperty = 173

Emitted when a field has the <Event> and <Auto> attributes applied at the same time.

DS0174_EventHasMultipleHandlers = 174

Emitted when an event has multiple 'add' or 'remove' handlers.

DS0175_EventFieldTypeNotDelegate = 175

Emitted when the field type of an event is not a delegate.

DS0176_EventMissingHandlers = 176

Emitted when an event defines one of the required 'add' or 'remove' handlers, but not both.

DS0177_LockOnValueType = 177

Emitted when the '$lock' statement is used on a value type.

DS0178_InvalidAttributeType = 178

Emitted when a type is used as an attribute that does not inherit from Attribute.

DS0179_InvalidAttributeArgument = 179

Emitted when an expression used as an attribute argument is not a compile-time constant.

DS0180_AttributesOnAliasType = 180

Emitted when an alias type has an attribute list.

DS0181_AliasTypeInvalidModifiers = 181

Emitted when an alias type has modifiers that are not permitted.

DS0182_InvalidAttributeTarget = 182

Emitted when the target of an attribute is invalid.

DS0183_UnionTypeDuplicateTagName = 183

Emitted when an inline union type has multiple cases with the same name.

DS0184_UnionTypeDuplicateTagType = 184

Emitted when an inline union type has multiple cases with the same type.

DS0185_UnionTypeMixedTags = 185

Emitted when an inline union type has some named and some unnamed tags.

DS0186_AliasTypeImplementsInterface = 186

Emitted when a type alias implements one or more interfaces.

DS0187_AliasTypeExtendsType = 187

Emitted when a type alias explicitly specifies a base type.

DS0188_GenericAliasType = 188

Emitted when a type alias has a generic type parameter list. This restriction might get lifted in the future.

DS0189_InvalidStringProcessor = 189

Emitted when a string processor is used that cannot be resolved.

DS0190_ProcessedStringContainsInterpolations = 190

Emitted when a processed string contains interpolations.

DS0191_StringProcessorThrewException = 191

Emitted when a string processor throws an exception at compile-time.

DS0192_AmbiguousEntryPoint = 192

Emitted when a program contains multiple explicit or implicit entry points.

DS0193_CircularReference = 193

Emitted when an inheritance chain contains a circular reference.

DS0194_ExpectedCliOptionValue = 194

Emitted when a CLI command is invoked with an option or flag that requires a value but no value is set.

DS0195_DCWatchInvalidCombination = 195

Emitted when the 'dc watch' command is invoked with an invalid combination of arguments.

DS0196_EntryPointManuallySetWhenUsingDSConfigEntryPointProperty = 196

Emitted when the 'EntryPoint' property is set in dsconfig.xml while the application also manually marks a method using the EntryPointAttribute attribute.

DS0197_InvalidMethodIdentifier = 197

Emitted when a string representation of a method is not a valid method identifier.

DS0198_ImportedConfigFileNotFound = 198

Emitted when an imported project or global configuration file does not exist.

DS0199_ImportedConfigFileCircularDependency = 199

Emitted when a project configuration import results in a circular dependency.

DS0200_MultipleExports = 200

Emitted when a file exports multiple namespaces.

DS0201_ListFromRangeNotCompileTimeConstant = 201

Emitted when a list literal constructed from an integer range does not use compile-time constant indices.

DS0202_EntryPointInvalidSignature = 202

Emitted when the designated application entry point has an invalid signature.

DS0203_ConditionConstant = 203

Emitted when the condition of a conditional expression is a compile-time constant.

DS0204_InvalidGenericArgument = 204

Emitted when an invalid type is used as a generic argument.

DS0205_CircularProjectDependency = 205

Emitted when a project structure contains a circular dependency.

DS0206_DCNewInvalidArguments = 206

Emitted when the 'dc new' command is invoked with invalid arguments.

DS0207_DCNewNonEmptyDirectory = 207

Emitted when the 'dc new' command specifies a project directory that is not empty.

DS0208_InvalidResourceFile = 208

Emitted when a resource file passed to the compiler is invalid.

DS0209_UnverifiableCode = 209

Emitted when the compiler produces code that is unverifiable.

DS0210_ProjectGroupExecutableInvalid = 210

Emitted when the executable project defined in a project group file could not be found.

DS0211_CrossSystemAotCompilation = 211

Emitted when AOT compilation is attempted for a system other than the current one.

DS0212_UnexpectedArgument = 212

Emitted when unexpected or invalid arguments are passed to a command.

DS0213_AotVarArgsFunction = 213

Emitted when a program that contains varargs function declarations is compiled ahead-of-time.

DS0214_VarArgsNonWindows = 214

Emitted when a program that contains a varargs function declaration is compiled for a platform other than Windows.

DS0215_NestedExternalBlock = 215

Emitted when an 'extern' block contains another.

DS0216_ExtensionThrewException = 216

Emitted when an external extension caused an unhandled exception.

DS0217_CompilerDirectiveAsExpression = 217

Emitted when a compiler directive is used as an expression.

DS0218_InvalidCompilerDirective = 218

Emitted when a compiler directive is used that could not be found.

DS0219_CompilerDirectiveInvalidArguments = 219

Emitted when a compiler directive is called with invalid arguments.

DS0220_CompilerDirectiveInvalidScope = 220

Emitted when a compiler directive is called in an invalid scope.

DS0221_ImportDirectiveInvalidTarget = 221

Emitted when the target of an import compiler directive is invalid.

DS0222_ExtensionFileNotFound = 222

Emitted when a specified extension file (.dll) does not exist.

DS0223_ExtensionUnsupportedMode = 223

Emitted when a compiler extension is attempted to be initialized in an unsupported mode.

DS0224_ExtensionInitializerFailed = 224

Emitted when the initializer of an extension package returns a nonzero status code.

DS0225_ExtensionDuplicateMode = 225

Emitted when an extension is loaded multiple times in different modes.

DS0226_RemoteExtensionException = 226

Emitted when an exception occured while loading extensions from a remote source.

DS0227_PackageInstallNotFound = 227

Emitted when the 'dc package install' command is used but the specified extension couldn't be found.

DS0228_PackageSourceInvalidArguments = 228

Emitted when the 'dc package source' command is invoked with an invalid set of arguments.

DS0229_PackageInstallAlreadyInstalled = 229

Emitted when the 'dc package install' command is used but the specified extension is already installed.

DS0230_Unused = 230

Unused.

DS0231_PredicateFunctionNotBoolean = 231

Emitted when a function declared as a <Predicate> does not return a value of type bool.

DS0232_DocumentSourceNotFound = 232

Emitted when a specified document source cannot be found.

DS0233_DocumentSourcesDuplicateDocumentName = 233

Emitted when multiple active document sources generate the same document name.

DS0234_CompilationTerminated = 234

Emitted when the compilation was terminated due to the maximum number of error messages being reached.

DS0235_ElapsedTime = 235

Error code for informational messages caused by enabling the MeasureElapsedTime option.

DS0236_DCTestNoProjectFile = 236

Emitted when the 'dc test' command is used in a directory that does not contain a project file.

DS0237_DeploymentTargetNotFound = 237

Emitted when a target specified in a project group could not be found.

DS0238_DeploymentTargetFailed = 238

Emitted when a deployment target exits with a nonzero exit code.

DS0239_DirectoryTargetPathRequired = 239

Emitted when the <Directory> deployment target is used but no path is specified.

DS0240_SourceFileTooLarge = 240

Emitted when a source file is larger than the maximum allowed size of a string.

DS0241_DuplicateReference = 241

Emitted when a project file declares a duplicate reference.

DS0242_ValueTypeFieldCycle = 242

Emitted when a value type has a cyclic dependency on itself through one of its fields.

DS0243_ModuleInheritance = 243

Emitted when a module inherits from a type or implements an interface.

DS0244_ModuleInvalidModifiers = 244

Emitted when a module has invalid modifiers like 'open'.

DS0245_ModuleInherited = 245

Emitted when a module appears in the inheritance list of a type.

DS0246_DCTestNoTestModules = 246

Emitted when the 'dc test' command is invoked but the project to be tested contains no test modules.

DS0247_DCTestAssemblyNotFound = 247

Emitted when the 'dc test' command is invoked with an invalid assembly.

DS0248_DCTestInvalidModule = 248

Emitted when the 'dc test' command is invoked with an invalid module name.

DS0249_DCTestProjectGroup = 249

Emitted when 'dc test' is invoked on a project group.

DS0250_DCCompileInvoked = 250

Emitted when the hidden 'dc compile' command is used. This command only exists to provide help details for the 'dc <Files>' command.

DS0251_InvalidSubsystem = 251

Emitted when an invalid subsystem is specified.

DS0252_EntryPointInNonExecutableProgram = 252

Emitted when the <EntryPoint> attribute is applied to a function inside of a library.

DS0253_DCConfigInvalidProperty = 253

Emitted 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 = 254

Emitted when 'dc config' was invoked to modify a property, but the data type of the property is not supported.

DS0255_DCConfigInvalidValue = 255

Emitted when the value of a property modified through 'dc config' is invalid.

DS0256_GlobalConfigInvalidElement = 256

Emitted when the global configuration file contains a namespace not associated with any extension or a property not defined by an extension.

DS0257_GlobalConfigFileMalformed = 257

Emitted when the global configuration file is not a valid XML document.

DS0258_GlobalConfigPropertyValueMalformed = 258

Emitted when the value of a global property is invalid for the data type of the property.

DS0259_DCScratchpadLoadDefaultEditor = 259

Emitted when the 'dc scratchpad load' command is used and the editor is set to 'default'.

DS0260_CompilerDirectiveResultNotConstant = 260

Emitted when the result of a compiler directive invocation is not a compile-time constant.

DS0261_ExtensionsLocationPropertyInvalidPath = 261

Emitted when a global property is set to an invalid path.

DS0262_DCBuildInvalidActionName = 262

Emitted when an action that is referenced in a build profile does not exist.

DS0263_BuildActionInvalidMode = 263

Emitted when a build action is executed in an invalid mode.

DS0264_BuildActionFailed = 264

Emitted when a build action ends with a nonzero exit code.

DS0265_CorePackageRemoved = 265

Emitted when the user attempts to uninstall the built-in "Core" package.

DS0266_MacroRecursionLimitReached = 266

Emitted when a macro expansion reaches the maximum allowed recursion depth.

DS0267_NoCommandsAvailable = 267

Emitted when no commands are available for execution.

DS0268_LanguageNotFound = 268

Emitted when the requested language is not found.

DS0269_DCConfigMacroForGlobalConfig = 269

Emitted when a macro is changed as part of a 'dc config --global' invocation.

DS0270_DCConfigMacrosOptionNoProjectFile = 270

Emitted when the 'dc config --macors' command is invoked, but no project file is present.

DS0271_MissingMacroName = 271

Emitted when a macro definition is missing a name.

DS0272_DuplicateMacro = 272

Warning emitted when a macro with the same name is defined multiple times.

DS0273_MacroSyntaxError = 273

Emitted when a macro definition or invocation has a syntax error.

DS0274_EvalMacroFailed = 274

Emitted when an invocation of the $(Eval) macro is unsuccessful.

DS0275_SetEnvironmentVariableMissingAttribute = 275

Emitted when an invocation of the 'SetEnvironmentVariable' build action fails due to a missing attribute.

DS0276_PropertySpecifiedMultipleTimes = 276

Emitted when a configuration property is set multiple times.

DS0277_LanguageNotFound = 277

Emitted when the specified language (localization resource) is not found.

DS0278_ImportedConfigFileNotDefinitionFile = 278

Emitted when an imported configuration file is not an SDK definition file.

DS0279_PropMacroIndexNotInteger = 279

Emitted when the index specified in an invocation of the $(Prop) macro is not an integral constant.

DS0280_PropMacroIndexOutOfRange = 280

Emitted when the index specified in an invocation of the $(Prop) macro results in an IndexOutOfRangeException.

DS0281_PropMacroIndexElementNotEnumerable = 281

Emitted when an index expression is used in an invocation of the $(Prop) macro for a property that is not an enumerable.

DS0282_PropMacroInvalidMemberAccess = 282

Emitted when an invalid property is referenced in an invocation of the $(Prop) macro.

DS0283_BuildActionMissingParameter = 283

Emitted when an invocation of a build action is missing a parameter (element or attribute).

DS0284_SpecialCommandInvocationFailed = 284

Emitted when the invocation of a special command fails.

DS0285_FileSystemOperationFailed = 285

Emitted when a generic file system operation fails.