# Old-style error strings getting moved over
undefinedNameNamespace,"The namespace '%s' is not defined"
undefinedNameNamespaceOrModule,"The namespace or module '%s' is not defined"
undefinedNameFieldConstructorOrMember,"The field, constructor or member '%s' is not defined"
undefinedNameValueConstructorNamespaceOrType,"The value, constructor, namespace or type '%s' is not defined"
undefinedNameValueOfConstructor,"The value or constructor '%s' is not defined"
undefinedNameValueNamespaceTypeOrModule,"The value, namespace, type or module '%s' is not defined"
undefinedNameConstructorModuleOrNamespace,"The constructor, module or namespace '%s' is not defined"
undefinedNameType,"The type '%s' is not defined"
undefinedNameRecordLabelOrNamespace,"The record label or namespace '%s' is not defined"
undefinedNameRecordLabel,"The record label '%s' is not defined"
undefinedNameTypeParameter,"The type parameter '%s' is not defined"
undefinedNamePatternDiscriminator,"The pattern discriminator '%s' is not defined"
# -----------------------------------------------------------------------------
# CompileOps.fs
# -----------------------------------------------------------------------------
buildUnexpectedTypeArgs,"The non-generic type '%s' does not expect any type arguments, but here is given %d type argument(s)"
203,buildInvalidWarningNumber,"Invalid warning number '%s'"
204,buildInvalidVersionString,"Invalid version string '%s'"
205,buildInvalidVersionFile,"Invalid version file '%s'"
buildProductName,"F# Compiler for F# 4.0 %s"
206,buildProblemWithFilename,"Problem with filename '%s': %s"
207,buildNoInputsSpecified,"No inputs specified"
208,buildMismatchOutputExtension,"The output name extension doesn't match the options used. If '-a' or '--target:library' is used the output file name must end with '.dll', if '--target:module' is used the output extension must be '.netmodule', otherwise '.exe'."
209,buildPdbRequiresDebug,"The '--pdb' option requires the '--debug' option to be used"
210,buildInvalidSearchDirectory,"The search directory '%s' is invalid"
211,buildSearchDirectoryNotFound,"The search directory '%s' could not be found"
212,buildInvalidFilename,"'%s' is not a valid filename"
213,buildInvalidAssemblyName,"'%s' is not a valid assembly name"
214,buildInvalidPrivacy,"Unrecognized privacy setting '%s' for managed resource, valid options are 'public' and 'private'"
215,buildMultipleReferencesNotAllowed,"Multiple references to '%s.dll' are not permitted"
216,buildRequiresCLI2,"The file '%s' is a CLI 1.x version of mscorlib. F# requires CLI version 2.0 or greater."
buildCouldNotReadVersionInfoFromMscorlib,"Could not read version from mscorlib.dll"
217,buildMscorlibAndReferencedAssemblyMismatch,"The referenced or default base CLI library 'mscorlib' is binary-incompatible with the referenced library '%s'. Consider recompiling the library or making an explicit reference to a version of this library that matches the CLI version you are using."
218,buildCannotReadAssembly,"Unable to read assembly '%s'"
219,buildMscorLibAndFSharpCoreMismatch,"The referenced or default base CLI library 'mscorlib' is binary-incompatible with the referenced F# core library '%s'. Consider recompiling the library or making an explicit reference to a version of this library that matches the CLI version you are using."
220,buildAssemblyResolutionFailed,"Assembly resolution failure at or near this location"
221,buildImplicitModuleIsNotLegalIdentifier,"The declarations in this file will be placed in an implicit module '%s' based on the file name '%s'. However this is not a valid F# identifier, so the contents will not be accessible from other files. Consider renaming the file or adding a 'module' or 'namespace' declaration at the top of the file."
222,buildMultiFileRequiresNamespaceOrModule,"Files in libraries or multiple-file applications must begin with a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule'. Only the last source file of an application may omit such a declaration."
223,buildMultipleToplevelModules,"This file contains multiple declarations of the form 'module SomeNamespace.SomeModule'. Only one declaration of this form is permitted in a file. Change your file to use an initial namespace declaration and/or use 'module ModuleName = ...' to define your modules."
224,buildOptionRequiresParameter,"Option requires parameter: %s"
225,buildCouldNotFindSourceFile,"Source file '%s' could not be found"
226,buildInvalidSourceFileExtension,"The file extension of '%s' is not recognized. Source files must have extension .fs, .fsi, .fsx, .fsscript, .ml or .mli."
227,buildCouldNotResolveAssembly,"Could not resolve assembly '%s'"
228,buildCouldNotResolveAssemblyRequiredByFile,"Could not resolve assembly '%s' required by '%s'"
229,buildErrorOpeningBinaryFile,"Error opening binary file '%s': %s"
231,buildDifferentVersionMustRecompile,"The F#-compiled DLL '%s' needs to be recompiled to be used with this version of F#"
232,buildInvalidHashIDirective,"Invalid directive. Expected '#I \"<path>\"'."
233,buildInvalidHashrDirective,"Invalid directive. Expected '#r \"<file-or-assembly>\"'."
234,buildInvalidHashloadDirective,"Invalid directive. Expected '#load \"<file>\" ... \"<file>\"'."
235,buildInvalidHashtimeDirective,"Invalid directive. Expected '#time', '#time \"on\"' or '#time \"off\"'."
236,buildDirectivesInModulesAreIgnored,"Directives inside modules are ignored"
237,buildSignatureAlreadySpecified,"A signature for the file or module '%s' has already been specified"
238,buildImplementationAlreadyGivenDetail,"An implementation of file or module '%s' has already been given. Compilation order is significant in F# because of type inference. You may need to adjust the order of your files to place the signature file before the implementation. In Visual Studio files are type-checked in the order they appear in the project file, which can be edited manually or adjusted using the solution explorer."
239,buildImplementationAlreadyGiven,"An implementation of the file or module '%s' has already been given"
240,buildSignatureWithoutImplementation,"The signature file '%s' does not have a corresponding implementation file. If an implementation file exists then check the 'module' and 'namespace' declarations in the signature and implementation files match."
241,buildArgInvalidInt,"'%s' is not a valid integer argument"
242,buildArgInvalidFloat,"'%s' is not a valid floating point argument"
243,buildUnrecognizedOption,"Unrecognized option: '%s'"
244,buildInvalidModuleOrNamespaceName,"Invalid module or namespace name"
# -----------------------------------------------------------------------------
# pickle.fs
# -----------------------------------------------------------------------------
pickleErrorReadingWritingMetadata,"Error reading/writing metadata for the F# compiled DLL '%s'. Was the DLL compiled with an earlier version of the F# compiler? (error: '%s')."
# -----------------------------------------------------------------------------
# tast.fs
# -----------------------------------------------------------------------------
245,tastTypeOrModuleNotConcrete,"The type/module '%s' is not a concrete module or type"
tastTypeHasAssemblyCodeRepresentation,"The type '%s' has an inline assembly code representation"
247,tastNamespaceAndModuleWithSameNameInAssembly,"A namespace and a module named '%s' both occur in two parts of this assembly"
248,tastTwoModulesWithSameNameInAssembly,"Two modules named '%s' occur in two parts of this assembly"
249,tastDuplicateTypeDefinitionInAssembly,"Two type definitions named '%s' occur in namespace '%s' in two parts of this assembly"
250,tastConflictingModuleAndTypeDefinitionInAssembly,"A module and a type definition named '%s' occur in namespace '%s' in two parts of this assembly"
# -----------------------------------------------------------------------------
# tastops.fs
# -----------------------------------------------------------------------------
251,tastInvalidMemberSignature,"Invalid member signature encountered because of an earlier error"
252,tastValueDoesNotHaveSetterType,"This value does not have a valid property setter type"
253,tastInvalidFormForPropertyGetter,"Invalid form for a property getter. At least one '()' argument is required when using the explicit syntax."
254,tastInvalidFormForPropertySetter,"Invalid form for a property setter. At least one argument is required."
255,tastUnexpectedByRef,"Unexpected use of a byref-typed variable"
256,tastValueMustBeLocalAndMutable,"A value must be mutable in order to mutate the contents or take the address of a value type, e.g. 'let mutable x = ...'"
257,tastInvalidMutationOfConstant,"Invalid mutation of a constant expression. Consider copying the expression to a mutable local, e.g. 'let mutable x = ...'."
tastValueHasBeenCopied,"The value has been copied to ensure the original is not mutated by this operation"
259,tastRecursiveValuesMayNotBeInConstructionOfTuple,"Recursively defined values cannot appear directly as part of the construction of a tuple value within a recursive binding"
260,tastRecursiveValuesMayNotAppearInConstructionOfType,"Recursive values cannot appear directly as a construction of the type '%s' within a recursive binding. This feature has been removed from the F# language. Consider using a record instead."
261,tastRecursiveValuesMayNotBeAssignedToNonMutableField,"Recursive values cannot be directly assigned to the non-mutable field '%s' of the type '%s' within a recursive binding. Consider using a mutable field instead."
tastUnexpectedDecodeOfAutoOpenAttribute,"Unexpected decode of AutoOpenAttribute"
tastUnexpectedDecodeOfInternalsVisibleToAttribute,"Unexpected decode of InternalsVisibleToAttribute"
tastUnexpectedDecodeOfInterfaceDataVersionAttribute,"Unexpected decode of InterfaceDataVersionAttribute"
265,tastActivePatternsLimitedToSeven,"Active patterns cannot return more than 7 possibilities"
267,tastNotAConstantExpression,"This is not a valid constant expression or custom attribute value"
# -----------------------------------------------------------------------------
# typrelns.fs
# -----------------------------------------------------------------------------
ValueNotContainedMutabilityAttributesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe mutability attributes differ"
ValueNotContainedMutabilityNamesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe names differ"
ValueNotContainedMutabilityCompiledNamesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe compiled names differ"
ValueNotContainedMutabilityDisplayNamesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe display names differ"
ValueNotContainedMutabilityAccessibilityMore,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe accessibility specified in the signature is more than that specified in the implementation"
ValueNotContainedMutabilityInlineFlagsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe inline flags differ"
ValueNotContainedMutabilityLiteralConstantValuesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe literal constant values and/or attributes differ"
ValueNotContainedMutabilityOneIsTypeFunction,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is a type function and the other is not. The signature requires explicit type parameters if they are present in the implementation."
ValueNotContainedMutabilityParameterCountsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe respective type parameter counts differ"
ValueNotContainedMutabilityTypesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe types differ"
ValueNotContainedMutabilityExtensionsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is an extension member and the other is not"
ValueNotContainedMutabilityArityNotInferred,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nAn arity was not inferred for this value"
ValueNotContainedMutabilityGenericParametersDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe number of generic parameters in the signature and implementation differ (the signature declares %s but the implementation declares %s"
ValueNotContainedMutabilityGenericParametersAreDifferentKinds,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe generic parameters in the signature and implementation have different kinds. Perhaps there is a missing [<Measure>] attribute."
ValueNotContainedMutabilityAritiesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe arities in the signature and implementation differ. The signature specifies that '%s' is function definition or lambda expression accepting at least %s argument(s), but the implementation is a computed function value. To declare that a computed function value is a permitted implementation simply parenthesize its type in the signature, e.g.\n\tval %s: int -> (int -> int)\ninstead of\n\tval %s: int -> int -> int."
ValueNotContainedMutabilityDotNetNamesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe CLI member names differ"
ValueNotContainedMutabilityStaticsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is static and the other isn't"
ValueNotContainedMutabilityVirtualsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is virtual and the other isn't"
ValueNotContainedMutabilityAbstractsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is abstract and the other isn't"
ValueNotContainedMutabilityFinalsDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is final and the other isn't"
ValueNotContainedMutabilityOverridesDiffer,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is marked as an override and the other isn't"
ValueNotContainedMutabilityOneIsConstructor,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nOne is a constructor/property and the other is not"
ValueNotContainedMutabilityStaticButInstance,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe compiled representation of this method is as a static member but the signature indicates its compiled representation is as an instance member"
ValueNotContainedMutabilityInstanceButStatic,"Module '%s' contains\n    %s    \nbut its signature specifies\n    %s    \nThe compiled representation of this method is as an instance member, but the signature indicates its compiled representation is as a static member"
290,DefinitionsInSigAndImplNotCompatibleNamesDiffer,"The %s definitions in the signature and implementation are not compatible because the names differ"
291,DefinitionsInSigAndImplNotCompatibleParameterCountsDiffer,"The %s definitions in the signature and implementation are not compatible because the respective type parameter counts differ"
292,DefinitionsInSigAndImplNotCompatibleAccessibilityDiffer,"The %s definitions in the signature and implementation are not compatible because the accessibility specified in the signature is more than that specified in the implementation"
293,DefinitionsInSigAndImplNotCompatibleMissingInterface,"The %s definitions in the signature and implementation are not compatible because the signature requires that the type supports the interface %s but the interface has not been implemented"
294,DefinitionsInSigAndImplNotCompatibleImplementationSaysNull,"The %s definitions in the signature and implementation are not compatible because the implementation says this type may use nulls as a representation but the signature does not"
294,DefinitionsInSigAndImplNotCompatibleImplementationSaysNull2,"The %s definitions in the signature and implementation are not compatible because the implementation says this type may use nulls as an extra value but the signature does not"
295,DefinitionsInSigAndImplNotCompatibleSignatureSaysNull,"The %s definitions in the signature and implementation are not compatible because the signature says this type may use nulls as a representation but the implementation does not"
295,DefinitionsInSigAndImplNotCompatibleSignatureSaysNull2,"The %s definitions in the signature and implementation are not compatible because the signature says this type may use nulls as an extra value but the implementation does not"
296,DefinitionsInSigAndImplNotCompatibleImplementationSealed,"The %s definitions in the signature and implementation are not compatible because the implementation type is sealed but the signature implies it is not. Consider adding the [<Sealed>] attribute to the signature."
297,DefinitionsInSigAndImplNotCompatibleImplementationIsNotSealed,"The %s definitions in the signature and implementation are not compatible because the implementation type is not sealed but signature implies it is. Consider adding the [<Sealed>] attribute to the implementation."
298,DefinitionsInSigAndImplNotCompatibleImplementationIsAbstract,"The %s definitions in the signature and implementation are not compatible because the implementation is an abstract class but the signature is not. Consider adding the [<AbstractClass>] attribute to the signature."
299,DefinitionsInSigAndImplNotCompatibleSignatureIsAbstract,"The %s definitions in the signature and implementation are not compatible because the signature is an abstract class but the implementation is not. Consider adding the [<AbstractClass>] attribute to the implementation."
300,DefinitionsInSigAndImplNotCompatibleTypesHaveDifferentBaseTypes,"The %s definitions in the signature and implementation are not compatible because the types have different base types"
301,DefinitionsInSigAndImplNotCompatibleNumbersDiffer,"The %s definitions in the signature and implementation are not compatible because the number of %ss differ"
302,DefinitionsInSigAndImplNotCompatibleSignatureDefinesButImplDoesNot,"The %s definitions in the signature and implementation are not compatible because the signature defines the %s '%s' but the implementation does not (or does, but not in the same order)"
303,DefinitionsInSigAndImplNotCompatibleImplDefinesButSignatureDoesNot,"The %s definitions in the signature and implementation are not compatible because the implementation defines the %s '%s' but the signature does not (or does, but not in the same order)"
304,DefinitionsInSigAndImplNotCompatibleImplDefinesStruct,"The %s definitions in the signature and implementation are not compatible because the implementation defines a struct but the signature defines a type with a hidden representation"
305,DefinitionsInSigAndImplNotCompatibleDotNetTypeRepresentationIsHidden,"The %s definitions in the signature and implementation are not compatible because a CLI type representation is being hidden by a signature"
306,DefinitionsInSigAndImplNotCompatibleTypeIsHidden,"The %s definitions in the signature and implementation are not compatible because a type representation is being hidden by a signature"
307,DefinitionsInSigAndImplNotCompatibleTypeIsDifferentKind,"The %s definitions in the signature and implementation are not compatible because the types are of different kinds"
308,DefinitionsInSigAndImplNotCompatibleILDiffer,"The %s definitions in the signature and implementation are not compatible because the IL representations differ"
309,DefinitionsInSigAndImplNotCompatibleRepresentationsDiffer,"The %s definitions in the signature and implementation are not compatible because the representations differ"
311,DefinitionsInSigAndImplNotCompatibleFieldWasPresent,"The %s definitions in the signature and implementation are not compatible because the field %s was present in the implementation but not in the signature"
312,DefinitionsInSigAndImplNotCompatibleFieldOrderDiffer,"The %s definitions in the signature and implementation are not compatible because the order of the fields is different in the signature and implementation"
313,DefinitionsInSigAndImplNotCompatibleFieldRequiredButNotSpecified,"The %s definitions in the signature and implementation are not compatible because the field %s was required by the signature but was not specified by the implementation"
314,DefinitionsInSigAndImplNotCompatibleFieldIsInImplButNotSig,"The %s definitions in the signature and implementation are not compatible because the field '%s' was present in the implementation but not in the signature. Struct types must now reveal their fields in the signature for the type, though the fields may still be labelled 'private' or 'internal'."
315,DefinitionsInSigAndImplNotCompatibleAbstractMemberMissingInImpl,"The %s definitions in the signature and implementation are not compatible because the abstract member '%s' was required by the signature but was not specified by the implementation"
316,DefinitionsInSigAndImplNotCompatibleAbstractMemberMissingInSig,"The %s definitions in the signature and implementation are not compatible because the abstract member '%s' was present in the implementation but not in the signature"
317,DefinitionsInSigAndImplNotCompatibleSignatureDeclaresDiffer,"The %s definitions in the signature and implementation are not compatible because the signature declares a %s while the implementation declares a %s"
318,DefinitionsInSigAndImplNotCompatibleAbbreviationsDiffer,"The %s definitions in the signature and implementation are not compatible because the abbreviations differ: %s versus %s"
319,DefinitionsInSigAndImplNotCompatibleAbbreviationHiddenBySig,"The %s definitions in the signature and implementation are not compatible because an abbreviation is being hidden by a signature. The abbreviation must be visible to other CLI languages. Consider making the abbreviation visible in the signature."
320,DefinitionsInSigAndImplNotCompatibleSigHasAbbreviation,"The %s definitions in the signature and implementation are not compatible because the signature has an abbreviation while the implementation does not"
ModuleContainsConstructorButNamesDiffer,"The module contains the constructor\n    %s    \nbut its signature specifies\n    %s    \nThe names differ"
ModuleContainsConstructorButDataFieldsDiffer,"The module contains the constructor\n    %s    \nbut its signature specifies\n    %s    \nThe respective number of data fields differ"
ModuleContainsConstructorButTypesOfFieldsDiffer,"The module contains the constructor\n    %s    \nbut its signature specifies\n    %s    \nThe types of the fields differ"
ModuleContainsConstructorButAccessibilityDiffers,"The module contains the constructor\n    %s    \nbut its signature specifies\n    %s    \nthe accessibility specified in the signature is more than that specified in the implementation"
FieldNotContainedNamesDiffer,"The module contains the field\n    %s    \nbut its signature specifies\n    %s    \nThe names differ"
FieldNotContainedAccessibilitiesDiffer,"The module contains the field\n    %s    \nbut its signature specifies\n    %s    \nthe accessibility specified in the signature is more than that specified in the implementation"
FieldNotContainedStaticsDiffer,"The module contains the field\n    %s    \nbut its signature specifies\n    %s    \nThe 'static' modifiers differ"
FieldNotContainedMutablesDiffer,"The module contains the field\n    %s    \nbut its signature specifies\n    %s    \nThe 'mutable' modifiers differ"
FieldNotContainedLiteralsDiffer,"The module contains the field\n    %s    \nbut its signature specifies\n    %s    \nThe 'literal' modifiers differ"
FieldNotContainedTypesDiffer,"The module contains the field\n    %s    \nbut its signature specifies\n    %s    \nThe types differ"
331,typrelCannotResolveImplicitGenericInstantiation,"The implicit instantiation of a generic construct at or near this point could not be resolved because it could resolve to multiple unrelated types, e.g. '%s' and '%s'. Consider using type annotations to resolve the ambiguity"
332,typrelCannotResolveAmbiguityInOverloadedOperator,"Could not resolve the ambiguity inherent in the use of the operator '%s' at or near this program point. Consider using type annotations to resolve the ambiguity."
333,typrelCannotResolveAmbiguityInPrintf,"Could not resolve the ambiguity inherent in the use of a 'printf'-style format string"
334,typrelCannotResolveAmbiguityInEnum,"Could not resolve the ambiguity in the use of a generic construct with an 'enum' constraint at or near this position"
335,typrelCannotResolveAmbiguityInDelegate,"Could not resolve the ambiguity in the use of a generic construct with a 'delegate' constraint at or near this position"
337,typrelInvalidValue,"Invalid value"
338,typrelSigImplNotCompatibleParamCountsDiffer,"The signature and implementation are not compatible because the respective type parameter counts differ"
339,typrelSigImplNotCompatibleCompileTimeRequirementsDiffer,"The signature and implementation are not compatible because the type parameter in the class/signature has a different compile-time requirement to the one in the member/implementation"
340,typrelSigImplNotCompatibleConstraintsDiffer,"The signature and implementation are not compatible because the declaration of the type parameter '%s' requires a constraint of the form %s"
341,typrelSigImplNotCompatibleConstraintsDifferRemove,"The signature and implementation are not compatible because the type parameter '%s' has a constraint of the form %s but the implementation does not. Either remove this constraint from the signature or add it to the implementation."
342,typrelTypeImplementsIComparableShouldOverrideObjectEquals,"The type '%s' implements 'System.IComparable'. Consider also adding an explicit override for 'Object.Equals'"
343,typrelTypeImplementsIComparableDefaultObjectEqualsProvided,"The type '%s' implements 'System.IComparable' explicitly but provides no corresponding override for 'Object.Equals'. An implementation of 'Object.Equals' has been automatically provided, implemented via 'System.IComparable'. Consider implementing the override 'Object.Equals' explicitly"
344,typrelExplicitImplementationOfGetHashCodeOrEquals,"The struct, record or union type '%s' has an explicit implementation of 'Object.GetHashCode' or 'Object.Equals'. You must apply the 'CustomEquality' attribute to the type"
345,typrelExplicitImplementationOfGetHashCode,"The struct, record or union type '%s' has an explicit implementation of 'Object.GetHashCode'. Consider implementing a matching override for 'Object.Equals(obj)'"
346,typrelExplicitImplementationOfEquals,"The struct, record or union type '%s' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()'"
ExceptionDefsNotCompatibleHiddenBySignature,"The exception definitions are not compatible because a CLI exception mapping is being hidden by a signature. The exception mapping must be visible to other modules. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s"
ExceptionDefsNotCompatibleDotNetRepresentationsDiffer,"The exception definitions are not compatible because the CLI representations differ. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s"
ExceptionDefsNotCompatibleAbbreviationHiddenBySignature,"The exception definitions are not compatible because the exception abbreviation is being hidden by the signature. The abbreviation must be visible to other CLI languages. Consider making the abbreviation visible in the signature. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s."
ExceptionDefsNotCompatibleSignaturesDiffer,"The exception definitions are not compatible because the exception abbreviations in the signature and implementation differ. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s."
ExceptionDefsNotCompatibleExceptionDeclarationsDiffer,"The exception definitions are not compatible because the exception declarations differ. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s."
ExceptionDefsNotCompatibleFieldInSigButNotImpl,"The exception definitions are not compatible because the field '%s' was required by the signature but was not specified by the implementation. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s."
ExceptionDefsNotCompatibleFieldInImplButNotSig,"The exception definitions are not compatible because the field '%s' was present in the implementation but not in the signature. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s."
ExceptionDefsNotCompatibleFieldOrderDiffers,"The exception definitions are not compatible because the order of the fields is different in the signature and implementation. The module contains the exception definition\n    %s    \nbut its signature specifies\n\t%s."
355,typrelModuleNamespaceAttributesDifferInSigAndImpl,"The namespace or module attributes differ between signature and implementation"
356,typrelMethodIsOverconstrained,"This method is over-constrained in its type parameters"
357,typrelOverloadNotFound,"No implementations of '%s' had the correct number of arguments and type parameters. The required signature is '%s'."
358,typrelOverrideWasAmbiguous,"The override for '%s' was ambiguous"
359,typrelMoreThenOneOverride,"More than one override implements '%s'"
360,typrelMethodIsSealed,"The method '%s' is sealed and cannot be overridden"
361,typrelOverrideImplementsMoreThenOneSlot,"The override '%s' implements more than one abstract slot, e.g. '%s' and '%s'"
362,typrelDuplicateInterface,"Duplicate or redundant interface"
363,typrelNeedExplicitImplementation,"The interface '%s' is included in multiple explicitly implemented interface types. Add an explicit implementation of this interface."
364,typrelNamedArgumentHasBeenAssignedMoreThenOnce,"A named argument has been assigned more than one value"
365,typrelNoImplementationGiven,"No implementation was given for '%s'"
366,typrelNoImplementationGivenWithSuggestion,"No implementation was given for '%s'. Note that all interface members must be implemented and listed under an appropriate 'interface' declaration, e.g. 'interface ... with member ...'."
367,typrelMemberDoesNotHaveCorrectNumberOfArguments,"The member '%s' does not have the correct number of arguments. The required signature is '%s'."
368,typrelMemberDoesNotHaveCorrectNumberOfTypeParameters,"The member '%s' does not have the correct number of method type parameters. The required signature is '%s'."
369,typrelMemberDoesNotHaveCorrectKindsOfGenericParameters,"The member '%s' does not have the correct kinds of generic parameters. The required signature is '%s'."
370,typrelMemberCannotImplement,"The member '%s' cannot be used to implement '%s'. The required signature is '%s'."
# -----------------------------------------------------------------------------
# ast.fs errors
# -----------------------------------------------------------------------------
371,astParseEmbeddedILError,"Error while parsing embedded IL"
372,astParseEmbeddedILTypeError,"Error while parsing embedded IL type"
astDeprecatedIndexerNotation,"This indexer notation has been removed from the F# language"
374,astInvalidExprLeftHandOfAssignment,"Invalid expression on left of assignment"
# -----------------------------------------------------------------------------
# augment.fs errors
# -----------------------------------------------------------------------------
376,augNoRefEqualsOnStruct,"The 'ReferenceEquality' attribute cannot be used on structs. Consider using the 'StructuralEquality' attribute instead, or implement an override for 'System.Object.Equals(obj)'."
377,augInvalidAttrs,"This type uses an invalid mix of the attributes 'NoEquality', 'ReferenceEquality', 'StructuralEquality', 'NoComparison' and 'StructuralComparison'"
378,augNoEqualityNeedsNoComparison,"The 'NoEquality' attribute must be used in conjunction with the 'NoComparison' attribute"
379,augStructCompNeedsStructEquality,"The 'StructuralComparison' attribute must be used in conjunction with the 'StructuralEquality' attribute"
380,augStructEqNeedsNoCompOrStructComp,"The 'StructuralEquality' attribute must be used in conjunction with the 'NoComparison' or 'StructuralComparison' attributes"
381,augTypeCantHaveRefEqAndStructAttrs,"A type cannot have both the 'ReferenceEquality' and 'StructuralEquality' or 'StructuralComparison' attributes"
382,augOnlyCertainTypesCanHaveAttrs,"Only record, union, exception and struct types may be augmented with the 'ReferenceEquality', 'StructuralEquality' and 'StructuralComparison' attributes"
383,augRefEqCantHaveObjEquals,"A type with attribute 'ReferenceEquality' cannot have an explicit implementation of 'Object.Equals(obj)', 'System.IEquatable<_>' or 'System.Collections.IStructuralEquatable'"
384,augCustomEqNeedsObjEquals,"A type with attribute 'CustomEquality' must have an explicit implementation of at least one of 'Object.Equals(obj)', 'System.IEquatable<_>' or 'System.Collections.IStructuralEquatable'"
385,augCustomCompareNeedsIComp,"A type with attribute 'CustomComparison' must have an explicit implementation of at least one of 'System.IComparable' or 'System.Collections.IStructuralComparable'"
386,augNoEqNeedsNoObjEquals,"A type with attribute 'NoEquality' should not usually have an explicit implementation of 'Object.Equals(obj)'. Disable this warning if this is intentional for interoperability purposes"
386,augNoCompCantImpIComp,"A type with attribute 'NoComparison' should not usually have an explicit implementation of 'System.IComparable', 'System.IComparable<_>' or 'System.Collections.IStructuralComparable'. Disable this warning if this is intentional for interoperability purposes"
387,augCustomEqNeedsNoCompOrCustomComp,"The 'CustomEquality' attribute must be used in conjunction with the 'NoComparison' or 'CustomComparison' attributes"
# -----------------------------------------------------------------------------
# formats.fs errors
# -----------------------------------------------------------------------------
forPositionalSpecifiersNotPermitted,"Positional specifiers are not permitted in format strings"
forMissingFormatSpecifier,"Missing format specifier"
forFlagSetTwice,"'%s' flag set twice"
forPrefixFlagSpacePlusSetTwice,"Prefix flag (' ' or '+') set twice"
forHashSpecifierIsInvalid,"The # formatting modifier is invalid in F#"
forBadPrecision,"Bad precision in format specifier"
forBadWidth,"Bad width in format specifier"
forDoesNotSupportZeroFlag,"'%s' format does not support '0' flag"
forPrecisionMissingAfterDot,"Precision missing after the '.'"
forFormatDoesntSupportPrecision,"'%s' format does not support precision"
forBadFormatSpecifier,"Bad format specifier (after l or L): Expected ld,li,lo,lu,lx or lX. In F# code you can use %%d, %%x, %%o or %%u instead, which are overloaded to work with all basic integer types."
forLIsUnnecessary,"The 'l' or 'L' in this format specifier is unnecessary. In F# code you can use %%d, %%x, %%o or %%u instead, which are overloaded to work with all basic integer types."
forHIsUnnecessary,"The 'h' or 'H' in this format specifier is unnecessary. You can use %%d, %%x, %%o or %%u instead, which are overloaded to work with all basic integer types.."
forDoesNotSupportPrefixFlag,"'%s' does not support prefix '%s' flag"
forBadFormatSpecifierGeneral,"Bad format specifier: '%s'"
# -----------------------------------------------------------------------------
# ErrorLogger.fs errors
# -----------------------------------------------------------------------------
elSysEnvExitDidntExit,"System.Environment.Exit did not exit"
elDeprecatedOperator,"The treatment of this operator is now handled directly by the F# compiler and its meaning cannot be redefined"
# -----------------------------------------------------------------------------
# check.fs errors
# -----------------------------------------------------------------------------
405,chkProtectedOrBaseCalled,"A protected member is called or 'base' is being used. This is only allowed in the direct implementation of members since they could escape their object scope."
406,chkByrefUsedInInvalidWay,"The byref-typed variable '%s' is used in an invalid way. Byrefs cannot be captured by closures or passed to inner functions."
408,chkBaseUsedInInvalidWay,"The 'base' keyword is used in an invalid way. Base calls cannot be used in closures. Consider using a private member to make base calls."
chkVariableUsedInInvalidWay,"The variable '%s' is used in an invalid way"
410,chkTypeLessAccessibleThanType,"The type '%s' is less accessible than the value, member or type '%s' it is used in"
411,chkSystemVoidOnlyInTypeof,"'System.Void' can only be used as 'typeof<System.Void>' in F#"
412,chkErrorUseOfByref,"A type instantiation involves a byref type. This is not permitted by the rules of Common IL."
413,chkErrorContainsCallToRethrow,"Calls to 'reraise' may only occur directly in a handler of a try-with"
414,chkSplicingOnlyInQuotations,"Expression-splicing operators may only be used within quotations"
415,chkNoFirstClassSplicing,"First-class uses of the expression-splicing operator are not permitted"
416,chkNoFirstClassAddressOf,"First-class uses of the address-of operators are not permitted"
417,chkNoFirstClassRethrow,"First-class uses of the 'reraise' function is not permitted"
418,chkNoByrefAtThisPoint,"The byref typed value '%s' cannot be used at this point"
419,chkLimitationsOfBaseKeyword,"'base' values may only be used to make direct calls to the base implementations of overridden members"
420,chkObjCtorsCantUseExceptionHandling,"Object constructors cannot directly use try/with and try/finally prior to the initialization of the object. This includes constructs such as 'for x in ...' that may elaborate to uses of these constructs. This is a limitation imposed by Common IL."
421,chkNoAddressOfAtThisPoint,"The address of the variable '%s' cannot be used at this point"
422,chkNoAddressStaticFieldAtThisPoint,"The address of the static field '%s' cannot be used at this point"
423,chkNoAddressFieldAtThisPoint,"The address of the field '%s' cannot be used at this point"
424,chkNoAddressOfArrayElementAtThisPoint,"The address of an array element cannot be used at this point"
425,chkFirstClassFuncNoByref,"The type of a first-class function cannot contain byrefs"
426,chkReturnTypeNoByref,"A method return type would contain byrefs which is not permitted"
428,chkInvalidCustAttrVal,"Invalid custom attribute value (not a constant or literal)"
429,chkAttrHasAllowMultiFalse,"The attribute type '%s' has 'AllowMultiple=false'. Multiple instances of this attribute cannot be attached to a single language element."
430,chkMemberUsedInInvalidWay,"The member '%s' is used in an invalid way. A use of '%s' has been inferred prior to its definition at or near '%s'. This is an invalid forward reference."
431,chkNoByrefAsTopValue,"A byref typed value would be stored here. Top-level let-bound byref values are not permitted."
432,chkReflectedDefCantSplice,"[<ReflectedDefinition>] terms cannot contain uses of the prefix splice operator '%%'"
433,chkEntryPointUsage,"A function labeled with the 'EntryPointAttribute' attribute must be the last declaration in the last file in the compilation sequence, and can only be used when compiling to a .exe"
chkUnionCaseCompiledForm,"compiled form of the union case"
chkUnionCaseDefaultAugmentation,"default augmentation of the union case"
434,chkPropertySameNameMethod,"Name clash. The property '%s' has the same name as a method in this type."
435,chkGetterSetterDoNotMatchAbstract,"The property '%s' has a getter and a setter that do not match. If one is abstract then the other must be as well."
436,chkPropertySameNameIndexer,"The property '%s' has the same name as another property in this type, but one takes indexer arguments and the other does not. You may be missing an indexer argument to one of your properties."
437,chkCantStoreByrefValue,"A type would store a byref typed value. This is not permitted by Common IL."
#See related 1205 chkDuplicateInherittedVirtualMethod
438,chkDuplicateMethod,"Duplicate method. The method '%s' has the same name and signature as another method in this type."
438,chkDuplicateMethodWithSuffix,"Duplicate method. The method '%s' has the same name and signature as another method in this type once tuples, functions, units of measure and/or provided types are erased."
439,chkDuplicateMethodCurried,"The method '%s' has curried arguments but has the same name as another method in this type. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments."
440,chkCurriedMethodsCantHaveOutParams,"Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition' or 'byref' arguments"
441,chkDuplicateProperty,"Duplicate property. The property '%s' has the same name and signature as another property in this type."
441,chkDuplicatePropertyWithSuffix,"Duplicate property. The property '%s' has the same name and signature as another property in this type once tuples, functions, units of measure and/or provided types are erased."
442,chkDuplicateMethodInheritedType,"Duplicate method. The abstract method '%s' has the same name and signature as an abstract method in an inherited type."
442,chkDuplicateMethodInheritedTypeWithSuffix,"Duplicate method. The abstract method '%s' has the same name and signature as an abstract method in an inherited type once tuples, functions, units of measure and/or provided types are erased."
443,chkMultipleGenericInterfaceInstantiations,"This type implements the same interface at different generic instantiations '%s' and '%s'. This is not permitted in this version of F#."
444,chkValueWithDefaultValueMustHaveDefaultValue,"The type of a field using the 'DefaultValue' attribute must admit default initialization, i.e. have 'null' as a proper value or be a struct type whose fields all admit default initialization. You can use 'DefaultValue(false)' to disable this check"
445,chkNoByrefInTypeAbbrev,"The type abbreviation contains byrefs. This is not permitted by F#."
# -----------------------------------------------------------------------------
# creflect.fs errors
# -----------------------------------------------------------------------------
446,crefBoundVarUsedInSplice,"The variable '%s' is bound in a quotation but is used as part of a spliced expression. This is not permitted since it may escape its scope."
447,crefQuotationsCantContainGenericExprs,"Quotations cannot contain uses of generic expressions"
448,crefQuotationsCantContainGenericFunctions,"Quotations cannot contain function definitions that are inferred or declared to be generic. Consider adding some type constraints to make this a valid quoted expression."
449,crefQuotationsCantContainObjExprs,"Quotations cannot contain object expressions"
450,crefQuotationsCantContainAddressOf,"Quotations cannot contain expressions that take the address of a field"
451,crefQuotationsCantContainStaticFieldRef,"Quotations cannot contain expressions that fetch static fields"
452,crefQuotationsCantContainInlineIL,"Quotations cannot contain inline assembly code or pattern matching on arrays"
453,crefQuotationsCantContainDescendingForLoops,"Quotations cannot contain descending for loops"
454,crefQuotationsCantFetchUnionIndexes,"Quotations cannot contain expressions that fetch union case indexes"
455,crefQuotationsCantSetUnionFields,"Quotations cannot contain expressions that set union case fields"
456,crefQuotationsCantSetExceptionFields,"Quotations cannot contain expressions that set fields in exception values"
457,crefQuotationsCantRequireByref,"Quotations cannot contain expressions that require byref pointers"
458,crefQuotationsCantCallTraitMembers,"Quotations cannot contain expressions that make member constraint calls, or uses of operators that implicitly resolve to a member constraint call"
459,crefQuotationsCantContainThisConstant,"Quotations cannot contain this kind of constant"
460,crefQuotationsCantContainThisPatternMatch,"Quotations cannot contain this kind of pattern match"
461,crefQuotationsCantContainArrayPatternMatching,"Quotations cannot contain array pattern matching"
462,crefQuotationsCantContainThisType,"Quotations cannot contain this kind of type"
# -----------------------------------------------------------------------------
# csolve.fs errors
# -----------------------------------------------------------------------------
csTypeCannotBeResolvedAtCompileTime,"The declared type parameter '%s' cannot be used here since the type parameter cannot be resolved at compile time"
464,csCodeLessGeneric,"This code is less generic than indicated by its annotations. A unit-of-measure specified using '_' has been determined to be '1', i.e. dimensionless. Consider making the code generic, or removing the use of '_'."
465,csTypeInferenceMaxDepth,"Type inference problem too complicated (maximum iteration depth reached). Consider adding further type annotations."
csExpectedArguments,"Expected arguments to an instance member"
csIndexArgumentMismatch,"This indexer expects %d arguments but is here given %d"
csExpectTypeWithOperatorButGivenFunction,"Expecting a type supporting the operator '%s' but given a function type. You may be missing an argument to a function."
csExpectTypeWithOperatorButGivenTuple,"Expecting a type supporting the operator '%s' but given a tuple type"
csTypesDoNotSupportOperator,"None of the types '%s' support the operator '%s'"
csTypeDoesNotSupportOperator,"The type '%s' does not support the operator '%s'"
csTypesDoNotSupportOperatorNullable,"None of the types '%s' support the operator '%s'. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'."
csTypeDoesNotSupportOperatorNullable,"The type '%s' does not support the operator '%s'. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'."
csTypeDoesNotSupportConversion,"The type '%s' does not support a conversion to the type '%s'"
csMethodFoundButIsStatic,"The type '%s' has a method '%s' (full name '%s'), but the method is static"
csMethodFoundButIsNotStatic,"The type '%s' has a method '%s' (full name '%s'), but the method is not static"
472,csStructConstraintInconsistent,"The constraints 'struct' and 'not struct' are inconsistent"
csTypeDoesNotHaveNull,"The type '%s' does not have 'null' as a proper value"
csNullableTypeDoesNotHaveNull,"The type '%s' does not have 'null' as a proper value. To create a null value for a Nullable type use 'System.Nullable()'."
csTypeDoesNotSupportComparison1,"The type '%s' does not support the 'comparison' constraint because it has the 'NoComparison' attribute"
csTypeDoesNotSupportComparison2,"The type '%s' does not support the 'comparison' constraint. For example, it does not support the 'System.IComparable' interface"
csTypeDoesNotSupportComparison3,"The type '%s' does not support the 'comparison' constraint because it is a record, union or struct with one or more structural element types which do not support the 'comparison' constraint. Either avoid the use of comparison with this type, or add the 'StructuralComparison' attribute to the type to determine which field type does not support comparison"
csTypeDoesNotSupportEquality1,"The type '%s' does not support the 'equality' constraint because it has the 'NoEquality' attribute"
csTypeDoesNotSupportEquality2,"The type '%s' does not support the 'equality' constraint because it is a function type"
csTypeDoesNotSupportEquality3,"The type '%s' does not support the 'equality' constraint because it is a record, union or struct with one or more structural element types which do not support the 'equality' constraint. Either avoid the use of equality with this type, or add the 'StructuralEquality' attribute to the type to determine which field type does not support equality"
csTypeIsNotEnumType,"The type '%s' is not a CLI enum type"
csTypeHasNonStandardDelegateType,"The type '%s' has a non-standard delegate type"
csTypeIsNotDelegateType,"The type '%s' is not a CLI delegate type"
csTypeParameterCannotBeNullable,"This type parameter cannot be instantiated to 'Nullable'. This is a restriction imposed in order to ensure the meaning of 'null' in some CLI languages is not confusing when used in conjunction with 'Nullable' values."
csGenericConstructRequiresStructType,"A generic construct requires that the type '%s' is a CLI or F# struct type"
csGenericConstructRequiresUnmanagedType,"A generic construct requires that the type '%s' is an unmanaged type"
csTypeNotCompatibleBecauseOfPrintf,"The type '%s' is not compatible with any of the types %s, arising from the use of a printf-style format string"
csGenericConstructRequiresReferenceSemantics,"A generic construct requires that the type '%s' have reference semantics, but it does not, i.e. it is a struct"
csGenericConstructRequiresNonAbstract,"A generic construct requires that the type '%s' be non-abstract"
csGenericConstructRequiresPublicDefaultConstructor,"A generic construct requires that the type '%s' have a public default constructor"
483,csTypeInstantiationLengthMismatch,"Type instantiation length mismatch"
484,csOptionalArgumentNotPermittedHere,"Optional arguments not permitted here"
485,csMemberIsNotStatic,"%s is not a static member"
486,csMemberIsNotInstance,"%s is not an instance member"
487,csArgumentLengthMismatch,"Argument length mismatch"
488,csArgumentTypesDoNotMatch,"The argument types don't match"
489,csMethodExpectsParams,"This method expects a CLI 'params' parameter in this position. 'params' is a way of passing a variable number of arguments to a method in languages such as C#. Consider passing an array for this argument"
490,csMemberIsNotAccessible,"The member or object constructor '%s' is not %s"
491,csMemberIsNotAccessible2,"The member or object constructor '%s' is not %s. Private members may only be accessed from within the declaring type. Protected members may only be accessed from an extending type and cannot be accessed from inner lambda expressions."
492,csMethodIsNotAStaticMethod,"%s is not a static method"
493,csMethodIsNotAnInstanceMethod,"%s is not an instance method"
csMemberHasNoArgumentOrReturnProperty,"The member or object constructor '%s' has no argument or settable return property '%s'. %s."
495,csRequiredSignatureIs,"The required signature is %s"
496,csMemberSignatureMismatch,"The member or object constructor '%s' requires %d argument(s). The required signature is '%s'."
497,csMemberSignatureMismatch2,"The member or object constructor '%s' requires %d additional argument(s). The required signature is '%s'."
498,csMemberSignatureMismatch3,"The member or object constructor '%s' requires %d argument(s). The required signature is '%s'. Some names for missing arguments are %s."
499,csMemberSignatureMismatch4,"The member or object constructor '%s' requires %d additional argument(s). The required signature is '%s'. Some names for missing arguments are %s."
500,csMemberSignatureMismatchArityNamed,"The member or object constructor '%s' requires %d argument(s) but is here given %d unnamed and %d named argument(s). The required signature is '%s'."
501,csMemberSignatureMismatchArity,"The member or object constructor '%s' takes %d argument(s) but is here given %d. The required signature is '%s'."
502,csMemberSignatureMismatchArityType,"The member or object constructor '%s' takes %d type argument(s) but is here given %d. The required signature is '%s'."
503,csMemberNotAccessible,"The member or object constructor '%s' taking %d arguments are not accessible from this code location. All accessible versions of method '%s' take %d arguments."
504,csIncorrectGenericInstantiation,"Incorrect generic instantiation. No %s member named '%s' takes %d generic arguments."
505,csMemberOverloadArityMismatch,"The member or object constructor '%s' does not take %d argument(s). An overload was found taking %d arguments."
506,csNoMemberTakesTheseArguments,"No %s member or object constructor named '%s' takes %d arguments"
507,csNoMemberTakesTheseArguments2,"No %s member or object constructor named '%s' takes %d arguments. Note the call to this member also provides %d named arguments."
508,csNoMemberTakesTheseArguments3,"No %s member or object constructor named '%s' takes %d arguments. The named argument '%s' doesn't correspond to any argument or settable return property for any overload."
509,csMethodNotFound,"Method or object constructor '%s' not found"
csNoOverloadsFound,"No overloads match for method '%s'."
csMethodIsOverloaded,"A unique overload for method '%s' could not be determined based on type information prior to this program point. A type annotation may be needed."
csCandidates,"Candidates: %s"
csSeeAvailableOverloads,"The available overloads are shown below (or in the Error List window)."
# -----------------------------------------------------------------------------
# pars.fsy errors
# -----------------------------------------------------------------------------
512,parsDoCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on 'do' bindings"
513,parsEofInHashIf,"End of file in #if section begun at or after here"
514,parsEofInString,"End of file in string begun at or before here"
515,parsEofInVerbatimString,"End of file in verbatim string begun at or before here"
516,parsEofInComment,"End of file in comment begun at or before here"
517,parsEofInStringInComment,"End of file in string embedded in comment begun at or before here"
518,parsEofInVerbatimStringInComment,"End of file in verbatim string embedded in comment begun at or before here"
519,parsEofInIfOcaml,"End of file in IF-OCAML section begun at or before here"
520,parsEofInDirective,"End of file in directive begun at or before here"
521,parsNoHashEndIfFound,"No #endif found for #if or #else"
522,parsAttributesIgnored,"Attributes have been ignored in this construct"
523,parsUseBindingsIllegalInImplicitClassConstructors,"'use' bindings are not permitted in primary constructors"
524,parsUseBindingsIllegalInModules,"'use' bindings are not permitted in modules and are treated as 'let' bindings"
525,parsIntegerForLoopRequiresSimpleIdentifier,"An integer for loop must use a simple identifier"
526,parsOnlyOneWithAugmentationAllowed,"At most one 'with' augmentation is permitted"
527,parsUnexpectedSemicolon,"A semicolon is not expected at this point"
528,parsUnexpectedEndOfFile,"Unexpected end of input"
529,parsUnexpectedVisibilityDeclaration,"Accessibility modifiers are not permitted here"
530,parsOnlyHashDirectivesAllowed,"Only '#' compiler directives may occur prior to the first 'namespace' declaration"
531,parsVisibilityDeclarationsShouldComePriorToIdentifier,"Accessibility modifiers should come immediately prior to the identifier naming a construct"
532,parsNamespaceOrModuleNotBoth,"Files should begin with either a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule', but not both. To define a module within a namespace use 'module SomeModule = ...'"
534,parsModuleAbbreviationMustBeSimpleName,"A module abbreviation must be a simple name, not a path"
535,parsIgnoreAttributesOnModuleAbbreviation,"Ignoring attributes on module abbreviation"
536,parsIgnoreAttributesOnModuleAbbreviationAlwaysPrivate,"Ignoring accessibility attribute on module abbreviation. Module abbreviations are always private."
537,parsIgnoreVisibilityOnModuleAbbreviationAlwaysPrivate,"Ignoring visibility attribute on module abbreviation. Module abbreviations are always private."
538,parsUnClosedBlockInHashLight,"Unclosed block"
539,parsUnmatchedBeginOrStruct,"Unmatched 'begin' or 'struct'"
541,parsModuleDefnMustBeSimpleName,"A module name must be a simple name, not a path"
542,parsUnexpectedEmptyModuleDefn,"Unexpected empty type moduleDefn list"
parsAttributesMustComeBeforeVal,"Attributes should be placed before 'val'"
543,parsAttributesAreNotPermittedOnInterfaceImplementations,"Attributes are not permitted on interface implementations"
544,parsSyntaxError,"Syntax error"
545,parsAugmentationsIllegalOnDelegateType,"Augmentations are not permitted on delegate type moduleDefns"
546,parsUnmatchedClassInterfaceOrStruct,"Unmatched 'class', 'interface' or 'struct'"
547,parsEmptyTypeDefinition,"A type definition requires one or more members or other declarations. If you intend to define an empty class, struct or interface, then use 'type ... = class end', 'interface end' or 'struct end'."
550,parsUnmatchedWith,"Unmatched 'with' or badly formatted 'with' block"
551,parsGetOrSetRequired,"'get', 'set' or 'get,set' required"
552,parsOnlyClassCanTakeValueArguments,"Only class types may take value arguments"
553,parsUnmatchedBegin,"Unmatched 'begin'"
554,parsInvalidDeclarationSyntax,"Invalid declaration syntax"
555,parsGetAndOrSetRequired,"'get' and/or 'set' required"
556,parsTypeAnnotationsOnGetSet,"Type annotations on property getters and setters must be given after the 'get()' or 'set(v)', e.g. 'with get() : string = ...'"
557,parsGetterMustHaveAtLeastOneArgument,"A getter property is expected to be a function, e.g. 'get() = ...' or 'get(index) = ...'"
558,parsMultipleAccessibilitiesForGetSet,"Multiple accessibilities given for property getter or setter"
559,parsSetSyntax,"Property setters must be defined using 'set value = ', 'set idx value = ' or 'set (idx1,...,idxN) value = ... '"
560,parsInterfacesHaveSameVisibilityAsEnclosingType,"Interfaces always have the same visibility as the enclosing type"
561,parsAccessibilityModsIllegalForAbstract,"Accessibility modifiers are not allowed on this member. Abstract slots always have the same visibility as the enclosing type."
562,parsAttributesIllegalOnInherit,"Attributes are not permitted on 'inherit' declarations"
563,parsVisibilityIllegalOnInherit,"Accessibility modifiers are not permitted on an 'inherits' declaration"
564,parsInheritDeclarationsCannotHaveAsBindings,"'inherit' declarations cannot have 'as' bindings. To access members of the base class when overriding a method, the syntax 'base.SomeMember' may be used; 'base' is a keyword. Remove this 'as' binding."
565,parsAttributesIllegalHere,"Attributes are not allowed here"
566,parsTypeAbbreviationsCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted in this position for type abbreviations"
567,parsEnumTypesCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted in this position for enum types"
568,parsAllEnumFieldsRequireValues,"All enum fields must be given values"
569,parsInlineAssemblyCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on inline assembly code types"
571,parsUnexpectedIdentifier,"Unexpected identifier: '%s'"
572,parsUnionCasesCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on union cases. Use 'type U = internal ...' or 'type U = private ...' to give an accessibility to the whole representation."
573,parsEnumFieldsCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on enumeration fields"
parsConsiderUsingSeparateRecordType,"Consider using a separate record type instead"
575,parsRecordFieldsCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on record fields. Use 'type R = internal ...' or 'type R = private ...' to give an accessibility to the whole representation."
576,parsLetAndForNonRecBindings,"The declaration form 'let ... and ...' for non-recursive bindings is not used in F# code. Consider using a sequence of 'let' bindings"
583,parsUnmatchedParen,"Unmatched '('"
584,parsSuccessivePatternsShouldBeSpacedOrTupled,"Successive patterns should be separated by spaces or tupled"
586,parsNoMatchingInForLet,"No matching 'in' found for this 'let'"
587,parsErrorInReturnForLetIncorrectIndentation,"Error in the return expression for this 'let'. Possible incorrect indentation."
588,parsExpectedStatementAfterLet,"Block following this '%s' is unfinished. Expect an expression."
589,parsIncompleteIf,"Incomplete conditional. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'."
590,parsAssertIsNotFirstClassValue,"'assert' may not be used as a first class value. Use 'assert <expr>' instead."
594,parsIdentifierExpected,"Identifier expected"
595,parsInOrEqualExpected,"'in' or '=' expected"
596,parsArrowUseIsLimited,"The use of '->' in sequence and computation expressions is limited to the form 'for pat in expr -> expr'. Use the syntax 'for ... in ... do ... yield...' to generate elements in more complex sequence expressions."
597,parsSuccessiveArgsShouldBeSpacedOrTupled,"Successive arguments should be separated by spaces or tupled, and arguments involving function or method applications should be parenthesized"
598,parsUnmatchedBracket,"Unmatched '['"
599,parsMissingQualificationAfterDot,"Missing qualification after '.'"
parsParenFormIsForML,"In F# code you may use 'expr.[expr]'. A type annotation may be required to indicate the first expression is an array"
601,parsMismatchedQuote,"Mismatched quotation, beginning with '%s'"
602,parsUnmatched,"Unmatched '%s'"
603,parsUnmatchedBracketBar,"Unmatched '[|'"
604,parsUnmatchedBrace,"Unmatched '{{'"
609,parsFieldBinding,"Field bindings must have the form 'id = expr;'"
610,parsMemberIllegalInObjectImplementation,"This member is not permitted in an object implementation"
611,parsMissingFunctionBody,"Missing function body"
613,parsSyntaxErrorInLabeledType,"Syntax error in labelled type argument"
615,parsUnexpectedInfixOperator,"Unexpected infix operator in type expression"
parsMultiArgumentGenericTypeFormDeprecated,"The syntax '(typ,...,typ) ident' is not used in F# code. Consider using 'ident<typ,...,typ>' instead"
618,parsInvalidLiteralInType,"Invalid literal in type"
619,parsUnexpectedOperatorForUnitOfMeasure,"Unexpected infix operator in unit-of-measure expression. Legal operators are '*', '/' and '^'."
620,parsUnexpectedIntegerLiteralForUnitOfMeasure,"Unexpected integer literal in unit-of-measure expression"
621,parsUnexpectedTypeParameter,"Syntax error: unexpected type parameter specification"
622,parsMismatchedQuotationName,"Mismatched quotation operator name, beginning with '%s'"
623,parsActivePatternCaseMustBeginWithUpperCase,"Active pattern case identifiers must begin with an uppercase letter"
624,parsActivePatternCaseContainsPipe,"The '|' character is not permitted in active pattern case identifiers"
625,parsIllegalDenominatorForMeasureExponent,"Denominator must not be 0 in unit-of-measure exponent"
parsNoEqualShouldFollowNamespace,"No '=' symbol should follow a 'namespace' declaration"
parsSyntaxModuleStructEndDeprecated,"The syntax 'module ... = struct .. end' is not used in F# code. Consider using 'module ... = begin .. end'"
parsSyntaxModuleSigEndDeprecated,"The syntax 'module ... : sig .. end' is not used in F# code. Consider using 'module ... = begin .. end'"
# -----------------------------------------------------------------------------
# tc.fs errors
# -----------------------------------------------------------------------------
627,tcStaticFieldUsedWhenInstanceFieldExpected,"A static field was used where an instance field is expected"
629,tcMethodNotAccessible,"Method '%s' is not accessible from this code location"
#630,tcTypeFunctionFieldsCannotBeMutated,"Fields which are type functions cannot be mutated"
632,tcImplicitMeasureFollowingSlash,"Implicit product of measures following /"
633,tcUnexpectedMeasureAnon,"Unexpected SynMeasure.Anon"
634,tcNonZeroConstantCannotHaveGenericUnit,"Non-zero constants cannot have generic units. For generic zero, write 0.0<_>."
635,tcSeqResultsUseYield,"In sequence expressions, results are generated using 'yield'"
tcUnexpectedBigRationalConstant,"Unexpected big rational constant"
636,tcInvalidTypeForUnitsOfMeasure,"Units-of-measure supported only on float, float32, decimal and signed integer types"
tcUnexpectedConstUint16Array,"Unexpected Const_uint16array"
tcUnexpectedConstByteArray,"Unexpected Const_bytearray"
640,tcParameterRequiresName,"A parameter with attributes must also be given a name, e.g. '[<Attribute>] Name : Type'"
641,tcReturnValuesCannotHaveNames,"Return values cannot have names"
tcMemberKindPropertyGetSetNotExpected,"MemberKind.PropertyGetSet only expected in parse trees"
201,tcNamespaceCannotContainValues,"Namespaces cannot contain values. Consider using a module to hold your value declarations."
644,tcNamespaceCannotContainExtensionMembers,"Namespaces cannot contain extension members except in the same file and namespace where the type is defined. Consider using a module to hold declarations of extension members."
645,tcMultipleVisibilityAttributes,"Multiple visibility attributes have been specified for this identifier"
646,tcMultipleVisibilityAttributesWithLet,"Multiple visibility attributes have been specified for this identifier. 'let' bindings in classes are always private, as are any 'let' bindings inside expressions."
tcInvalidMethodNameForRelationalOperator,"The name '(%s)' should not be used as a member name. To define comparison semantics for a type, implement the 'System.IComparable' interface. If defining a static member for use from other CLI languages then use the name '%s' instead."
tcInvalidMethodNameForEquality,"The name '(%s)' should not be used as a member name. To define equality semantics for a type, override the 'Object.Equals' member. If defining a static member for use from other CLI languages then use the name '%s' instead."
tcInvalidMemberName,"The name '(%s)' should not be used as a member name. If defining a static member for use from other CLI languages then use the name '%s' instead."
tcInvalidMemberNameFixedTypes,"The name '(%s)' should not be used as a member name because it is given a standard definition in the F# library over fixed types"
tcInvalidOperatorDefinitionRelational,"The '%s' operator should not normally be redefined. To define overloaded comparison semantics for a particular type, implement the 'System.IComparable' interface in the definition of that type."
tcInvalidOperatorDefinitionEquality,"The '%s' operator should not normally be redefined. To define equality semantics for a type, override the 'Object.Equals' member in the definition of that type."
tcInvalidOperatorDefinition,"The '%s' operator should not normally be redefined. Consider using a different operator name"
tcInvalidIndexOperatorDefinition,"The '%s' operator cannot be redefined. Consider using a different operator name"
tcExpectModuleOrNamespaceParent,"Expected module or namespace parent %s"
647,tcImplementsIComparableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IComparable' explicitly. You must apply the 'CustomComparison' attribute to the type."
648,tcImplementsGenericIComparableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IComparable<_>' explicitly. You must apply the 'CustomComparison' attribute to the type, and should also provide a consistent implementation of the non-generic interface System.IComparable."
649,tcImplementsIStructuralComparableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IStructuralComparable' explicitly. Apply the 'CustomComparison' attribute to the type."
656,tcRecordFieldInconsistentTypes,"This record contains fields from inconsistent types"
657,tcDllImportStubsCannotBeInlined,"DLLImport stubs cannot be inlined"
658,tcStructsCanOnlyBindThisAtMemberDeclaration,"Structs may only bind a 'this' parameter at member declarations"
659,tcUnexpectedExprAtRecInfPoint,"Unexpected expression at recursive inference point"
660,tcLessGenericBecauseOfAnnotation,"This code is less generic than required by its annotations because the explicit type variable '%s' could not be generalized. It was constrained to be '%s'."
661,tcConstrainedTypeVariableCannotBeGeneralized,"One or more of the explicit class or function type variables for this binding could not be generalized, because they were constrained to other types"
662,tcGenericParameterHasBeenConstrained,"A generic type parameter has been used in a way that constrains it to always be '%s'"
663,tcTypeParameterHasBeenConstrained,"This type parameter has been used in a way that constrains it to always be '%s'"
664,tcTypeParametersInferredAreNotStable,"The type parameters inferred for this value are not stable under the erasure of type abbreviations. This is due to the use of type abbreviations which drop or reorder type parameters, e.g. \n\ttype taggedInt<'a> = int or\n\ttype swap<'a,'b> = 'b * 'a.\nConsider declaring the type parameters for this value explicitly, e.g.\n\tlet f<'a,'b> ((x,y) : swap<'b,'a>) : swap<'a,'b> = (y,x)."
665,tcExplicitTypeParameterInvalid,"Explicit type parameters may only be used on module or member bindings"
666,tcOverridingMethodRequiresAllOrNoTypeParameters,"You must explicitly declare either all or no type parameters when overriding a generic abstract method"
667,tcFieldsDoNotDetermineUniqueRecordType,"The field labels and expected type of this record expression or pattern do not uniquely determine a corresponding record type"
668,tcFieldAppearsTwiceInRecord,"The field '%s' appears twice in this record expression or pattern"
669,tcUnknownUnion,"Unknown union case"
670,tcNotSufficientlyGenericBecauseOfScope,"This code is not sufficiently generic. The type variable %s could not be generalized because it would escape its scope."
671,tcPropertyRequiresExplicitTypeParameters,"A property cannot have explicit type parameters. Consider using a method instead."
672,tcConstructorCannotHaveTypeParameters,"A constructor cannot have explicit type parameters. Consider using a static construction method instead."
673,tcInstanceMemberRequiresTarget,"This instance member needs a parameter to represent the object being invoked. Make the member static or use the notation 'member x.Member(args) = ...'."
674,tcUnexpectedPropertyInSyntaxTree,"Unexpected source-level property specification in syntax tree"
675,tcStaticInitializerRequiresArgument,"A static initializer requires an argument"
676,tcObjectConstructorRequiresArgument,"An object constructor requires an argument"
677,tcStaticMemberShouldNotHaveThis,"This static member should not have a 'this' parameter. Consider using the notation 'member Member(args) = ...'."
678,tcExplicitStaticInitializerSyntax,"An explicit static initializer should use the syntax 'static new(args) = expr'"
679,tcExplicitObjectConstructorSyntax,"An explicit object constructor should use the syntax 'new(args) = expr'"
680,tcUnexpectedPropertySpec,"Unexpected source-level property specification"
tcObjectExpressionFormDeprecated,"This form of object expression is not used in F#. Use 'member this.MemberName ... = ...' to define member implementations in object expressions."
682,tcInvalidDeclaration,"Invalid declaration"
683,tcAttributesInvalidInPatterns,"Attributes are not allowed within patterns"
685,tcFunctionRequiresExplicitTypeArguments,"The generic function '%s' must be given explicit type argument(s)"
686,tcDoesNotAllowExplicitTypeArguments,"The method or function '%s' should not be given explicit type argument(s) because it does not declare its type parameters explicitly"
687,tcTypeParameterArityMismatch,"This value, type or method expects %d type parameter(s) but was given %d"
688,tcDefaultStructConstructorCall,"The default, zero-initializing constructor of a struct type may only be used if all the fields of the struct type admit default initialization"
tcCouldNotFindIDisposable,"Couldn't find Dispose on IDisposable, or it was overloaded"
689,tcNonLiteralCannotBeUsedInPattern,"This value is not a literal and cannot be used in a pattern"
690,tcFieldIsReadonly,"This field is readonly"
691,tcNameArgumentsMustAppearLast,"Named arguments must appear after all other arguments"
692,tcFunctionRequiresExplicitLambda,"This function value is being used to construct a delegate type whose signature includes a byref argument. You must use an explicit lambda expression taking %d arguments."
693,tcTypeCannotBeEnumerated,"The type '%s' is not a type whose values can be enumerated with this syntax, i.e. is not compatible with either seq<_>, IEnumerable<_> or IEnumerable and does not have a GetEnumerator method"
695,tcInvalidMixtureOfRecursiveForms,"This recursive binding uses an invalid mixture of recursive forms"
696,tcInvalidObjectConstructionExpression,"This is not a valid object construction expression. Explicit object constructors must either call an alternate constructor or initialize all fields of the object and specify a call to a super class constructor."
697,tcInvalidConstraint,"Invalid constraint"
698,tcInvalidConstraintTypeSealed,"Invalid constraint: the type used for the constraint is sealed, which means the constraint could only be satisfied by at most one solution"
699,tcInvalidEnumConstraint,"An 'enum' constraint must be of the form 'enum<type>'"
700,tcInvalidNewConstraint,"'new' constraints must take one argument of type 'unit' and return the constructed type"
701,tcInvalidPropertyType,"This property has an invalid type. Properties taking multiple indexer arguments should have types of the form 'ty1 * ty2 -> ty3'. Properties returning functions should have types of the form '(ty1 -> ty2)'."
702,tcExpectedUnitOfMeasureMarkWithAttribute,"Expected unit-of-measure parameter, not type parameter. Explicit unit-of-measure parameters must be marked with the [<Measure>] attribute."
703,tcExpectedTypeParameter,"Expected type parameter, not unit-of-measure parameter"
704,tcExpectedTypeNotUnitOfMeasure,"Expected type, not unit-of-measure"
705,tcExpectedUnitOfMeasureNotType,"Expected unit-of-measure, not type"
706,tcInvalidUnitsOfMeasurePrefix,"Units-of-measure cannot be used as prefix arguments to a type. Rewrite as postfix arguments in angle brackets."
707,tcUnitsOfMeasureInvalidInTypeConstructor,"Unit-of-measure cannot be used in type constructor application"
708,tcRequireBuilderMethod,"This control construct may only be used if the computation expression builder defines a '%s' method"
709,tcTypeHasNoNestedTypes,"This type has no nested types"
711,tcUnexpectedSymbolInTypeExpression,"Unexpected %s in type expression"
712,tcTypeParameterInvalidAsTypeConstructor,"Type parameter cannot be used as type constructor"
713,tcIllegalSyntaxInTypeExpression,"Illegal syntax in type expression"
714,tcAnonymousUnitsOfMeasureCannotBeNested,"Anonymous unit-of-measure cannot be nested inside another unit-of-measure expression"
715,tcAnonymousTypeInvalidInDeclaration,"Anonymous type variables are not permitted in this declaration"
716,tcUnexpectedSlashInType,"Unexpected / in type"
717,tcUnexpectedTypeArguments,"Unexpected type arguments"
718,tcOptionalArgsOnlyOnMembers,"Optional arguments are only permitted on type members"
719,tcNameNotBoundInPattern,"Name '%s' not bound in pattern context"
720,tcInvalidNonPrimitiveLiteralInPatternMatch,"Non-primitive numeric literal constants cannot be used in pattern matches because they can be mapped to multiple different types through the use of a NumericLiteral module. Consider using replacing with a variable, and use 'when <variable> = <constant>' at the end of the match clause."
721,tcInvalidTypeArgumentUsage,"Type arguments cannot be specified here"
722,tcRequireActivePatternWithOneResult,"Only active patterns returning exactly one result may accept arguments"
723,tcInvalidArgForParameterizedPattern,"Invalid argument to parameterized pattern label"
724,tcInvalidIndexIntoActivePatternArray,"Internal error. Invalid index into active pattern array"
725,tcUnionCaseDoesNotTakeArguments,"This union case does not take arguments"
726,tcUnionCaseRequiresOneArgument,"This union case takes one argument"
727,tcUnionCaseExpectsTupledArguments,"This union case expects %d arguments in tupled form"
728,tcFieldIsNotStatic,"Field '%s' is not static"
729,tcFieldNotLiteralCannotBeUsedInPattern,"This field is not a literal and cannot be used in a pattern"
730,tcRequireVarConstRecogOrLiteral,"This is not a variable, constant, active recognizer or literal"
731,tcInvalidPattern,"This is not a valid pattern"
tcUseWhenPatternGuard,"Character range matches have been removed in F#. Consider using a 'when' pattern guard instead."
733,tcIllegalPattern,"Illegal pattern"
734,tcSyntaxErrorUnexpectedQMark,"Syntax error - unexpected '?' symbol"
735,tcExpressionCountMisMatch,"Expected %d expressions, got %d"
736,tcExprUndelayed,"TcExprUndelayed: delayed"
737,tcExpressionRequiresSequence,"This expression form may only be used in sequence and computation expressions"
738,tcInvalidObjectExpressionSyntaxForm,"Invalid object expression. Objects without overrides or interfaces should use the expression form 'new Type(args)' without braces."
739,tcInvalidObjectSequenceOrRecordExpression,"Invalid object, sequence or record expression"
740,tcInvalidSequenceExpressionSyntaxForm,"Invalid record, sequence or computation expression. Sequence expressions should be of the form 'seq {{ ... }}'"
tcExpressionWithIfRequiresParenthesis,"This list or array expression includes an element of the form 'if ... then ... else'. Parenthesize this expression to indicate it is an individual element of the list or array, to disambiguate this from a list generated using a sequence expression"
741,tcUnableToParseFormatString,"Unable to parse format string '%s'"
742,tcListLiteralMaxSize,"This list expression exceeds the maximum size for list literals. Use an array for larger literals and call Array.ToList."
743,tcExpressionFormRequiresObjectConstructor,"The expression form 'expr then expr' may only be used as part of an explicit object constructor"
744,tcNamedArgumentsCannotBeUsedInMemberTraits,"Named arguments cannot be given to member trait calls"
745,tcNotValidEnumCaseName,"This is not a valid name for an enumeration case"
746,tcFieldIsNotMutable,"This field is not mutable"
747,tcConstructRequiresListArrayOrSequence,"This construct may only be used within list, array and sequence expressions, e.g. expressions of the form 'seq {{ ... }}', '[ ... ]' or '[| ... |]'. These use the syntax 'for ... in ... do ... yield...' to generate elements"
748,tcConstructRequiresComputationExpressions,"This construct may only be used within computation expressions. To return a value from an ordinary function simply write the expression without 'return'."
749,tcConstructRequiresSequenceOrComputations,"This construct may only be used within sequence or computation expressions"
750,tcConstructRequiresComputationExpression,"This construct may only be used within computation expressions"
751,tcInvalidIndexerExpression,"Invalid indexer expression"
752,tcObjectOfIndeterminateTypeUsedRequireTypeConstraint,"The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints"
753,tcCannotInheritFromVariableType,"Cannot inherit from a variable type"
754,tcObjectConstructorsOnTypeParametersCannotTakeArguments,"Calls to object constructors on type parameters cannot be given arguments"
755,tcCompiledNameAttributeMisused,"The 'CompiledName' attribute cannot be used with this language element"
756,tcNamedTypeRequired,"'%s' may only be used with named types"
757,tcInheritCannotBeUsedOnInterfaceType,"'inherit' cannot be used on interface types. Consider implementing the interface by using 'interface ... with ... end' instead."
758,tcNewCannotBeUsedOnInterfaceType,"'new' cannot be used on interface types. Consider using an object expression '{{ new ... with ... }}' instead."
759,tcAbstractTypeCannotBeInstantiated,"Instances of this type cannot be created since it has been marked abstract or not all methods have been given implementations. Consider using an object expression '{{ new ... with ... }}' instead."
760,tcIDisposableTypeShouldUseNew,"It is recommended that objects supporting the IDisposable interface are created using the syntax 'new Type(args)', rather than 'Type(args)' or 'Type' as a function value representing the constructor, to indicate that resources may be owned by the generated value"
761,tcSyntaxCanOnlyBeUsedToCreateObjectTypes,"'%s' may only be used to construct object types"
762,tcConstructorRequiresCall,"Constructors for the type '%s' must directly or indirectly call its implicit object constructor. Use a call to the implicit object constructor instead of a record expression."
763,tcUndefinedField,"The field '%s' has been given a value, but is not present in the type '%s'"
764,tcFieldRequiresAssignment,"No assignment given for field '%s' of type '%s'"
765,tcExtraneousFieldsGivenValues,"Extraneous fields have been given values"
766,tcObjectExpressionsCanOnlyOverrideAbstractOrVirtual,"Only overrides of abstract and virtual members may be specified in object expressions"
767,tcNoAbstractOrVirtualMemberFound,"The member '%s' does not correspond to any abstract or virtual method available to override or implement"
768,tcArgumentArityMismatch,"The member '%s' does not accept the correct number of arguments, %d arguments are expected"
769,tcArgumentArityMismatchOneOverload,"The member '%s' does not accept the correct number of arguments. One overload accepts %d arguments."
770,tcSimpleMethodNameRequired,"A simple method name is required here"
771,tcPredefinedTypeCannotBeUsedAsSuperType,"The types System.ValueType, System.Enum, System.Delegate, System.MulticastDelegate and System.Array cannot be used as super types in an object expression or class"
772,tcNewMustBeUsedWithNamedType,"'new' must be used with a named type"
773,tcCannotCreateExtensionOfSealedType,"Cannot create an extension of a sealed type"
774,tcNoArgumentsForRecordValue,"No arguments may be given when constructing a record value"
775,tcNoInterfaceImplementationForConstructionExpression,"Interface implementations cannot be given on construction expressions"
776,tcObjectConstructionCanOnlyBeUsedInClassTypes,"Object construction expressions may only be used to implement constructors in class types"
777,tcOnlySimpleBindingsCanBeUsedInConstructionExpressions,"Only simple bindings of the form 'id = expr' can be used in construction expressions"
778,tcObjectsMustBeInitializedWithObjectExpression,"Objects must be initialized by an object construction expression that calls an inherited object constructor and assigns a value to each field"
779,tcExpectedInterfaceType,"Expected an interface type"
780,tcConstructorForInterfacesDoNotTakeArguments,"Constructor expressions for interfaces do not take arguments"
781,tcConstructorRequiresArguments,"This object constructor requires arguments"
782,tcNewRequiresObjectConstructor,"'new' may only be used with object constructors"
783,tcAtLeastOneOverrideIsInvalid,"At least one override did not correctly implement its corresponding abstract member"
784,tcNumericLiteralRequiresModule,"This numeric literal requires that a module '%s' defining functions FromZero, FromOne, FromInt32, FromInt64 and FromString be in scope"
785,tcInvalidRecordConstruction,"Invalid record construction"
786,tcExpressionFormRequiresRecordTypes,"The expression form {{ expr with ... }} may only be used with record types. To build object types use {{ new Type(...) with ... }}"
787,tcInheritedTypeIsNotObjectModelType,"The inherited type is not an object model type"
788,tcObjectConstructionExpressionCanOnlyImplementConstructorsInObjectModelTypes,"Object construction expressions (i.e. record expressions with inheritance specifications) may only be used to implement constructors in object model types. Use 'new ObjectType(args)' to construct instances of object model types outside of constructors"
789,tcEmptyRecordInvalid,"'{{ }}' is not a valid expression. Records must include at least one field. Empty sequences are specified by using Seq.empty or an empty list '[]'."
790,tcTypeIsNotARecordTypeNeedConstructor,"This type is not a record type. Values of class and struct types must be created using calls to object constructors."
791,tcTypeIsNotARecordType,"This type is not a record type"
792,tcConstructIsAmbiguousInComputationExpression,"This construct is ambiguous as part of a computation expression. Nested expressions may be written using 'let _ = (...)' and nested computations using 'let! res = builder {{ ... }}'."
793,tcConstructIsAmbiguousInSequenceExpression,"This construct is ambiguous as part of a sequence expression. Nested expressions may be written using 'let _ = (...)' and nested sequences using 'yield! seq {{... }}'."
794,tcDoBangIllegalInSequenceExpression,"'do!' cannot be used within sequence expressions"
795,tcUseForInSequenceExpression,"The use of 'let! x = coll' in sequence expressions is not permitted. Use 'for x in coll' instead."
796,tcTryIllegalInSequenceExpression,"'try'/'with' cannot be used within sequence expressions"
797,tcUseYieldBangForMultipleResults,"In sequence expressions, multiple results are generated using 'yield!'"
799,tcInvalidAssignment,"Invalid assignment"
800,tcInvalidUseOfTypeName,"Invalid use of a type name"
801,tcTypeHasNoAccessibleConstructor,"This type has no accessible object constructors"
#802,tcInvalidUseOfTypeNameOrConstructor,"Invalid use of a type name and/or object constructor. If necessary use 'new' and apply the constructor to its arguments, e.g. 'new Type(args)'."
#803,tcInvalidUseOfTypeNameOrConstructorWithOverloads,"Invalid use of a type name and/or object constructor. If necessary use 'new' and apply the constructor to its arguments, e.g. 'new Type(args)'. The required signature is:\n\t%s."
804,tcInvalidUseOfInterfaceType,"Invalid use of an interface type"
805,tcInvalidUseOfDelegate,"Invalid use of a delegate constructor. Use the syntax 'new Type(args)' or just 'Type(args)'."
806,tcPropertyIsNotStatic,"Property '%s' is not static"
807,tcPropertyIsNotReadable,"Property '%s' is not readable"
808,tcLookupMayNotBeUsedHere,"This lookup cannot be used here"
809,tcPropertyIsStatic,"Property '%s' is static"
810,tcPropertyCannotBeSet1,"Property '%s' cannot be set"
811,tcConstructorsCannotBeFirstClassValues,"Constructors must be applied to arguments and cannot be used as first-class values. If necessary use an anonymous function '(fun arg1 ... argN -> new Type(arg1,...,argN))'."
812,tcSyntaxFormUsedOnlyWithRecordLabelsPropertiesAndFields,"The syntax 'expr.id' may only be used with record labels, properties and fields"
813,tcEventIsStatic,"Event '%s' is static"
814,tcEventIsNotStatic,"Event '%s' is not static"
815,tcNamedArgumentDidNotMatch,"The named argument '%s' did not match any argument or mutable property"
816,tcOverloadsCannotHaveCurriedArguments,"One or more of the overloads of this method has curried arguments. Consider redesigning these members to take arguments in tupled form."
tcUnnamedArgumentsDoNotFormPrefix,"The unnamed arguments do not form a prefix of the arguments of the method called"
817,tcStaticOptimizationConditionalsOnlyForFSharpLibrary,"Static optimization conditionals are only for use within the F# library"
818,tcFormalArgumentIsNotOptional,"The corresponding formal argument is not optional"
819,tcInvalidOptionalAssignmentToPropertyOrField,"Invalid optional assignment to a property or field"
820,tcDelegateConstructorMustBePassed,"A delegate constructor must be passed a single function value"
821,tcBindingCannotBeUseAndRec,"A binding cannot be marked both 'use' and 'rec'"
823,tcVolatileOnlyOnClassLetBindings,"The 'VolatileField' attribute may only be used on 'let' bindings in classes"
824,tcAttributesAreNotPermittedOnLetBindings,"Attributes are not permitted on 'let' bindings in expressions"
825,tcDefaultValueAttributeRequiresVal,"The 'DefaultValue' attribute may only be used on 'val' declarations"
826,tcConditionalAttributeRequiresMembers,"The 'ConditionalAttribute' attribute may only be used on members"
827,tcInvalidActivePatternName,"This is not a valid name for an active pattern"
828,tcEntryPointAttributeRequiresFunctionInModule,"The 'EntryPointAttribute' attribute may only be used on function definitions in modules"
829,tcMutableValuesCannotBeInline,"Mutable values cannot be marked 'inline'"
830,tcMutableValuesMayNotHaveGenericParameters,"Mutable values cannot have generic parameters"
831,tcMutableValuesSyntax,"Mutable function values should be written 'let mutable f = (fun args -> ...)'"
832,tcOnlyFunctionsCanBeInline,"Only functions may be marked 'inline'"
833,tcIllegalAttributesForLiteral,"A literal value cannot be given the [<ThreadStatic>] or [<ContextStatic>] attributes"
834,tcLiteralCannotBeMutable,"A literal value cannot be marked 'mutable'"
835,tcLiteralCannotBeInline,"A literal value cannot be marked 'inline'"
836,tcLiteralCannotHaveGenericParameters,"Literal values cannot have generic parameters"
837,tcInvalidConstantExpression,"This is not a valid constant expression"
838,tcTypeIsInaccessible,"This type is not accessible from this code location"
839,tcUnexpectedConditionInImportedAssembly,"Unexpected condition in imported assembly: failed to decode AttributeUsage attribute"
840,tcUnrecognizedAttributeTarget,"Unrecognized attribute target. Valid attribute targets are 'assembly', 'module', 'type', 'method', 'property', 'return', 'param', 'field', 'event', 'constructor'."
841,tcAttributeIsNotValidForLanguageElementUseDo,"This attribute is not valid for use on this language element. Assembly attributes should be attached to a 'do ()' declaration, if necessary within an F# module."
842,tcAttributeIsNotValidForLanguageElement,"This attribute is not valid for use on this language element"
843,tcOptionalArgumentsCannotBeUsedInCustomAttribute,"Optional arguments cannot be used in custom attributes"
844,tcPropertyCannotBeSet0,"This property cannot be set"
845,tcPropertyOrFieldNotFoundInAttribute,"This property or field was not found on this custom attribute type"
846,tcCustomAttributeMustBeReferenceType,"A custom attribute must be a reference type"
847,tcCustomAttributeArgumentMismatch,"The number of args for a custom attribute does not match the expected number of args for the attribute constructor"
848,tcCustomAttributeMustInvokeConstructor,"A custom attribute must invoke an object constructor"
849,tcAttributeExpressionsMustBeConstructorCalls,"Attribute expressions must be calls to object constructors"
850,tcUnsupportedAttribute,"This attribute cannot be used in this version of F#"
851,tcInvalidInlineSpecification,"Invalid inline specification"
852,tcInvalidUseBinding,"'use' bindings must be of the form 'use <var> = <expr>'"
853,tcAbstractMembersIllegalInAugmentation,"Abstract members are not permitted in an augmentation - they must be defined as part of the type itself"
854,tcMethodOverridesIllegalHere,"Method overrides and interface implementations are not permitted here"
855,tcNoMemberFoundForOverride,"No abstract or interface member was found that corresponds to this override"
856,tcOverrideArityMismatch,"This override takes a different number of arguments to the corresponding abstract member"
857,tcDefaultImplementationAlreadyExists,"This method already has a default implementation"
858,tcDefaultAmbiguous,"The method implemented by this default is ambiguous"
859,tcNoPropertyFoundForOverride,"No abstract property was found that corresponds to this override"
860,tcAbstractPropertyMissingGetOrSet,"This property overrides or implements an abstract property but the abstract property doesn't have a corresponding %s"
861,tcInvalidSignatureForSet,"Invalid signature for set member"
864,tcNewMemberHidesAbstractMember,"This new member hides the abstract member '%s'. Rename the member or use 'override' instead."
864,tcNewMemberHidesAbstractMemberWithSuffix,"This new member hides the abstract member '%s' once tuples, functions, units of measure and/or provided types are erased. Rename the member or use 'override' instead."
865,tcStaticInitializersIllegalInInterface,"Interfaces cannot contain definitions of static initializers"
866,tcObjectConstructorsIllegalInInterface,"Interfaces cannot contain definitions of object constructors"
867,tcMemberOverridesIllegalInInterface,"Interfaces cannot contain definitions of member overrides"
868,tcConcreteMembersIllegalInInterface,"Interfaces cannot contain definitions of concrete members. You may need to define a constructor on your type to indicate that the type is a class."
869,tcConstructorsDisallowedInExceptionAugmentation,"Constructors cannot be specified in exception augmentations"
870,tcStructsCannotHaveConstructorWithNoArguments,"Structs cannot have an object constructor with no arguments. This is a restriction imposed on all CLI languages as structs automatically support a default constructor."
871,tcConstructorsIllegalForThisType,"Constructors cannot be defined for this type"
872,tcRecursiveBindingsWithMembersMustBeDirectAugmentation,"Recursive bindings that include member specifications can only occur as a direct augmentation of a type"
873,tcOnlySimplePatternsInLetRec,"Only simple variable patterns can be bound in 'let rec' constructs"
874,tcOnlyRecordFieldsAndSimpleLetCanBeMutable,"Only record fields and simple 'let' bindings may be marked mutable"
875,tcMemberIsNotSufficientlyGeneric,"This member is not sufficiently generic"
876,tcLiteralAttributeRequiresConstantValue,"A declaration may only be the [<Literal>] attribute if a constant value is also given, e.g. 'val x : int = 1'"
877,tcValueInSignatureRequiresLiteralAttribute,"A declaration may only be given a value in a signature if the declaration has the [<Literal>] attribute"
878,tcThreadStaticAndContextStaticMustBeStatic,"Thread-static and context-static variables must be static and given the [<DefaultValue>] attribute to indicate that the value is initialized to the default value on each new thread"
879,tcVolatileFieldsMustBeMutable,"Volatile fields must be marked 'mutable' and cannot be thread-static"
880,tcUninitializedValFieldsMustBeMutable,"Uninitialized 'val' fields must be mutable and marked with the '[<DefaultValue>]' attribute. Consider using a 'let' binding instead of a 'val' field."
881,tcStaticValFieldsMustBeMutableAndPrivate,"Static 'val' fields in types must be mutable, private and marked with the '[<DefaultValue>]' attribute. They are initialized to the 'null' or 'zero' value for their type. Consider also using a 'static let mutable' binding in a class type."
882,tcFieldRequiresName,"This field requires a name"
883,tcInvalidNamespaceModuleTypeUnionName,"Invalid namespace, module, type or union case name"
884,tcIllegalFormForExplicitTypeDeclaration,"Explicit type declarations for constructors must be of the form 'ty1 * ... * tyN -> resTy'. Parentheses may be required around 'resTy'"
885,tcReturnTypesForUnionMustBeSameAsType,"Return types of union cases must be identical to the type being defined, up to abbreviations"
886,tcInvalidEnumerationLiteral,"This is not a valid value for an enumeration literal"
887,tcTypeIsNotInterfaceType1,"The type '%s' is not an interface type"
888,tcDuplicateSpecOfInterface,"Duplicate specification of an interface"
889,tcFieldValIllegalHere,"A field/val declaration is not permitted here"
890,tcInheritIllegalHere,"A inheritance declaration is not permitted here"
892,tcModuleRequiresQualifiedAccess,"This declaration opens the module '%s', which is marked as 'RequireQualifiedAccess'. Adjust your code to use qualified references to the elements of the module instead, e.g. 'List.map' instead of 'map'. This change will ensure that your code is robust as new constructs are added to libraries."
893,tcOpenUsedWithPartiallyQualifiedPath,"This declaration opens the namespace or module '%s' through a partially qualified path. Adjust this code to use the full path of the namespace. This change will make your code more robust as new constructs are added to the F# and CLI libraries."
894,tcLocalClassBindingsCannotBeInline,"Local class bindings cannot be marked inline. Consider lifting the definition out of the class or else do not mark it as inline."
895,tcTypeAbbreviationsMayNotHaveMembers,"Type abbreviations cannot have members"
896,tcEnumerationsMayNotHaveMembers,"Enumerations cannot have members"
897,tcMeasureDeclarationsRequireStaticMembers,"Measure declarations may have only static members"
tcStructsMayNotContainDoBindings,"Structs cannot contain 'do' bindings because the default constructor for structs would not execute these bindings"
901,tcStructsMayNotContainLetBindings,"Structs cannot contain value definitions because the default constructor for structs will not execute these bindings. Consider adding additional arguments to the primary constructor for the type."
902,tcStaticLetBindingsRequireClassesWithImplicitConstructors,"Static value definitions may only be used in types with a primary constructor. Consider adding arguments to the type definition, e.g. 'type X(args) = ...'."
904,tcMeasureDeclarationsRequireStaticMembersNotConstructors,"Measure declarations may have only static members: constructors are not available"
905,tcMemberAndLocalClassBindingHaveSameName,"A member and a local class binding both have the name '%s'"
906,tcTypeAbbreviationsCannotHaveInterfaceDeclaration,"Type abbreviations cannot have interface declarations"
907,tcEnumerationsCannotHaveInterfaceDeclaration,"Enumerations cannot have interface declarations"
908,tcTypeIsNotInterfaceType0,"This type is not an interface type"
909,tcAllImplementedInterfacesShouldBeDeclared,"All implemented interfaces should be declared on the initial declaration of the type"
910,tcDefaultImplementationForInterfaceHasAlreadyBeenAdded,"A default implementation of this interface has already been added because the explicit implementation of the interface was not specified at the definition of the type"
911,tcMemberNotPermittedInInterfaceImplementation,"This member is not permitted in an interface implementation"
912,tcDeclarationElementNotPermittedInAugmentation,"This declaration element is not permitted in an augmentation"
913,tcTypesCannotContainNestedTypes,"Types cannot contain nested type definitions"
tcTypeExceptionOrModule,"type, exception or module"
tcTypeOrModule,"type or module"
914,tcImplementsIStructuralEquatableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IStructuralEquatable' explicitly. Apply the 'CustomEquality' attribute to the type."
915,tcImplementsIEquatableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IEquatable<_>' explicitly. Apply the 'CustomEquality' attribute to the type and provide a consistent implementation of the non-generic override 'System.Object.Equals(obj)'."
916,tcExplicitTypeSpecificationCannotBeUsedForExceptionConstructors,"Explicit type specifications cannot be used for exception constructors"
917,tcExceptionAbbreviationsShouldNotHaveArgumentList,"Exception abbreviations should not have argument lists"
918,tcAbbreviationsFordotNetExceptionsCannotTakeArguments,"Abbreviations for Common IL exceptions cannot take arguments"
919,tcExceptionAbbreviationsMustReferToValidExceptions,"Exception abbreviations must refer to existing exceptions or F# types deriving from System.Exception"
920,tcAbbreviationsFordotNetExceptionsMustHaveMatchingObjectConstructor,"Abbreviations for Common IL exception types must have a matching object constructor"
921,tcNotAnException,"Not an exception"
#922,tcUnexpectedConstraintsOrParametersOnModule,"Unexpected constraints or parameters on module specification"
924,tcInvalidModuleName,"Invalid module name"
925,tcInvalidTypeExtension,"Invalid type extension"
926,tcAttributesOfTypeSpecifyMultipleKindsForType,"The attributes of this type specify multiple kinds for the type"
927,tcKindOfTypeSpecifiedDoesNotMatchDefinition,"The kind of the type specified by its attributes does not match the kind implied by its definition"
928,tcMeasureDefinitionsCannotHaveTypeParameters,"Measure definitions cannot have type parameters"
929,tcTypeRequiresDefinition,"This type requires a definition"
tcTypeAbbreviationHasTypeParametersMissingOnType,"This type abbreviation has one or more declared type parameters that do not appear in the type being abbreviated. Type abbreviations must use all declared type parameters in the type being abbreviated. Consider removing one or more type parameters, or use a concrete type definition that wraps an underlying type, such as 'type C<'a> = C of ...'."
931,tcStructsInterfacesEnumsDelegatesMayNotInheritFromOtherTypes,"Structs, interfaces, enums and delegates cannot inherit from other types"
932,tcTypesCannotInheritFromMultipleConcreteTypes,"Types cannot inherit from multiple concrete types"
934,tcRecordsUnionsAbbreviationsStructsMayNotHaveAllowNullLiteralAttribute,"Records, union, abbreviations and struct types cannot have the 'AllowNullLiteral' attribute"
935,tcAllowNullTypesMayOnlyInheritFromAllowNullTypes,"Types with the 'AllowNullLiteral' attribute may only inherit from or implement types which also allow the use of the null literal"
936,tcGenericTypesCannotHaveStructLayout,"Generic types cannot be given the 'StructLayout' attribute"
937,tcOnlyStructsCanHaveStructLayout,"Only structs and classes without primary constructors may be given the 'StructLayout' attribute"
938,tcRepresentationOfTypeHiddenBySignature,"The representation of this type is hidden by the signature. It must be given an attribute such as [<Sealed>], [<Class>] or [<Interface>] to indicate the characteristics of the type."
939,tcOnlyClassesCanHaveAbstract,"Only classes may be given the 'AbstractClass' attribute"
940,tcOnlyTypesRepresentingUnitsOfMeasureCanHaveMeasure,"Only types representing units-of-measure may be given the 'Measure' attribute"
941,tcOverridesCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on overrides or interface implementations"
942,tcTypesAreAlwaysSealedDU,"Discriminated union types are always sealed"
942,tcTypesAreAlwaysSealedRecord,"Record types are always sealed"
942,tcTypesAreAlwaysSealedAssemblyCode,"Assembly code types are always sealed"
942,tcTypesAreAlwaysSealedStruct,"Struct types are always sealed"
942,tcTypesAreAlwaysSealedDelegate,"Delegate types are always sealed"
942,tcTypesAreAlwaysSealedEnum,"Enum types are always sealed"
943,tcInterfaceTypesAndDelegatesCannotContainFields,"Interface types and delegate types cannot contain fields"
944,tcAbbreviatedTypesCannotBeSealed,"Abbreviated types cannot be given the 'Sealed' attribute"
945,tcCannotInheritFromSealedType,"Cannot inherit a sealed type"
946,tcCannotInheritFromInterfaceType,"Cannot inherit from interface type. Use interface ... with instead."
947,tcStructTypesCannotContainAbstractMembers,"Struct types cannot contain abstract members"
948,tcInterfaceTypesCannotBeSealed,"Interface types cannot be sealed"
949,tcInvalidDelegateSpecification,"Delegate specifications must be of the form 'typ -> typ'"
950,tcDelegatesCannotBeCurried,"Delegate specifications must not be curried types. Use 'typ * ... * typ -> typ' for multi-argument delegates, and 'typ -> (typ -> typ)' for delegates returning function values."
951,tcInvalidTypeForLiteralEnumeration,"Literal enumerations must have type int, uint, int16, uint16, int64, uint64, byte, sbyte or char"
#952,tcTypeAbbreviationMustBePublic,"Type abbreviations must be public. If you want to use a private type abbreviation you must use an explicit signature."
953,tcTypeDefinitionIsCyclic,"This type definition involves an immediate cyclic reference through an abbreviation"
954,tcTypeDefinitionIsCyclicThroughInheritance,"This type definition involves an immediate cyclic reference through a struct field or inheritance relation"
tcReservedSyntaxForAugmentation,"The syntax 'type X with ...' is reserved for augmentations. Types whose representations are hidden but which have members are now declared in signatures using 'type X = ...'. You may also need to add the '[<Sealed>] attribute to the type definition in the signature"
956,tcMembersThatExtendInterfaceMustBePlacedInSeparateModule,"Members that extend interface, delegate or enum types must be placed in a module separate to the definition of the type. This module must either have the AutoOpen attribute or be opened explicitly by client code to bring the extension members into scope."
957,tcDeclaredTypeParametersForExtensionDoNotMatchOriginal,"The declared type parameters for this type extension do not match the declared type parameters on the original type '%s'"
959,tcTypeDefinitionsWithImplicitConstructionMustHaveOneInherit,"Type definitions may only have one 'inherit' specification and it must be the first declaration"
960,tcTypeDefinitionsWithImplicitConstructionMustHaveLocalBindingsBeforeMembers,"'let' and 'do' bindings must come before member and interface definitions in type definitions"
961,tcInheritDeclarationMissingArguments,"This 'inherit' declaration specifies the inherited type but no arguments. Consider supplying arguments, e.g. 'inherit BaseType(args)'."
962,tcInheritConstructionCallNotPartOfImplicitSequence,"This 'inherit' declaration has arguments, but is not in a type with a primary constructor. Consider adding arguments to your type definition, e.g. 'type X(args) = ...'."
963,tcLetAndDoRequiresImplicitConstructionSequence,"This definition may only be used in a type with a primary constructor. Consider adding arguments to your type definition, e.g. 'type X(args) = ...'."
964,tcTypeAbbreviationsCannotHaveAugmentations,"Type abbreviations cannot have augmentations"
965,tcModuleAbbreviationForNamespace,"The path '%s' is a namespace. A module abbreviation may not abbreviate a namespace."
966,tcTypeUsedInInvalidWay,"The type '%s' is used in an invalid way. A value prior to '%s' has an inferred type involving '%s', which is an invalid forward reference."
967,tcMemberUsedInInvalidWay,"The member '%s' is used in an invalid way. A use of '%s' has been inferred prior to the definition of '%s', which is an invalid forward reference."
#968,tcExplicitSignaturesInImplementationFileCannotBeUsed,"Explicit signatures within implementation files are not permitted"
#969,tcModulesCannotUseNamedModuleSignatures,"Modules cannot use named module signature definitions"
970,tcAttributeAutoOpenWasIgnored,"The attribute 'AutoOpen(\"%s\")' in the assembly '%s' did not refer to a valid module or namespace in that assembly and has been ignored"
# -----------------------------------------------------------------------------
# ilxgen errors
# -----------------------------------------------------------------------------
971,ilUndefinedValue,"Undefined value '%s'"
972,ilLabelNotFound,"Label %s not found"
973,ilIncorrectNumberOfTypeArguments,"Incorrect number of type arguments to local call"
ilDynamicInvocationNotSupported,"Dynamic invocation of %s is not supported"
975,ilAddressOfLiteralFieldIsInvalid,"Taking the address of a literal field is invalid"
976,ilAddressOfValueHereIsInvalid,"This operation involves taking the address of a value '%s' represented using a local variable or other special representation. This is invalid."
980,ilCustomMarshallersCannotBeUsedInFSharp,"Custom marshallers cannot be specified in F# code. Consider using a C# helper function."
981,ilMarshalAsAttributeCannotBeDecoded,"The MarshalAs attribute could not be decoded"
982,ilSignatureForExternalFunctionContainsTypeParameters,"The signature for this external function contains type parameters. Constrain the argument and return types to indicate the types of the corresponding C function."
983,ilDllImportAttributeCouldNotBeDecoded,"The DllImport attribute could not be decoded"
984,ilLiteralFieldsCannotBeSet,"Literal fields cannot be set"
985,ilStaticMethodIsNotLambda,"GenSetStorage: %s was represented as a static method but was not an appropriate lambda expression"
986,ilMutableVariablesCannotEscapeMethod,"Mutable variables cannot escape their method"
987,ilUnexpectedUnrealizedValue,"Compiler error: unexpected unrealized value"
988,ilMainModuleEmpty,"Main module of program is empty: nothing will happen when it is run"
989,ilTypeCannotBeUsedForLiteralField,"This type cannot be used for a literal field"
990,ilUnexpectedGetSetAnnotation,"Unexpected GetSet annotation on a property"
991,ilFieldOffsetAttributeCouldNotBeDecoded,"The FieldOffset attribute could not be decoded"
992,ilStructLayoutAttributeCouldNotBeDecoded,"The StructLayout attribute could not be decoded"
993,ilDefaultAugmentationAttributeCouldNotBeDecoded,"The DefaultAugmentation attribute could not be decoded"
994,ilReflectedDefinitionsCannotUseSliceOperator,"Reflected definitions cannot contain uses of the prefix splice operator '%%'"
# -----------------------------------------------------------------------------
# fscopts text
# -----------------------------------------------------------------------------
1000,optsProblemWithCodepage,"Problem with codepage '%d': %s"
optsCopyright,"Freely distributed under the Apache 2.0 Open Source License"
optsNameOfOutputFile,"Name of the output file (Short form: -o)"
optsBuildConsole,"Build a console executable"
optsBuildWindows,"Build a Windows executable"
optsBuildLibrary,"Build a library (Short form: -a)"
optsBuildModule,"Build a module that can be added to another assembly"
optsDelaySign,"Delay-sign the assembly using only the public portion of the strong name key"
optsWriteXml,"Write the xmldoc of the assembly to the given file"
optsStrongKeyFile,"Specify a strong name key file"
optsStrongKeyContainer,"Specify a strong name key container"
optsPlatform,"Limit which platforms this code can run on: x86, Itanium, x64, anycpu32bitpreferred, or anycpu. The default is anycpu."
optsNoOpt,"Only include optimization information essential for implementing inlined constructs. Inhibits cross-module inlining but improves binary compatibility."
optsNoInterface,"Don't add a resource to the generated assembly containing F#-specific metadata"
optsSig,"Print the inferred interface of the assembly to a file"
optsReference,"Reference an assembly (Short form: -r)"
optsWin32res,"Specify a Win32 resource file (.res)"
optsWin32manifest,"Specify a Win32 manifest file"
optsNowin32manifest,"Do not include the default Win32 manifest"
optsResource,"Embed the specified managed resource"
optsLinkresource,"Link the specified resource to this assembly where the resinfo format is <file>[,<string name>[,public|private]]"
optsDebugPM,"Emit debug information (Short form: -g)"
optsDebug,"Specify debugging type: full, pdbonly. ('full' is the default and enables attaching a debugger to a running program)."
optsOptimize,"Enable optimizations (Short form: -O)"
optsTailcalls,"Enable or disable tailcalls"
optsCrossoptimize,"Enable or disable cross-module optimizations"
optsWarnaserrorPM,"Report all warnings as errors"
optsWarnaserror,"Report specific warnings as errors"
optsWarn,"Set a warning level (0-5)"
optsNowarn,"Disable specific warning messages"
optsWarnOn,"Enable specific warnings that may be off by default"
optsChecked,"Generate overflow checks"
optsDefine,"Define conditional compilation symbols (Short form: -d)"
optsMlcompatibility,"Ignore ML compatibility warnings"
optsNologo,"Suppress compiler copyright message"
optsHelp,"Display this usage message (Short form: -?)"
optsCodepage,"Specify the codepage used to read source files"
optsUtf8output,"Output messages in UTF-8 encoding"
optsFullpaths,"Output messages with fully qualified paths"
optsLib,"Specify a directory for the include path which is used to resolve source files and assemblies (Short form: -I)"
optsBaseaddress,"Base address for the library to be built"
optsNoframework,"Do not reference the default CLI assemblies by default"
optsStandalone,"Statically link the F# library and all referenced DLLs that depend on it into the assembly being generated"
optsStaticlink,"Statically link the given assembly and all referenced DLLs that depend on this assembly. Use an assembly name e.g. mylib, not a DLL name."
optsResident,"Use a resident background compilation service to improve compiler startup times."
optsPdb,"Name the output debug file"
optsSimpleresolution,"Resolve assembly references using directory-based rules rather than MSBuild resolution"
1048,optsUnrecognizedTarget,"Unrecognized target '%s', expected 'exe', 'winexe', 'library' or 'module'"
1049,optsUnrecognizedDebugType,"Unrecognized debug type '%s', expected 'pdbonly' or 'full'"
1050,optsInvalidWarningLevel,"Invalid warning level '%d'"
optsShortFormOf,"Short form of '%s'"
optsClirootDeprecatedMsg,"The command-line option '--cliroot' has been deprecated. Use an explicit reference to a specific copy of mscorlib.dll instead."
optsClirootDescription,"Use to override where the compiler looks for mscorlib.dll and framework components"
optsHelpBannerOutputFiles,"- OUTPUT FILES -"
optsHelpBannerInputFiles,"- INPUT FILES -"
optsHelpBannerResources,"- RESOURCES -"
optsHelpBannerCodeGen,"- CODE GENERATION -"
optsHelpBannerAdvanced,"- ADVANCED -"
optsHelpBannerMisc,"- MISCELLANEOUS -"
optsHelpBannerLanguage,"- LANGUAGE -"
optsHelpBannerErrsAndWarns,"- ERRORS AND WARNINGS -"
1063,optsUnknownArgumentToTheTestSwitch,"Unknown --test argument: '%s'"
1064,optsUnknownPlatform,"Unrecognized platform '%s', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'"
optsInternalNoDescription,"The command-line option '%s' is for test purposes only"
optsDCLONoDescription,"The command-line option '%s' has been deprecated"
optsDCLODeprecatedSuggestAlternative,"The command-line option '%s' has been deprecated. Use '%s' instead."
optsDCLOHtmlDoc,"The command-line option '%s' has been deprecated. HTML document generation is now part of the F# Power Pack, via the tool FsHtmlDoc.exe."
optsConsoleColors,"Output warning and error messages in color"
optsUseHighEntropyVA,"Enable high-entropy ASLR"
optsSubSystemVersion,"Specify subsystem version of this assembly"
optsTargetProfile,"Specify target framework profile of this assembly. Valid values are mscorlib or netcore. Default - mscorlib"
optsEmitDebugInfoInQuotations,"Emit debug information in quotations"
1051,optsInvalidSubSystemVersion,"Invalid version '%s' for '--subsystemversion'. The version must be 4.00 or greater."
1052,optsInvalidTargetProfile,"Invalid value '%s' for '--targetprofile', valid values are 'mscorlib' or 'netcore'."
# -----------------------------------------------------------------------------
# service.fs strings
# -----------------------------------------------------------------------------
typeInfoFullName,"Full name"
# typeInfoType,"type"
# typeInfoInherits,"inherits"
# typeInfoImplements,"implements"
typeInfoOtherOverloads,"and %d other overloads"
typeInfoUnionCase,"union case"
typeInfoActivePatternResult,"active pattern result"
typeInfoActiveRecognizer,"active recognizer"
typeInfoField,"field"
typeInfoEvent,"event"
typeInfoProperty,"property"
typeInfoExtension,"extension"
typeInfoCustomOperation,"custom operation"
typeInfoArgument,"argument"
typeInfoPatternVariable,"patvar"
typeInfoNamespace,"namespace"
typeInfoModule,"module"
typeInfoNamespaceOrModule,"namespace/module"
typeInfoFromFirst,"from %s"
typeInfoFromNext,"also from %s"
typeInfoGeneratedProperty,"generated property"
typeInfoGeneratedType,"generated type"
assemblyResolutionFoundByAssemblyFoldersKey,"Found by AssemblyFolders registry key"
assemblyResolutionFoundByAssemblyFoldersExKey,"Found by AssemblyFoldersEx registry key"
assemblyResolutionNetFramework,".NET Framework"
assemblyResolutionGAC,"Global Assembly Cache"
# -----------------------------------------------------------------------------
# infos.fs errors
# -----------------------------------------------------------------------------
1089,recursiveClassHierarchy,"Recursive class hierarchy in type '%s'"
1090,InvalidRecursiveReferenceToAbstractSlot,"Invalid recursive reference to an abstract slot"
1091,eventHasNonStandardType,"The event '%s' has a non-standard type. If this event is declared in another CLI language, you may need to access this event using the explicit %s and %s methods for the event. If this event is declared in F#, make the type of the event an instantiation of either 'IDelegateEvent<_>' or 'IEvent<_,_>'."
1092,typeIsNotAccessible,"The type '%s' is not accessible from this code location"
1093,unionCasesAreNotAccessible,"The union cases or fields of the type '%s' are not accessible from this code location"
1094,valueIsNotAccessible,"The value '%s' is not accessible from this code location"
1095,unionCaseIsNotAccessible,"The union case '%s' is not accessible from this code location"
1096,fieldIsNotAccessible,"The record, struct or class field '%s' is not accessible from this code location"
1097,structOrClassFieldIsNotAccessible,"The struct or class field '%s' is not accessible from this code location"
experimentalConstruct,"This construct is experimental"
1099,noInvokeMethodsFound,"No Invoke methods found for delegate type"
moreThanOneInvokeMethodFound,"More than one Invoke method found for delegate type"
1101,delegatesNotAllowedToHaveCurriedSignatures,"Delegates are not allowed to have curried signatures"
# -----------------------------------------------------------------------------
# tlr.fs errors
# -----------------------------------------------------------------------------
1102,tlrUnexpectedTExpr,"Unexpected Expr.TyChoose"
1103,tlrLambdaLiftingOptimizationsNotApplied,"Note: Lambda-lifting optimizations have not been applied because of the use of this local constrained generic function as a first class value. Adding type constraints may resolve this condition."
# -----------------------------------------------------------------------------
# lexhelp.fs errors
# -----------------------------------------------------------------------------
1104,lexhlpIdentifiersContainingAtSymbolReserved,"Identifiers containing '@' are reserved for use in F# code generation"
lexhlpIdentifierReserved,"The identifier '%s' is reserved for future use by F#"
# -----------------------------------------------------------------------------
# patcompile.fs errors
# -----------------------------------------------------------------------------
1106,patcMissingVariable,"Missing variable '%s'"
1107,patcPartialActivePatternsGenerateOneResult,"Partial active patterns may only generate one result"
# -----------------------------------------------------------------------------
# import.fs errors
# -----------------------------------------------------------------------------
1108,impTypeRequiredUnavailable,"The type '%s' is required here and is unavailable. You must add a reference to assembly '%s'."
1109,impReferencedTypeCouldNotBeFoundInAssembly,"A reference to the type '%s' in assembly '%s' was found, but the type could not be found in that assembly"
1110,impNotEnoughTypeParamsInScopeWhileImporting,"Internal error or badly formed metadata: not enough type parameters were in scope while importing"
1111,impReferenceToDllRequiredByAssembly,"A reference to the DLL %s is required by assembly %s. The imported type %s is located in the first assembly and could not be resolved."
1112,impImportedAssemblyUsesNotPublicType,"An imported assembly uses the type '%s' but that type is not public"
# -----------------------------------------------------------------------------
# opt.fs errors
# -----------------------------------------------------------------------------
1113,optValueMarkedInlineButIncomplete,"The value '%s' was marked inline but its implementation makes use of an internal or private function which is not sufficiently accessible"
1114,optValueMarkedInlineButWasNotBoundInTheOptEnv,"The value '%s' was marked inline but was not bound in the optimization environment"
1115,optLocalValueNotFoundDuringOptimization,"Local value %s not found during optimization"
1116,optValueMarkedInlineHasUnexpectedValue,"A value marked as 'inline' has an unexpected value"
1117,optValueMarkedInlineCouldNotBeInlined,"A value marked as 'inline' could not be inlined"
1118,optFailedToInlineValue,"Failed to inline the value '%s' marked 'inline', perhaps because a recursive value was marked 'inline'"
1119,optRecursiveValValue,"Recursive ValValue %s"
# -----------------------------------------------------------------------------
# lexfilter.fs errors
# -----------------------------------------------------------------------------
lexfltIncorrentIndentationOfIn,"The indentation of this 'in' token is incorrect with respect to the corresponding 'let'"
lexfltTokenIsOffsideOfContextStartedEarlier,"Possible incorrect indentation: this token is offside of context started at position %s. Try indenting this token further or using standard formatting conventions."
lexfltSeparatorTokensOfPatternMatchMisaligned,"The '|' tokens separating rules of this pattern match are misaligned by one column. Consider realigning your code or using further indentation."
# -----------------------------------------------------------------------------
# nameres.fs errors
# -----------------------------------------------------------------------------
1123,nrInvalidModuleExprType,"Invalid module/expression/type"
1124,nrTypeInstantiationNeededToDisambiguateTypesWithSameName,"Multiple types exist called '%s', taking different numbers of generic parameters. Provide a type instantiation to disambiguate the type resolution, e.g. '%s'."
1125,nrTypeInstantiationIsMissingAndCouldNotBeInferred,"The instantiation of the generic type '%s' is missing and can't be inferred from the arguments or return type of this member. Consider providing a type instantiation when accessing this type, e.g. '%s'."
1126,nrGlobalUsedOnlyAsFirstName,"'global' may only be used as the first name in a qualified path"
1127,nrIsNotConstructorOrLiteral,"This is not a constructor or literal, or a constructor is being used incorrectly"
1128,nrUnexpectedEmptyLongId,"Unexpected empty long identifier"
1129,nrTypeDoesNotContainSuchField,"The type '%s' does not contain a field '%s'"
1130,nrInvalidFieldLabel,"Invalid field label"
1132,nrInvalidExpression,"Invalid expression '%s'"
1133,nrNoConstructorsAvailableForType,"No constructors are available for the type '%s'"
1134,nrUnionTypeNeedsQualifiedAccess,"The union type for union case '%s' was defined with the RequireQualifiedAccessAttribute. Include the name of the union type ('%s') in the name you are using."
1135,nrRecordTypeNeedsQualifiedAccess,"The record type for the record field '%s' was defined with the RequireQualifiedAccessAttribute. Include the name of the record type ('%s') in the name you are using."
# -----------------------------------------------------------------------------
# ilwrite.fs errors
# -----------------------------------------------------------------------------
1135,ilwriteErrorCreatingPdb,"Unexpected error creating debug information file '%s'"
# -----------------------------------------------------------------------------
# lex.fsl errors
# -----------------------------------------------------------------------------
1138,lexOutsideIntegerRange,"This number is outside the allowable range for this integer type"
lexCharNotAllowedInOperatorNames,"'%s' is not permitted as a character in operator names and is reserved for future use"
lexUnexpectedChar,"Unexpected character '%s'"
1140,lexByteArrayCannotEncode,"This byte array literal contains characters that do not encode as a single byte"
1141,lexIdentEndInMarkReserved,"Identifiers followed by '%s' are reserved for future use"
1142,lexOutsideEightBitSigned,"This number is outside the allowable range for 8-bit signed integers"
1143,lexOutsideEightBitSignedHex,"This number is outside the allowable range for hexadecimal 8-bit signed integers"
1144,lexOutsideEightBitUnsigned,"This number is outside the allowable range for 8-bit unsigned integers"
1145,lexOutsideSixteenBitSigned,"This number is outside the allowable range for 16-bit signed integers"
1146,lexOutsideSixteenBitUnsigned,"This number is outside the allowable range for 16-bit unsigned integers"
1147,lexOutsideThirtyTwoBitSigned,"This number is outside the allowable range for 32-bit signed integers"
1148,lexOutsideThirtyTwoBitUnsigned,"This number is outside the allowable range for 32-bit unsigned integers"
1149,lexOutsideSixtyFourBitSigned,"This number is outside the allowable range for 64-bit signed integers"
1150,lexOutsideSixtyFourBitUnsigned,"This number is outside the allowable range for 64-bit unsigned integers"
1151,lexOutsideNativeSigned,"This number is outside the allowable range for signed native integers"
1152,lexOutsideNativeUnsigned,"This number is outside the allowable range for unsigned native integers"
1153,lexInvalidFloat,"Invalid floating point number"
1154,lexOusideDecimal,"This number is outside the allowable range for decimal literals"
1155,lexOusideThirtyTwoBitFloat,"This number is outside the allowable range for 32-bit floats"
1156,lexInvalidNumericLiteral,"This is not a valid numeric literal. Sample formats include 4, 0x4, 0b0100, 4L, 4UL, 4u, 4s, 4us, 4y, 4uy, 4.0, 4.0f, 4I."
1157,lexInvalidByteLiteral,"This is not a valid byte literal"
1158,lexInvalidCharLiteral,"This is not a valid character literal"
1159,lexThisUnicodeOnlyInStringLiterals,"This Unicode encoding is only valid in string literals"
1160,lexTokenReserved,"This token is reserved for future use"
1161,lexTabsNotAllowed,"TABs are not allowed in F# code unless the #indent \"off\" option is used"
1162,lexInvalidLineNumber,"Invalid line number: '%s'"
1163,lexHashIfMustBeFirst,"#if directive must appear as the first non-whitespace character on a line"
lexHashElseNoMatchingIf,"#else has no matching #if"
lexHashEndifRequiredForElse,"#endif required for #else"
1166,lexHashElseMustBeFirst,"#else directive must appear as the first non-whitespace character on a line"
lexHashEndingNoMatchingIf,"#endif has no matching #if"
1168,lexHashEndifMustBeFirst,"#endif directive must appear as the first non-whitespace character on a line"
1169,lexHashIfMustHaveIdent,"#if directive should be immediately followed by an identifier"
1170,lexWrongNestedHashEndif,"Syntax error. Wrong nested #endif, unexpected tokens before it."
lexHashBangMustBeFirstInFile,"#! may only appear as the first line at the start of a file."
1171,pplexExpectedSingleLineComment,"Expected single line comment or end of line"
1172,memberOperatorDefinitionWithNoArguments,"Infix operator member '%s' has no arguments. Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ..."
1173,memberOperatorDefinitionWithNonPairArgument,"Infix operator member '%s' has %d initial argument(s). Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ..."
1174,memberOperatorDefinitionWithCurriedArguments,"Infix operator member '%s' has extra curried arguments. Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ..."
1175,tcFSharpCoreRequiresExplicit,"All record, union and struct types in FSharp.Core.dll must be explicitly labelled with 'StructuralComparison' or 'NoComparison'"
1176,tcStructuralComparisonNotSatisfied1,"The struct, record or union type '%s' has the 'StructuralComparison' attribute but the type parameter '%s' does not satisfy the 'comparison' constraint. Consider adding the 'comparison' constraint to the type parameter"
1177,tcStructuralComparisonNotSatisfied2,"The struct, record or union type '%s' has the 'StructuralComparison' attribute but the component type '%s' does not satisfy the 'comparison' constraint"
1178,tcNoComparisonNeeded1,"The struct, record or union type '%s' is not structurally comparable because the type parameter %s does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type '%s' to clarify that the type is not comparable"
1178,tcNoComparisonNeeded2,"The struct, record or union type '%s' is not structurally comparable because the type '%s' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type '%s' to clarify that the type is not comparable"
1178,tcNoEqualityNeeded1,"The struct, record or union type '%s' does not support structural equality because the type parameter %s does not satisfy the 'equality' constraint. Consider adding the 'NoEquality' attribute to the type '%s' to clarify that the type does not support structural equality"
1178,tcNoEqualityNeeded2,"The struct, record or union type '%s' does not support structural equality because the type '%s' does not satisfy the 'equality' constraint. Consider adding the 'NoEquality' attribute to the type '%s' to clarify that the type does not support structural equality"
1179,tcStructuralEqualityNotSatisfied1,"The struct, record or union type '%s' has the 'StructuralEquality' attribute but the type parameter '%s' does not satisfy the 'equality' constraint. Consider adding the 'equality' constraint to the type parameter"
1180,tcStructuralEqualityNotSatisfied2,"The struct, record or union type '%s' has the 'StructuralEquality' attribute but the component type '%s' does not satisfy the 'equality' constraint"
1181,tcStructsMustDeclareTypesOfImplicitCtorArgsExplicitly,"Each argument of the primary constructor for a struct must be given a type, for example 'type S(x1:int, x2: int) = ...'. These arguments determine the fields of the struct."
1182,chkUnusedValue,"The value '%s' is unused"
1183,chkUnusedThisVariable,"The recursive object reference '%s' is unused. The presence of a recursive object reference adds runtime initialization checks to members in this and derived types. Consider removing this recursive object reference."
1184,parsGetterAtMostOneArgument,"A getter property may have at most one argument group"
1185,parsSetterAtMostTwoArguments,"A setter property may have at most two argument groups"
1186,parsInvalidProperty,"Invalid property getter or setter"
1187,parsIndexerPropertyRequiresAtLeastOneArgument,"An indexer property must be given at least one argument"
1188,tastInvalidAddressOfMutableAcrossAssemblyBoundary,"This operation accesses a mutable top-level value defined in another assembly in an unsupported way. The value cannot be accessed through its address. Consider copying the expression to a mutable local, e.g. 'let mutable x = ...', and if necessary assigning the value back after the completion of the operation"
1189,parsNonAdjacentTypars,"Type parameters must be placed directly adjacent to the type name, e.g. \"type C<'T>\", not     type \"C   <'T>\""
1190,parsNonAdjacentTyargs,"Type arguments must be placed directly adjacent to the type name, e.g. \"C<'T>\", not \"C  <'T>\""
parsNonAtomicType,"The use of the type syntax 'int C' and 'C  <int>' is not permitted here. Consider adjusting this type to be written in the form 'C<int>'"
# 1191,tastUndefinedTyconItemField,"The type %s did not contain the field '%s'"
# 1192,tastUndefinedTyconItemUnionCase,"The type %s did not contain the union case '%s'"
1193,tastUndefinedItemRefModuleNamespace,"The module/namespace '%s' from compilation unit '%s' did not contain the module/namespace '%s'"
1194,tastUndefinedItemRefVal,"The module/namespace '%s' from compilation unit '%s' did not contain the val '%s'"
1195,tastUndefinedItemRefModuleNamespaceType,"The module/namespace '%s' from compilation unit '%s' did not contain the namespace, module or type '%s'"
1196,tcInvalidUseNullAsTrueValue,"The 'UseNullAsTrueValue' attribute flag may only be used with union types that have one nullary case and at least one non-nullary case"
1197,tcParameterInferredByref,"The parameter '%s' was inferred to have byref type. Parameters of byref type must be given an explicit type annotation, e.g. 'x1: byref<int>'. When used, a byref parameter is implicitly dereferenced."
1198,tcNonUniformMemberUse,"The generic member '%s' has been used at a non-uniform instantiation prior to this program point. Consider reordering the members so this member occurs first. Alternatively, specify the full type of the member explicitly, including argument types, return type and any additional generic parameters and constraints."
1200,tcAttribArgsDiffer,"The attribute '%s' appears in both the implementation and the signature, but the attribute arguments differ. Only the attribute from the signature will be included in the compiled code."
1201,tcCannotCallAbstractBaseMember,"Cannot call an abstract base member: '%s'"
1202,typrelCannotResolveAmbiguityInUnmanaged,"Could not resolve the ambiguity in the use of a generic construct with an 'unmanaged' constraint at or near this position"
#1203 - used for error in FSharp.Core CompilerMessage message
#1204 - used for error in FSharp.Core CompilerMessage message
mlCompatMessage,"This construct is for ML compatibility. %s. You can disable this warning by using '--mlcompatibility' or '--nowarn:62'."
#1205,chkDuplicateInherittedVirtualMethod,"Duplicate virtual methods. There are multiple virtual methods named '%s' with the same signature in the parent (inherited) type. This may be a result of instantiating the parent type."
1206,ilFieldDoesNotHaveValidOffsetForStructureLayout,"The type '%s' has been marked as having an Explicit layout, but the field '%s' has not been marked with the 'FieldOffset' attribute"
1207,tcInterfacesShouldUseInheritNotInterface,"Interfaces inherited by other interfaces should be declared using 'inherit ...' instead of 'interface ...'"
1208,parsInvalidPrefixOperator,"Invalid prefix operator"
1208,parsInvalidPrefixOperatorDefinition,"Invalid operator definition. Prefix operator definitions must use a valid prefix operator name."
buildCompilingExtensionIsForML,"The file extensions '.ml' and '.mli' are for ML compatibility"
lexIndentOffForML,"Consider using a file with extension '.ml' or '.mli' instead"
1209,activePatternIdentIsNotFunctionTyped,"Active pattern '%s' is not a function"
1210,activePatternChoiceHasFreeTypars,"Active pattern '%s' has a result type containing type variables that are not determined by the input. The common cause is a when a result case is not mentioned, e.g. 'let (|A|B|) (x:int) = A x'. This can be fixed with a type constraint, e.g. 'let (|A|B|) (x:int) : Choice<int,unit> = A x'"
1211,ilFieldHasOffsetForSequentialLayout,"The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)"
1212,tcOptionalArgsMustComeAfterNonOptionalArgs,"Optional arguments must come at the end of the argument list, after any non-optional arguments"
1213,tcConditionalAttributeUsage,"Attribute 'System.Diagnostics.ConditionalAttribute' is only valid on methods or attribute classes"
#1214,monoRegistryBugWorkaround,"Could not determine highest installed .NET framework version from Registry keys, using version 2.0"
1215,tcMemberOperatorDefinitionInExtrinsic,"Extension members cannot provide operator overloads.  Consider defining the operator as part of the type definition instead."
1216,ilwriteMDBFileNameCannotBeChangedWarning,"The name of the MDB file must be <assembly-file-name>.mdb. The --pdb option will be ignored."
1217,ilwriteMDBMemberMissing,"MDB generation failed. Could not find compatible member %s"
1218,ilwriteErrorCreatingMdb,"Cannot generate MDB debug information. Failed to load the 'MonoSymbolWriter' type from the 'Mono.CompilerServices.SymbolWriter.dll' assembly."
1219,tcUnionCaseNameConflictsWithGeneratedType,"The union case named '%s' conflicts with the generated type '%s'"
1220,chkNoReflectedDefinitionOnStructMember,"ReflectedDefinitionAttribute may not be applied to an instance member on a struct type, because the instance member takes an implicit 'this' byref parameter"
1221,tcDllImportNotAllowed,"DLLImport bindings must be static members in a class or function definitions in a module"
1222,buildExplicitCoreLibRequiresNoFramework,"When mscorlib.dll or FSharp.Core.dll is explicitly referenced the %s option must also be passed"
1223,buildExpectedSigdataFile,"FSharp.Core.sigdata not found alongside FSharp.Core"
1224,buildDidNotExpectOptDataResource,"Did not expect to find optdata resource in FSharp.Core.dll"
1225,buildExpectedFileAlongSideFSharpCore,"File '%s' not found alongside FSharp.Core"
1226,buildDidNotExpectSigdataResource,"Did not expect to find sigdata resource in FSharp.Core.dll"
1227,buildUnexpectedFileNameCharacter,"Filename '%s' contains invalid character '%s'"
1228,tcInvalidUseBangBinding,"'use!' bindings must be of the form 'use! <var> = <expr>'"
1230,crefNoInnerGenericsInQuotations,"Inner generic functions are not permitted in quoted expressions. Consider adding some type constraints until this function is no longer generic."
1231,tcEnumTypeCannotBeEnumerated,"The type '%s' is not a valid enumerator type , i.e. does not have a 'MoveNext()' method returning a bool, and a 'Current' property"
1232,parsEofInTripleQuoteString,"End of file in triple-quote string begun at or before here"
1233,parsEofInTripleQuoteStringInComment,"End of file in triple-quote string embedded in comment begun at or before here"
1240,tcTypeTestLosesMeasures,"This type test or downcast will ignore the unit-of-measure '%s'"
1241,parsMissingTypeArgs,"Expected type argument or static argument"
1242,parsMissingGreaterThan,"Unmatched '<'. Expected closing '>'"
1243,parsUnexpectedQuotationOperatorInTypeAliasDidYouMeanVerbatimString,"Unexpected quotation operator '<@' in type definition. If you intend to pass a verbatim string as a static argument to a type provider, put a space between the '<' and '@' characters."
1244,parsErrorParsingAsOperatorName,"Attempted to parse this as an operator name, but failed"
1245,lexInvalidUnicodeLiteral,"\U%s is not a valid Unicode character escape sequence"
# Fsc.exe resource strings
fscTooManyErrors,"Exiting - too many errors"
2001,docfileNoXmlSuffix,"The documentation file has no .xml suffix"
2002,fscNoImplementationFiles,"No implementation files specified"
2003,fscBadAssemblyVersion,"An %s specified version '%s', but this value is invalid and has been ignored"
2004,fscTwoResourceManifests,"Conflicting options specified: 'win32manifest' and 'win32res'. Only one of these can be used."
2005,fscQuotationLiteralsStaticLinking,"The code in assembly '%s' makes uses of quotation literals. Static linking may not include components that make use of quotation literals unless all assemblies are compiled with at least F# 4.0."
2006,fscQuotationLiteralsStaticLinking0,"Code in this assembly makes uses of quotation literals. Static linking may not include components that make use of quotation literals unless all assemblies are compiled with at least F# 4.0."
2007,fscStaticLinkingNoEXE,"Static linking may not include a .EXE"
2008,fscStaticLinkingNoMixedDLL,"Static linking may not include a mixed managed/unmanaged DLL"
2009,fscIgnoringMixedWhenLinking,"Ignoring mixed managed/unmanaged assembly '%s' during static linking"
2011,fscAssumeStaticLinkContainsNoDependencies,"Assembly '%s' was referenced transitively and the assembly could not be resolved automatically. Static linking will assume this DLL has no dependencies on the F# library or other statically linked DLLs. Consider adding an explicit reference to this DLL."
2012,fscAssemblyNotFoundInDependencySet,"Assembly '%s' not found in dependency set of target binary. Statically linked roots should be specified using an assembly name, without a DLL or EXE extension. If this assembly was referenced explicitly then it is possible the assembly was not actually required by the generated binary, in which case it should not be statically linked."
2013,fscKeyFileCouldNotBeOpened,"The key file '%s' could not be opened"
2014,fscProblemWritingBinary,"A problem occurred writing the binary '%s': %s"
2015,fscAssemblyVersionAttributeIgnored,"The 'AssemblyVersionAttribute' has been ignored because a version was given using a command line option"
2016,fscAssemblyCultureAttributeError,"Error emitting 'System.Reflection.AssemblyCultureAttribute' attribute -- 'Executables cannot be satellite assemblies, Culture should always be empty'"
2017,fscDelaySignWarning,"Option '--delaysign' overrides attribute 'System.Reflection.AssemblyDelaySignAttribute' given in a source file or added module"
2018,fscKeyFileWarning,"Option '--keyfile' overrides attribute 'System.Reflection.AssemblyKeyFileAttribute' given in a source file or added module"
2019,fscKeyNameWarning,"Option '--keycontainer' overrides attribute 'System.Reflection.AssemblyNameAttribute' given in a source file or added module"
2020,fscReferenceOnCommandLine,"The assembly '%s' is listed on the command line. Assemblies should be referenced using a command line flag such as '-r'."
2021,fscRemotingError,"The resident compilation service was not used because a problem occured in communicating with the server."
2022,pathIsInvalid,"Problem with filename '%s': Illegal characters in path."
2023,fscResxSourceFileDeprecated,"Passing a .resx file (%s) as a source file to the compiler is deprecated. Use resgen.exe to transform the .resx file into a .resources file to pass as a --resource option. If you are using MSBuild, this can be done via an <EmbeddedResource> item in the .fsproj project file."
2024,fscStaticLinkingNoProfileMismatches,"Static linking may not use assembly that targets different profile."
# -----------------------------------------------------------------------------
# Extension typing errors
# -----------------------------------------------------------------------------
3000,etIllegalCharactersInNamespaceName,"Character '%s' is not allowed in provided namespace name '%s'"
3001,etNullOrEmptyMemberName,"The provided type '%s' returned a member with a null or empty member name"
3002,etNullMember,"The provided type '%s' returned a null member"
3003,etNullMemberDeclaringType,"The provided type '%s' member info '%s' has null declaring type"
3004,etNullMemberDeclaringTypeDifferentFromProvidedType,"The provided type '%s' has member '%s' which has declaring type '%s'. Expected declaring type to be the same as provided type."
3005,etHostingAssemblyFoundWithoutHosts,"Referenced assembly '%s' has assembly level attribute '%s' but no public type provider classes were found"
3006,etEmptyNamespaceOfTypeNotAllowed,"Type '%s' from type provider '%s' has an empty namespace. Use 'null' for the global namespace."
3007,etEmptyNamespaceNotAllowed,"Empty namespace found from the type provider '%s'. Use 'null' for the global namespace."
3011,etMustNotBeGeneric,"Provided type '%s' has 'IsGenericType' as true, but generic types are not supported."
3013,etMustNotBeAnArray,"Provided type '%s' has 'IsArray' as true, but array types are not supported."
3014,etMethodHasRequirements,"Invalid member '%s' on provided type '%s'. Provided type members must be public, and not be generic, virtual, or abstract."
3015,etUnsupportedMemberKind,"Invalid member '%s' on provided type '%s'. Only properties, methods and constructors are allowed"
3016,etPropertyCanReadButHasNoGetter,"Property '%s' on provided type '%s' has CanRead=true but there was no value from GetGetMethod()"
3017,etPropertyHasGetterButNoCanRead,"Property '%s' on provided type '%s' has CanRead=false but GetGetMethod() returned a method"
3018,etPropertyCanWriteButHasNoSetter,"Property '%s' on provided type '%s' has CanWrite=true but there was no value from GetSetMethod()"
3019,etPropertyHasSetterButNoCanWrite,"Property '%s' on provided type '%s' has CanWrite=false but GetSetMethod() returned a method"
3020,etOneOrMoreErrorsSeenDuringExtensionTypeSetting,"One or more errors seen during provided type setup"
3021,etUnexpectedExceptionFromProvidedTypeMember,"Unexpected exception from provided type '%s' member '%s': %s"
3022,etUnsupportedConstantType,"Unsupported constant type '%s'"
3025,etUnsupportedProvidedExpression,"Unsupported expression '%s' from type provider. If you are the author of this type provider, consider adjusting it to provide a different provided expression."
3028,etProvidedTypeHasUnexpectedName,"Expected provided type named '%s' but provided type has 'Name' with value '%s'"
3029,etEventNoAdd,"Event '%s' on provided type '%s' has no value from GetAddMethod()"
3030,etEventNoRemove,"Event '%s' on provided type '%s' has no value from GetRemoveMethod()"
3031,etProviderHasWrongDesignerAssembly,"Assembly attribute '%s' refers to a designer assembly '%s' which cannot be loaded or doesn't exist. %s"
3032,etProviderDoesNotHaveValidConstructor,"The type provider does not have a valid constructor. A constructor taking either no arguments or one argument of type 'TypeProviderConfig' was expected."
3033,etProviderError,"The type provider '%s' reported an error: %s"
3034,etIncorrectParameterExpression,"The type provider '%s' used an invalid parameter in the ParameterExpression: %s"
3035,etIncorrectProvidedMethod,"The type provider '%s' provided a method with a name '%s' and metadata token '%d', which is not reported among its methods of its declaring type '%s'"
3036,etIncorrectProvidedConstructor,"The type provider '%s' provided a constructor which is not reported among the constructors of its declaring type '%s'"
3039,etDirectReferenceToGeneratedTypeNotAllowed,"A direct reference to the generated type '%s' is not permitted. Instead, use a type definition, e.g. 'type TypeAlias = <path>'. This indicates that a type provider adds generated types to your assembly."
3041,etProvidedTypeHasUnexpectedPath,"Expected provided type with path '%s' but provided type has path '%s'"
3042,etUnexpectedNullFromProvidedTypeMember,"Unexpected 'null' return value from provided type '%s' member '%s'"
3043,etUnexpectedExceptionFromProvidedMemberMember,"Unexpected exception from member '%s' of provided type '%s' member '%s': %s"
3044,etNestedProvidedTypesDoNotTakeStaticArgumentsOrGenericParameters,"Nested provided types do not take static arguments or generic parameters"
3045,etInvalidStaticArgument,"Invalid static argument to provided type. Expected an argument of kind '%s'."
3046,etErrorApplyingStaticArgumentsToType,"An error occured applying the static arguments to a provided type"
3047,etUnknownStaticArgumentKind,"Unknown static argument kind '%s' when resolving a reference to a provided type or method '%s'"
invalidNamespaceForProvidedType,"invalid namespace for provided type"
invalidFullNameForProvidedType,"invalid full name for provided type"
#3050,etGenerateAttributeRequiresInternal,"The 'Generate' attribute must be used with a type definition with 'internal' visibility"
3051,etProviderReturnedNull,"The type provider returned 'null', which is not a valid return value from '%s'"
3053,etTypeProviderConstructorException,"The type provider constructor has thrown an exception: %s"
3056,etNullProvidedExpression,"Type provider '%s' returned null from GetInvokerExpression."
3057,etProvidedAppliedTypeHadWrongName,"The type provider '%s' returned an invalid type from 'ApplyStaticArguments'. A type with name '%s' was expected, but a type with name '%s' was returned."
3058,etProvidedAppliedMethodHadWrongName,"The type provider '%s' returned an invalid method from 'ApplyStaticArgumentsForMethod'. A method with name '%s' was expected, but a method with name '%s' was returned."
3060,tcTypeTestLossy,"This type test or downcast will erase the provided type '%s' to the type '%s'"
3061,tcTypeCastErased,"This downcast will erase the provided type '%s' to the type '%s'."
3062,tcTypeTestErased,"This type test with a provided type '%s' is not allowed because this provided type will be erased to '%s' at runtime."
3063,tcCannotInheritFromErasedType,"Cannot inherit from erased provided type"
3065,etInvalidTypeProviderAssemblyName,"Assembly '%s' hase TypeProviderAssembly attribute with invalid value '%s'. The value should be a valid assembly name"
3066,tcInvalidMemberNameCtor,"Invalid member name. Members may not have name '.ctor' or '.cctor'"
3068,tcInferredGenericTypeGivesRiseToInconsistency,"The function or member '%s' is used in a way that requires further type annotations at its definition to ensure consistency of inferred types. The inferred signature is '%s'."
3069,tcInvalidTypeArgumentCount,"The number of type arguments did not match: '%d' given, '%d' expected. This may be related to a previously reported error."
3070,tcCannotOverrideSealedMethod,"Cannot override inherited member '%s' because it is sealed"
3071,etProviderErrorWithContext,"The type provider '%s' reported an error in the context of provided type '%s', member '%s'. The error: %s"
3072,etProvidedTypeWithNameException,"An exception occurred when accessing the '%s' of a provided type: %s"
3073,etProvidedTypeWithNullOrEmptyName,"The '%s' of a provided type was null or empty."
3075,etIllegalCharactersInTypeName,"Character '%s' is not allowed in provided type name '%s'"
3077,tcJoinMustUseSimplePattern,"In queries, '%s' must use a simple pattern"
3078,tcMissingCustomOperation,"A custom query operation for '%s' is required but not specified"
3080,etBadUnnamedStaticArgs,"Named static arguments must come after all unnamed static arguments"
3081,etStaticParameterRequiresAValue,"The static parameter '%s' of the provided type or method '%s' requires a value. Static parameters to type providers may be optionally specified using named arguments, e.g. '%s<%s=...>'."
3082,etNoStaticParameterWithName,"No static parameter exists with name '%s'"
3083,etStaticParameterAlreadyHasValue,"The static parameter '%s' has already been given a value"
3084,etMultipleStaticParameterWithName,"Multiple static parameters exist with name '%s'"
3085,tcCustomOperationMayNotBeUsedInConjunctionWithNonSimpleLetBindings,"A custom operation may not be used in conjunction with a non-value or recursive 'let' binding in another part of this computation expression"
3086,tcCustomOperationMayNotBeUsedHere,"A custom operation may not be used in conjunction with 'use', 'try/with', 'try/finally', 'if/then/else' or 'match' operators within this computation expression"
3087,tcCustomOperationMayNotBeOverloaded,"The custom operation '%s' refers to a method which is overloaded. The implementations of custom operations may not be overloaded."
3090,tcIfThenElseMayNotBeUsedWithinQueries,"An if/then/else expression may not be used within queries. Consider using either an if/then expression, or use a sequence expression instead."
3091,ilxgenUnexpectedArgumentToMethodHandleOfDuringCodegen,"Invalid argument to 'methodhandleof' during codegen"
3092,etProvidedTypeReferenceMissingArgument,"A reference to a provided type was missing a value for the static parameter '%s'. You may need to recompile one or more referenced assemblies."
3093,etProvidedTypeReferenceInvalidText,"A reference to a provided type had an invalid value '%s' for a static parameter. You may need to recompile one or more referenced assemblies."
3095,tcCustomOperationNotUsedCorrectly,"'%s' is not used correctly. This is a custom operation in this query or computation expression."
3095,tcCustomOperationNotUsedCorrectly2,"'%s' is not used correctly. Usage: %s. This is a custom operation in this query or computation expression."
customOperationTextLikeJoin,"%s var in collection %s (outerKey = innerKey). Note that parentheses are required after '%s'"
customOperationTextLikeGroupJoin,"%s var in collection %s (outerKey = innerKey) into group. Note that parentheses are required after '%s'"
customOperationTextLikeZip,"%s var in collection"
3096,tcBinaryOperatorRequiresVariable,"'%s' must be followed by a variable name. Usage: %s."
3097,tcOperatorIncorrectSyntax,"Incorrect syntax for '%s'. Usage: %s."
3098,tcBinaryOperatorRequiresBody,"'%s' must come after a 'for' selection clause and be followed by the rest of the query. Syntax: ... %s ..."
3099,tcCustomOperationHasIncorrectArgCount,"'%s' is used with an incorrect number of arguments. This is a custom operation in this query or computation expression. Expected %d argument(s), but given %d."
3100,parsExpectedExpressionAfterToken,"Expected an expression after this point"
3101,parsExpectedTypeAfterToken,"Expected a type after this point"
3102,parsUnmatchedLBrackLess,"Unmatched '[<'. Expected closing '>]'"
3103,parsUnexpectedEndOfFileMatch,"Unexpected end of input in 'match' expression. Expected 'match <expr> with | <pat> -> <expr> | <pat> -> <expr> ...'."
3104,parsUnexpectedEndOfFileTry,"Unexpected end of input in 'try' expression. Expected 'try <expr> with <rules>' or 'try <expr> finally <expr>'."
3105,parsUnexpectedEndOfFileWhile,"Unexpected end of input in 'while' expression. Expected 'while <expr> do <expr>'."
3106,parsUnexpectedEndOfFileFor,"Unexpected end of input in 'for' expression. Expected 'for <pat> in <expr> do <expr>'."
3107,parsUnexpectedEndOfFileWith,"Unexpected end of input in 'match' or 'try' expression"
3108,parsUnexpectedEndOfFileThen,"Unexpected end of input in 'then' branch of conditional expression. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'."
3109,parsUnexpectedEndOfFileElse,"Unexpected end of input in 'else' branch of conditional expression. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'."
3110,parsUnexpectedEndOfFileFunBody,"Unexpected end of input in body of lambda expression. Expected 'fun <pat> ... <pat> -> <expr>'."
3111,parsUnexpectedEndOfFileTypeArgs,"Unexpected end of input in type arguments"
3112,parsUnexpectedEndOfFileTypeSignature,"Unexpected end of input in type signature"
3113,parsUnexpectedEndOfFileTypeDefinition,"Unexpected end of input in type definition"
3114,parsUnexpectedEndOfFileObjectMembers,"Unexpected end of input in object members"
3115,parsUnexpectedEndOfFileDefinition,"Unexpected end of input in value, function or member definition"
3116,parsUnexpectedEndOfFileExpression,"Unexpected end of input in expression"
3117,parsExpectedNameAfterToken,"Unexpected end of type. Expected a name after this point."
3118,parsUnmatchedLet,"Incomplete value or function definition. If this is in an expression, the body of the expression must be indented to the same column as the 'let' keyword."
3119,parsUnmatchedLetBang,"Incomplete value definition. If this is in an expression, the body of the expression must be indented to the same column as the 'let!' keyword."
3120,parsUnmatchedUseBang,"Incomplete value definition. If this is in an expression, the body of the expression must be indented to the same column as the 'use!' keyword."
3121,parsUnmatchedUse,"Incomplete value definition. If this is in an expression, the body of the expression must be indented to the same column as the 'use' keyword."
3122,parsWhileDoExpected,"Missing 'do' in 'while' expression. Expected 'while <expr> do <expr>'."
3123,parsForDoExpected,"Missing 'do' in 'for' expression. Expected 'for <pat> in <expr> do <expr>'."
3125,tcInvalidRelationInJoin,"Invalid join relation in '%s'. Expected 'expr <op> expr', where <op> is =, =?, ?= or ?=?."
typeInfoCallsWord,"Calls"
3126,impInvalidNumberOfGenericArguments,"Invalid number of generic arguments to type '%s' in provided type. Expected '%d' arguments, given '%d'."
3127,impInvalidMeasureArgument1,"Invalid value '%s' for unit-of-measure parameter '%s'"
3127,impInvalidMeasureArgument2,"Invalid value unit-of-measure parameter '%s'"
3128,etPropertyNeedsCanWriteOrCanRead,"Property '%s' on provided type '%s' is neither readable nor writable as it has CanRead=false and CanWrite=false"
3129,tcIntoNeedsRestOfQuery,"A use of 'into' must be followed by the remainder of the computation"
3130,tcOperatorDoesntAcceptInto,"The operator '%s' does not accept the use of 'into'"
3131,tcCustomOperationInvalid,"The definition of the custom operator '%s' does not use a valid combination of attribute flags"
3132,tcThisTypeMayNotHaveACLIMutableAttribute,"This type definition may not have the 'CLIMutable' attribute. Only record types may have this attribute."
3133,tcAutoPropertyRequiresImplicitConstructionSequence,"'member val' definitions are only permitted in types with a primary constructor. Consider adding arguments to your type definition, e.g. 'type X(args) = ...'."
3134,parsMutableOnAutoPropertyShouldBeGetSet,"Property definitions may not be declared mutable. To indicate that this property can be set, use 'member val PropertyName = expr with get,set'."
3135,parsMutableOnAutoPropertyShouldBeGetSetNotJustSet,"To indicate that this property can be set, use 'member val PropertyName = expr with get,set'."
3136,chkNoByrefsOfByrefs,"Type '%s' is illegal because in byref<T>, T cannot contain byref types."
3138,tastopsMaxArrayThirtyTwo,"F# supports a maximum array rank of 32"
3139,tcNoIntegerForLoopInQuery,"In queries, use the form 'for x in n .. m do ...' for ranging over integers"
3140,tcNoWhileInQuery,"'while' expressions may not be used in queries"
3141,tcNoTryFinallyInQuery,"'try/finally' expressions may not be used in queries"
3142,tcUseMayNotBeUsedInQueries,"'use' expressions may not be used in queries"
3143,tcBindMayNotBeUsedInQueries,"'let!', 'use!' and 'do!' expressions may not be used in queries"
3144,tcReturnMayNotBeUsedInQueries,"'return' and 'return!' may not be used in queries"
3145,tcUnrecognizedQueryOperator,"This is not a known query operator. Query operators are identifiers such as 'select', 'where', 'sortBy', 'thenBy', 'groupBy', 'groupValBy', 'join', 'groupJoin', 'sumBy' and 'averageBy', defined using corresponding methods on the 'QueryBuilder' type."
3146,tcTryWithMayNotBeUsedInQueries,"'try/with' expressions may not be used in queries"
3147,tcNonSimpleLetBindingInQuery,"This 'let' definition may not be used in a query. Only simple value definitions may be used in queries."
3148,etTooManyStaticParameters,"Too many static parameters. Expected at most %d parameters, but got %d unnamed and %d named parameters."
3149,infosInvalidProvidedLiteralValue,"Invalid provided literal value '%s'"
3150,invalidPlatformTarget,"The 'anycpu32bitpreferred' platform can only be used with EXE targets. You must use 'anycpu' instead."
3151,tcThisValueMayNotBeInlined,"This member, function or value declaration may not be declared 'inline'"
3152,etErasedTypeUsedInGeneration,"The provider '%s' returned a non-generated type '%s' in the context of a set of generated types. Consider adjusting the type provider to only return generated types."
3153,tcUnrecognizedQueryBinaryOperator,"Arguments to query operators may require parentheses, e.g. 'where (x > y)' or 'groupBy (x.Length / 10)'"
3154,invalidPlatformTargetForOldFramework,"The 'anycpu32bitpreferred' platform flag may only be used with .NET Framework versions 4.5 and greater."
3155,crefNoSetOfHole,"A quotation may not involve an assignment to or taking the address of a captured local variable"
nicePrintOtherOverloads1,"+ 1 overload"
nicePrintOtherOverloadsN,"+ %d overloads"
erasedTo,"Erased to"
3156,parsUnfinishedExpression,"Unexpected token '%s' or incomplete expression"
3158,parsAttributeOnIncompleteCode,"Cannot find code target for this attribute, possibly because the code after the attribute is incomplete."
3159,parsTypeNameCannotBeEmpty,"Type name cannot be empty."
3160,buildProblemReadingAssembly,"Problem reading assembly '%s': %s"
3161,tcTPFieldMustBeLiteral,"Invalid provided field. Provided fields of erased provided types must be literals."
loadingDescription,"(loading description...)"
descriptionUnavailable,"(description unavailable...)"
3162,chkTyparMultipleClassConstraints,"A type variable has been constrained by multiple different class types. A type variable may only have one class constraint."
3163,tcMatchMayNotBeUsedWithQuery,"'match' expressions may not be used in queries"
3164,memberOperatorDefinitionWithNonTripleArgument,"Infix operator member '%s' has %d initial argument(s). Expected a tuple of 3 arguments"
3165,cannotResolveNullableOperators,"The operator '%s' cannot be resolved. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'."
3167,tcOperatorRequiresIn,"'%s' must be followed by 'in'. Usage: %s."
3168,parsIllegalMemberVarInObjectImplementation,"Neither 'member val' nor 'override val' definitions are permitted in object expressions."
3169,tcEmptyCopyAndUpdateRecordInvalid,"Copy-and-update record expressions must include at least one field."
3170,parsUnderscoreInvalidFieldName,"'_' cannot be used as field name"
3171,tcGeneratedTypesShouldBeInternalOrPrivate,"The provided types generated by this use of a type provider may not be used from other F# assemblies and should be marked internal or private. Consider using 'type internal TypeName = ...' or 'type private TypeName = ...'."
3172,chkGetterAndSetterHaveSamePropertyType,"A property's getter and setter must have the same type. Property '%s' has getter of type '%s' but setter of type '%s'."
3173,tcRuntimeSuppliedMethodCannotBeUsedInUserCode,"Array method '%s' is supplied by the runtime and cannot be directly used in code. For operations with array elements consider using family of GetArray/SetArray functions from LanguagePrimitives.IntrinsicFunctions module."
3174,tcUnionCaseConstructorDoesNotHaveFieldWithGivenName,"Union case/exception '%s' does not have field named '%s'."
3175,tcUnionCaseFieldCannotBeUsedMoreThanOnce,"Union case/exception field '%s' cannot be used more than once."
3176,tcFieldNameIsUsedModeThanOnce,"Named field '%s' is used more than once."
3176,tcFieldNameConflictsWithGeneratedNameForAnonymousField,"Named field '%s' conflicts with autogenerated name for anonymous field."
3177,tastConstantExpressionOverflow,"This literal expression or attribute argument results in an arithmetic overflow."
3178,tcIllegalStructTypeForConstantExpression,"This is not valid literal expression. The [<Literal>] attribute will be ignored."
3179,fscSystemRuntimeInteropServicesIsRequired,"System.Runtime.InteropServices assembly is required to use UnknownWrapper\DispatchWrapper classes."
3180,abImplicitHeapAllocation,"The mutable local '%s' is implicitly allocated as a reference cell because it has been captured by a closure. This warning is for informational purposes only to indicate where implicit allocations are performed."
estApplyStaticArgumentsForMethodNotImplemented,"A type provider implemented GetStaticParametersForMethod, but ApplyStaticArgumentsForMethod was not implemented or invalid"
3181,etErrorApplyingStaticArgumentsToMethod,"An error occured applying the static arguments to a provided method"
3182,pplexUnexpectedChar,"Unexpected character '%s' in preprocessor expression"
3183,ppparsUnexpectedToken,"Unexpected token '%s' in preprocessor expression"
3184,ppparsIncompleteExpression,"Incomplete preprocessor expression"
3185,ppparsMissingToken,"Missing token '%s' in preprocessor expression"
3186,pickleMissingDefinition,"An error occurred while reading the F# metadata node at position %d in table '%s' of assembly '%s'. The node had no matching declaration. Please report this warning. You may need to recompile the F# assembly you are using."
3187,checkNotSufficientlyGenericBecauseOfScope,"Type inference caused the type variable %s to escape its scope. Consider adding an explicit type parameter declaration or adjusting your code to be less generic."
3188,checkNotSufficientlyGenericBecauseOfScopeAnon,"Type inference caused an inference type variable to escape its scope. Consider adding type annotations to make your code less generic."
3189,checkRaiseFamilyFunctionArgumentCount,"Redundant arguments are being ignored in function '%s'. Expected %d but got %d arguments."
