ErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.FSharp.Core.CompilationMapping(Microsoft.FSharp.Core.SourceConstructFlags.ObjectType)]
[System.Serializable]
public enum ErrorCode
[<Microsoft.FSharp.Core.CompilationMapping(Microsoft.FSharp.Core.SourceConstructFlags.ObjectType)>]
[<System.Serializable>]
type ErrorCode =
Public Enum ErrorCode
- Inheritance
-
ErrorCode
- Attributes
-
Microsoft.FSharp.Core.CompilationMappingAttribute SerializableAttribute
Fields
| AdjointDeclInFunction | 4009 | |
| AdjointGenArgMismatch | 4110 | |
| AliasForNamespaceAlreadyExists | 6018 | |
| AliasForOpenedNamespace | 6019 | |
| AmbiguousCallable | 6008 | |
| AmbiguousType | 6006 | |
| AmbiguousTypeParameterResolution | 6212 | |
| ArgumentOfUserDefinedTypeInAttribute | 6227 | |
| ArrayBaseTypeMismatch | 6203 | |
| ArrayOfArrayInEntryPointArgument | 6235 | |
| AttributeArgumentTypeMismatch | 6229 | |
| AttributeInvalidOnCallable | 6246 | |
| AttributeInvalidOnSpecialization | 6245 | |
| BodyGenArgMismatch | 4109 | |
| BorrowingInFunction | 4008 | |
| CallableOverlapWithTypeConstructor | 6002 | |
| CallableRedefinition | 6001 | |
| CallableTypeInEntryPointSignature | 6232 | |
| ConflictInReferences | 6021 | |
| ConflictsInTargetSpecificDecompositions | 7021 | |
| ConjugationWithinFunction | 4014 | |
| ControlledAdjointDeclInFunction | 4011 | |
| ControlledAdjointGenArgMismatch | 4114 | |
| ControlledDeclInFunction | 4010 | |
| ControlledGenArgMismatch | 4113 | |
| CouldNotInstantiateRewriteStep | 7018 | |
| CouldNotLoadCompilerPlugin | 7017 | |
| CouldNotLoadSourceFile | 7008 | |
| CsharpGenerationGeneratedError | 8001 | |
| DistributedAdjointGenerator | 4107 | |
| DocGenerationFailed | 7105 | |
| DoubleOverflow | 3305 | |
| DuplicateEntryPointArgumentName | 6240 | |
| EmptyValueArray | 3300 | |
| ExcessBracketError | 1001 | |
| ExcessContinuation | 3035 | |
| ExpectingAssignment | 3112 | |
| ExpectingCallableExpr | 5021 | |
| ExpectingComma | 3111 | |
| ExpectingFullNameAsAttributeArgument | 6244 | |
| ExpectingIdentifier | 6103 | |
| ExpectingIntegralExpr | 5013 | |
| ExpectingItemName | 6102 | |
| ExpectingIterableExpr | 5020 | |
| ExpectingIteratorItemAssignment | 3113 | |
| ExpectingOpeningBracket | 2002 | |
| ExpectingOpeningBracketOrSemicolon | 2005 | |
| ExpectingSemicolon | 2003 | |
| ExpectingUnqualifiedSymbol | 6101 | |
| ExpectingUpdateExpression | 3117 | |
| ExpectingUserDefinedType | 5016 | |
| FailedToLoadTargetSpecificDecompositions | 7020 | |
| FileIsNotAnAssembly | 7010 | |
| FileNotFoundDuringPluginExecution | 7110 | |
| FullNameConflictsWithNamespace | 6249 | |
| FunctorGenerationFailed | 7101 | |
| GeneratingBinaryFailed | 7107 | |
| GeneratingDllFailed | 7108 | |
| GlobalCallableAlreadyExists | 6216 | |
| GlobalTypeAlreadyExists | 6215 | |
| IdentifierCannotHaveTypeArguments | 6220 | |
| InaccessibleCallable | 6023 | |
| InaccessibleCallableInNamespace | 6111 | |
| InaccessibleType | 6022 | |
| InaccessibleTypeInNamespace | 6110 | |
| IndirectlyReferencedExpressionType | 6224 | |
| InfiniteType | 3 | |
| InnerTupleInEntryPointArgument | 6234 | |
| InterpolatedStringInAttribute | 6226 | |
| IntOverflow | 3304 | |
| InvalidAdjointApplication | 5017 | |
| InvalidAdjointDeclaration | 3020 | |
| InvalidApplyBlockIntro | 3016 | |
| InvalidArgument | 3223 | |
| InvalidArgumentDeclaration | 3225 | |
| InvalidArrayItemIndex | 5003 | |
| InvalidAssignmentToExpression | 3110 | |
| InvalidAttributeArgument | 3237 | |
| InvalidAttributeIdentifier | 3239 | |
| InvalidBodyDeclaration | 3019 | |
| InvalidBodyGenerator | 4108 | |
| InvalidBorrowingBlockIntro | 3018 | |
| InvalidCharacterInInterpolatedArgument | 6251 | |
| InvalidCommandLineArgsInResponseFiles | 7023 | |
| InvalidConstructorExpression | 3030 | |
| InvalidControlledAdjointDeclaration | 3022 | |
| InvalidControlledApplication | 5018 | |
| InvalidControlledDeclaration | 3021 | |
| InvalidCyclicTypeParameterResolution | 6250 | |
| InvalidDeclarationAttribute | 3026 | |
| InvalidElifClause | 3008 | |
| InvalidElseClause | 3009 | |
| InvalidEntryPointPlacement | 6230 | |
| InvalidEntryPointSpecialization | 6239 | |
| InvalidExecutionTargetForTest | 6243 | |
| InvalidExpression | 3101 | |
| InvalidExpressionStatement | 3029 | |
| InvalidFailStatement | 3003 | |
| InvalidFilePath | 7004 | |
| InvalidForLoopIntro | 3010 | |
| InvalidFunctionDeclaration | 3024 | |
| InvalidIdentifierDeclaration | 3201 | |
| InvalidIdentifierExprInUpdate | 3231 | |
| InvalidIdentifierName | 3103 | |
| InvalidIfClause | 3007 | |
| InvalidImmutableBinding | 3004 | |
| InvalidInitializerExpression | 3213 | |
| InvalidKeywordWithinExpression | 3032 | |
| InvalidMutableBinding | 3005 | |
| InvalidNamespaceAliasName | 6020 | |
| InvalidNamespaceDeclaration | 3027 | |
| InvalidOpenDirective | 3028 | |
| InvalidOperationCharacteristics | 3115 | |
| InvalidOperationDeclaration | 3023 | |
| InvalidPathSegment | 3104 | |
| InvalidPathToTargetSpecificDecompositions | 7019 | |
| InvalidProjectOutputPath | 7013 | |
| InvalidQualifiedSymbol | 3205 | |
| InvalidReassignmentInApplyBlock | 6317 | |
| InvalidRepeatIntro | 3012 | |
| InvalidReturnStatement | 3002 | |
| InvalidReturnTypeAnnotation | 3211 | |
| InvalidReturnWithinAllocationScope | 4012 | |
| InvalidSymbolTupleDeclaration | 3203 | |
| InvalidTestAttributePlacement | 6242 | |
| InvalidType | 3207 | |
| InvalidTypeAnnotation | 3209 | |
| InvalidTypeDefinition | 3025 | |
| InvalidTypeForConcatenation | 5006 | |
| InvalidTypeInArithmeticExpr | 5005 | |
| InvalidTypeInEqualityComparison | 5007 | |
| InvalidTypeName | 3105 | |
| InvalidTypeParameterDeclaration | 3227 | |
| InvalidTypeParameterList | 3107 | |
| InvalidTypeParameterName | 3106 | |
| InvalidUdtItemDeclaration | 3233 | |
| InvalidUdtItemNameDeclaration | 3235 | |
| InvalidUntilClause | 3013 | |
| InvalidUseOfReservedKeyword | 3033 | |
| InvalidUseOfUnderscorePattern | 3034 | |
| InvalidUsingBlockIntro | 3017 | |
| InvalidValueArray | 3301 | |
| InvalidValueTuple | 3302 | |
| InvalidValueUpdate | 3006 | |
| InvalidWhileLoopIntro | 3011 | |
| InvalidWithinBlockIntro | 3015 | |
| InvertControlledGenerator | 4112 | |
| ItemAccessForNonArray | 5004 | |
| LocalVariableAlreadyExists | 6217 | |
| MisplacedDeclarationAttribute | 4115 | |
| MisplacedOpenDirective | 4005 | |
| MisplacedOpeningBracket | 2001 | |
| MissingArgument | 3224 | |
| MissingArgumentDeclaration | 3226 | |
| MissingAttributeArgument | 3238 | |
| MissingAttributeIdentifier | 3240 | |
| MissingBracketError | 1002 | |
| MissingContinuationApply | 4105 | |
| MissingContinuationUntil | 4102 | |
| MissingEntryPoint | 6238 | |
| MissingExpression | 3102 | |
| MissingFunctorForAutoGeneration | 6312 | |
| MissingIdentifer | 3108 | |
| MissingIdentifierDeclaration | 3202 | |
| MissingIdentifierExprInUpdate | 3232 | |
| MissingInitializerExpression | 3214 | |
| MissingInputFileOrSnippet | 7002 | |
| MissingLAngleBracket | 3221 | |
| MissingLArrayBracket | 3217 | |
| MissingLCurlyBracket | 3219 | |
| MissingLTupleBracket | 3215 | |
| MissingOperationCharacteristics | 3116 | |
| MissingPrecedingIfOrElif | 4101 | |
| MissingPrecedingRepeat | 4103 | |
| MissingPrecedingWithin | 4104 | |
| MissingProjectReferenceDll | 7012 | |
| MissingQualifiedSymbol | 3206 | |
| MissingRAngleBracket | 3222 | |
| MissingRArrayBracket | 3218 | |
| MissingRCurlyBracket | 3220 | |
| MissingReturnOrFailStatement | 6307 | |
| MissingReturnTypeAnnotation | 3212 | |
| MissingRTupleBracket | 3216 | |
| MissingStringDelimiterError | 1003 | |
| MissingSymbolTupleDeclaration | 3204 | |
| MissingType | 3208 | |
| MissingTypeAnnotation | 3210 | |
| MissingTypeParameterDeclaration | 3228 | |
| MissingUdtItemDeclaration | 3234 | |
| MissingUdtItemNameDeclaration | 3236 | |
| MutableClosure | 4 | |
| NamedItemAlreadyExists | 6219 | |
| NonCallExprAsStatement | 3036 | |
| NonSelfGeneratorForSelfadjoint | 6311 | |
| NotMarkedAsAttribute | 6109 | |
| NotWithinCallable | 4003 | |
| NotWithinGlobalScope | 4001 | |
| NotWithinNamespace | 4002 | |
| NotWithinSpecialization | 4004 | |
| OperationCallOutsideOfOperation | 6306 | |
| PerformanceTrackingFailed | 8102 | |
| PluginExecutionFailed | 7109 | |
| PostconditionVerificationFailed | 7113 | |
| PreconditionVerificationFailed | 7202 | |
| PreEvaluationFailed | 7111 | |
| PublishingPerfResultsFailed | 8101 | |
| QirEmissionGeneratedError | 8002 | |
| QsGenerationFailed | 7104 | |
| QuantumDependencyOutsideExprStatement | 6316 | |
| QubitTypeInEntryPointSignature | 6231 | |
| RedefinitionOfAdjoint | 6012 | |
| RedefinitionOfBody | 6011 | |
| RedefinitionOfControlled | 6013 | |
| RedefinitionOfControlledAdjoint | 6014 | |
| RequiredUnitReturnForAdjoint | 6015 | |
| RequiredUnitReturnForControlled | 6016 | |
| RequiredUnitReturnForControlledAdjoint | 6017 | |
| ResultComparisonNotInOperationIf | 5024 | |
| ReturnFromWithinApplyBlock | 4106 | |
| ReturnInResultConditionedBlock | 5025 | |
| ReturnStatementWithinAutoInversion | 6313 | |
| RewriteStepExecutionFailed | 7112 | |
| RUSloopInFunction | 4006 | |
| RUSloopWithinAutoInversion | 6315 | |
| SelfControlledGenerator | 4111 | |
| SerializationFailed | 7106 | |
| SetInResultConditionedBlock | 5026 | |
| SnippetAndInputArguments | 7003 | |
| SourceFilesMissing | 7014 | |
| SpecializationForUnknownCallable | 6010 | |
| SymbolTupleShapeMismatch | 6305 | |
| SyntaxTreeNotMonomorphized | 8103 | |
| TreeTrimmingFailed | 7102 | |
| TypeCannotContainItself | 6308 | |
| TypeConstructorOverlapWithCallable | 6004 | |
| TypeIntersectionMismatch | 2 | |
| TypeIsPartOfCyclicDeclaration | 6309 | |
| TypeLessAccessibleThanParentCallable | 6319 | |
| TypeLessAccessibleThanParentType | 6318 | |
| TypeLoadExceptionInCompilerPlugin | 7016 | |
| TypeMismatch | 1 | |
| TypeMismatchInCopyAndUpdateExpr | 6225 | |
| TypeMismatchInReturn | 6301 | |
| TypeMismatchInValueUpdate | 6302 | |
| TypeParameterizedArgumentInAttribute | 6228 | |
| TypeParameterRedeclaration | 6106 | |
| TypeRedefinition | 6003 | |
| TypeSpecializationMismatch | 6009 | |
| UnexpectedCommandLineCompilerException | 7001 | |
| UnexpectedCompilerException | 7022 | |
| UnexpectedFragmentDelimiter | 2004 | |
| UnknownCodeFragment | 3001 | |
| UnknownCompilerPlugin | 7015 | |
| UnknownFunctorGenerator | 3109 | |
| UnknownIdentifier | 5022 | |
| UnknownItemName | 6108 | |
| UnknownNamespace | 6104 | |
| UnknownProjectReference | 7007 | |
| UnknownSetName | 3114 | |
| UnknownSourceFile | 7005 | |
| UnknownType | 6005 | |
| UnknownTypeInNamespace | 6105 | |
| UnknownTypeParameterName | 6107 | |
| UnrecognizedContentInReference | 7011 | |
| UnsupportedCallableCapability | 5027 | |
| UnsupportedClassicalCapability | 5028 | |
| UnsupportedResultComparison | 5023 | |
| UpdateOfArrayItemExpr | 3303 | |
| UpdateOfImmutableIdentifier | 6303 | |
| UserDefinedImplementationForIntrinsic | 6310 | |
| UserDefinedTypeInEntryPointSignature | 6233 | |
| UsingInFunction | 4007 | |
| ValueImplicitlyIgnored | 5 | |
| ValueUpdateWithinAutoInversion | 6314 | |
| WhileLoopInOperation | 4013 | |
| WrongNumberOfTypeArguments | 6221 |