-
Notifications
You must be signed in to change notification settings - Fork 858
Expand file tree
/
Copy pathFSComp.txt
More file actions
Ignoring revisions in .git-blame-ignore-revs.
1819 lines (1819 loc) · 226 KB
/
FSComp.txt
File metadata and controls
1819 lines (1819 loc) · 226 KB
Edit and raw actions
OlderNewer
1
# -------------------------------------------------------------------------------
2
# use a completely new error number and keep messages in their surrounding groups
3
# -------------------------------------------------------------------------------
4
# Error numbers before 200 are listed in src/Compiler/Driver/CompilerDiagnostics.fs from the line with "member exn.DiagnosticNumber ="
5
undefinedNameNamespace,"The namespace '%s' is not defined."
6
undefinedNameNamespaceOrModule,"The namespace or module '%s' is not defined."
7
undefinedNameFieldConstructorOrMember,"The field, constructor or member '%s' is not defined."
8
undefinedNameFieldConstructorOrMemberWhenTypeIsKnown,"The type '%s' does not define a field, constructor, or member named '%s'."
9
undefinedNameValueConstructorNamespaceOrType,"The value, constructor, namespace or type '%s' is not defined."
10
undefinedNameValueOfConstructor,"The value or constructor '%s' is not defined."
11
undefinedNameValueNamespaceTypeOrModule,"The value, namespace, type or module '%s' is not defined."
12
undefinedNameConstructorModuleOrNamespace,"The constructor, module or namespace '%s' is not defined."
13
undefinedNameType,"The type '%s' is not defined."
14
undefinedNameTypeIn,"The type '%s' is not defined in '%s'."
15
undefinedNameRecordLabelOrNamespace,"The record label or namespace '%s' is not defined."
16
undefinedNameRecordLabel,"The record label '%s' is not defined."
17
undefinedNameSuggestionsIntro,"Maybe you want one of the following:"
18
undefinedNameTypeParameter,"The type parameter %s is not defined."
19
undefinedNamePatternDiscriminator,"The pattern discriminator '%s' is not defined."
20
replaceWithSuggestion,"Replace with '%s'"
21
addIndexerDot,"Add . for indexer access."
22
listElementHasWrongType,"All elements of a list must be implicitly convertible to the type of the first element, which here is '%s'. This element has type '%s'."
23
listElementHasWrongTypeTuple,"All elements of a list must be implicitly convertible to the type of the first element, which here is a tuple of length %d of type\n %s \nThis element is a tuple of length %d of type\n %s \n"
24
arrayElementHasWrongType,"All elements of an array must be implicitly convertible to the type of the first element, which here is '%s'. This element has type '%s'."
25
arrayElementHasWrongTypeTuple,"All elements of an array must be implicitly convertible to the type of the first element, which here is a tuple of length %d of type\n %s \nThis element is a tuple of length %d of type\n %s \n"
26
missingElseBranch,"This 'if' expression is missing an 'else' branch. Because 'if' is an expression, and not a statement, add an 'else' branch which also returns a value of type '%s'."
27
ifExpression,"The 'if' expression needs to have type '%s' to satisfy context type requirements. It currently has type '%s'."
28
ifExpressionTuple,"The 'if' expression needs to return a tuple of length %d of type\n %s \nto satisfy context type requirements. It currently returns a tuple of length %d of type\n %s \n"
29
elseBranchHasWrongType,"All branches of an 'if' expression must return values implicitly convertible to the type of the first branch, which here is '%s'. This branch returns a value of type '%s'."
30
elseBranchHasWrongTypeTuple,"All branches of an 'if' expression must return values implicitly convertible to the type of the first branch, which here is a tuple of length %d of type\n %s \nThis branch returns a tuple of length %d of type\n %s \n"
31
followingPatternMatchClauseHasWrongType,"All branches of a pattern match expression must return values implicitly convertible to the type of the first branch, which here is '%s'. This branch returns a value of type '%s'."
32
followingPatternMatchClauseHasWrongTypeTuple,"All branches of a pattern match expression must return values implicitly convertible to the type of the first branch, which here is a tuple of length %d of type\n %s \nThis branch returns a tuple of length %d of type\n %s \n"
33
patternMatchGuardIsNotBool,"A pattern match guard must be of type 'bool', but this 'when' expression is of type '%s'."
34
commaInsteadOfSemicolonInRecord,"A ';' is used to separate field values in records. Consider replacing ',' with ';'."
35
derefInsteadOfNot,"The '!' operator is used to dereference a ref cell. Consider using 'not expr' here."
36
buildUnexpectedTypeArgs,"The non-generic type '%s' does not expect any type arguments, but here is given %d type argument(s)"
37
returnUsedInsteadOfReturnBang,"Consider using 'return!' instead of 'return'."
38
yieldUsedInsteadOfYieldBang,"Consider using 'yield!' instead of 'yield'."
39
tupleRequiredInAbstractMethod,"\nA tuple type is required for one or more arguments. Consider wrapping the given arguments in additional parentheses or review the definition of the interface."
40
10,parsUnexpectedSymbolDot,"Unexpected symbol '.' in member definition. Expected 'with', '=' or other token."
41
201,tcNamespaceCannotContainValues,"Namespaces cannot contain values. Consider using a module to hold your value declarations."
42
202,unsupportedAttribute,"This attribute is currently unsupported by the F# compiler. Applying it will not achieve its intended effect."
43
203,buildInvalidWarningNumber,"Invalid warning number '%s'"
44
204,buildInvalidVersionString,"Invalid version string '%s'"
45
205,buildInvalidVersionFile,"Invalid version file '%s'"
46
206,buildProblemWithFilename,"Problem with filename '%s': %s"
47
207,buildNoInputsSpecified,"No inputs specified"
48
209,buildPdbRequiresDebug,"The '--pdb' option requires the '--debug' option to be used"
49
210,buildInvalidSearchDirectory,"The search directory '%s' is invalid"
50
211,buildSearchDirectoryNotFound,"The search directory '%s' could not be found"
51
212,buildInvalidFilename,"'%s' is not a valid filename"
52
213,buildInvalidAssemblyName,"'%s' is not a valid assembly name"
53
214,buildInvalidPrivacy,"Unrecognized privacy setting '%s' for managed resource, valid options are 'public' and 'private'"
54
218,buildCannotReadAssembly,"Unable to read assembly '%s'"
55
220,buildAssemblyResolutionFailed,"Assembly resolution failure at or near this location"
56
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."
57
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."
58
222,noEqualSignAfterModule,"Files in libraries or multiple-file applications must begin with a namespace or module declaration. When using a module declaration at the start of a file the '=' sign is not allowed. If this is a top-level module, consider removing the = to resolve this error."
59
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."
60
224,buildOptionRequiresParameter,"Option requires parameter: %s"
61
225,buildCouldNotFindSourceFile,"Source file '%s' could not be found"
62
226,buildInvalidSourceFileExtensionUpdated,"The file extension of '%s' is not recognized. Source files must have extension .fs, .fsi, .fsx or .fsscript"
63
227,buildCouldNotResolveAssembly,"Could not resolve assembly '%s'"
64
229,buildErrorOpeningBinaryFile,"Error opening binary file '%s': %s"
65
231,buildDifferentVersionMustRecompile,"The F#-compiled DLL '%s' needs to be recompiled to be used with this version of F#"
66
232,buildInvalidHashIDirective,"Invalid directive. Expected '#I \"<path>\"'."
67
233,buildInvalidHashrDirective,"Invalid directive. Expected '#r \"<file-or-assembly>\"'."
68
234,buildInvalidHashloadDirective,"Invalid directive. Expected '#load \"<file>\" ... \"<file>\"'."
69
235,buildInvalidHashtimeDirective,"Invalid directive. Expected '#time', '#time \"on\"' or '#time \"off\"'."
70
236,buildDirectivesInModulesAreIgnored,"Directives inside modules are ignored"
71
237,buildSignatureAlreadySpecified,"A signature for the file or module '%s' has already been specified"
72
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."
73
239,buildImplementationAlreadyGiven,"An implementation of the file or module '%s' has already been given"
74
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."
75
241,buildArgInvalidInt,"'%s' is not a valid integer argument"
76
242,buildArgInvalidFloat,"'%s' is not a valid floating point argument"
77
243,buildUnrecognizedOption,"Unrecognized option: '%s'. Use '--help' to learn about recognized command line options."
78
244,buildInvalidModuleOrNamespaceName,"Invalid module or namespace name"
79
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')."
80
245,tastTypeOrModuleNotConcrete,"The type/module '%s' is not a concrete module or type"
81
tastTypeHasAssemblyCodeRepresentation,"The type '%s' has an inline assembly code representation"
82
246,optsUnrecognizedLanguageVersion,"Unrecognized value '%s' for --langversion use --langversion:? for complete list"
83
247,tastNamespaceAndModuleWithSameNameInAssembly,"The name '%s' is used as both a namespace and a module in this assembly. Rename one of them to avoid the conflict."
84
248,tastTwoModulesWithSameNameInAssembly,"Two modules named '%s' occur in two parts of this assembly"
85
249,tastDuplicateTypeDefinitionInAssembly,"Two type definitions named '%s' occur in namespace '%s' in two parts of this assembly"
86
250,tastConflictingModuleAndTypeDefinitionInAssembly,"A module and a type definition named '%s' occur in namespace '%s' in two parts of this assembly"
87
251,tastInvalidMemberSignature,"Invalid member signature encountered because of an earlier error"
88
252,tastValueDoesNotHaveSetterType,"This value does not have a valid property setter type"
89
253,tastInvalidFormForPropertyGetter,"Invalid form for a property getter. At least one '()' argument is required when using the explicit syntax."
90
254,tastInvalidFormForPropertySetter,"Invalid form for a property setter. At least one argument is required."
91
255,tastUnexpectedByRef,"Unexpected use of a byref-typed variable"
92
256,tastValueMustBeMutable,"A value must be mutable in order to mutate the contents or take the address of a value type, e.g. 'let mutable x = ...'"
93
257,tastInvalidMutationOfConstant,"Invalid mutation of a constant expression. Consider copying the expression to a mutable local, e.g. 'let mutable x = ...'."
94
tastValueHasBeenCopied,"The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a member and another member is then accessed"
95
259,tastRecursiveValuesMayNotBeInConstructionOfTuple,"Recursively defined values cannot appear directly as part of the construction of a tuple value within a recursive binding"
96
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."
97
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."
98
tastUnexpectedDecodeOfAutoOpenAttribute,"Unexpected decode of AutoOpenAttribute"
99
tastUnexpectedDecodeOfInternalsVisibleToAttribute,"Unexpected decode of InternalsVisibleToAttribute"
100
tastUnexpectedDecodeOfInterfaceDataVersionAttribute,"Unexpected decode of InterfaceDataVersionAttribute"
101
265,tastActivePatternsLimitedToSeven,"Active patterns cannot return more than 7 possibilities"
102
267,tastNotAConstantExpression,"This is not a valid constant expression or custom attribute value"
103
ValueNotContainedMutabilityAttributesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe mutability attributes differ"
104
ValueNotContainedMutabilityNamesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe names differ"
105
ValueNotContainedMutabilityCompiledNamesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe compiled names differ"
106
ValueNotContainedMutabilityDisplayNamesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe display names differ"
107
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"
108
ValueNotContainedMutabilityInlineFlagsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe inline flags differ"
109
ValueNotContainedMutabilityLiteralConstantValuesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe literal constant values and/or attributes differ"
110
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."
111
ValueNotContainedMutabilityParameterCountsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe respective type parameter counts differ"
112
ValueNotContainedMutabilityTypesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe types differ"
113
ValueNotContainedMutabilityTypesDifferNullness,"Nullness warning: Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe types differ in their nullness annotations"
114
ValueNotContainedMutabilityExtensionsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is an extension member and the other is not"
115
ValueNotContainedMutabilityArityNotInferred,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nAn arity was not inferred for this value"
116
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"
117
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."
118
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."
119
ValueNotContainedMutabilityDotNetNamesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe CLI member names differ"
120
ValueNotContainedMutabilityStaticsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is static and the other isn't"
121
ValueNotContainedMutabilityVirtualsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is virtual and the other isn't"
122
ValueNotContainedMutabilityAbstractsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is abstract and the other isn't"
123
ValueNotContainedMutabilityFinalsDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is final and the other isn't"
124
ValueNotContainedMutabilityOverridesDiffer,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is marked as an override and the other isn't"
125
ValueNotContainedMutabilityOneIsConstructor,"Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is a constructor/property and the other is not"
126
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"
127
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"
128
290,DefinitionsInSigAndImplNotCompatibleNamesDiffer,"The %s definitions in the signature and implementation are not compatible because the names differ. The type is called '%s' in the signature file but '%s' in implementation."
129
291,DefinitionsInSigAndImplNotCompatibleParameterCountsDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the respective type parameter counts differ"
130
292,DefinitionsInSigAndImplNotCompatibleAccessibilityDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the accessibility specified in the signature is more than that specified in the implementation"
131
293,DefinitionsInSigAndImplNotCompatibleMissingInterface,"The %s definitions for type '%s' 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"
132
294,DefinitionsInSigAndImplNotCompatibleImplementationSaysNull,"The %s definitions for type '%s' 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"
133
294,DefinitionsInSigAndImplNotCompatibleImplementationSaysNull2,"The %s definitions for type '%s' 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"
134
295,DefinitionsInSigAndImplNotCompatibleSignatureSaysNull,"The %s definitions for type '%s' 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"
135
295,DefinitionsInSigAndImplNotCompatibleSignatureSaysNull2,"The %s definitions for type '%s' 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"
136
296,DefinitionsInSigAndImplNotCompatibleImplementationSealed,"The %s definitions for type '%s' 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."
137
297,DefinitionsInSigAndImplNotCompatibleImplementationIsNotSealed,"The %s definitions for type '%s' 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."
138
298,DefinitionsInSigAndImplNotCompatibleImplementationIsAbstract,"The %s definitions for type '%s' 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."
139
299,DefinitionsInSigAndImplNotCompatibleSignatureIsAbstract,"The %s definitions for type '%s' 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."
140
300,DefinitionsInSigAndImplNotCompatibleTypesHaveDifferentBaseTypes,"The %s definitions for type '%s' in the signature and implementation are not compatible because the types have different base types"
141
301,DefinitionsInSigAndImplNotCompatibleNumbersDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the number of %ss differ"
142
302,DefinitionsInSigAndImplNotCompatibleSignatureDefinesButImplDoesNot,"The %s definitions for type '%s' 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)"
143
303,DefinitionsInSigAndImplNotCompatibleImplDefinesButSignatureDoesNot,"The %s definitions for type '%s' 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)"
144
304,DefinitionsInSigAndImplNotCompatibleImplDefinesStruct,"The %s definitions for type '%s' in the signature and implementation are not compatible because the implementation defines a struct but the signature defines a type with a hidden representation"
145
305,DefinitionsInSigAndImplNotCompatibleDotNetTypeRepresentationIsHidden,"The %s definitions for type '%s' in the signature and implementation are not compatible because a CLI type representation is being hidden by a signature"
146
306,DefinitionsInSigAndImplNotCompatibleTypeIsHidden,"The %s definitions for type '%s' in the signature and implementation are not compatible because a type representation is being hidden by a signature"
147
307,DefinitionsInSigAndImplNotCompatibleTypeIsDifferentKind,"The %s definitions for type '%s' in the signature and implementation are not compatible because the types are of different kinds"
148
308,DefinitionsInSigAndImplNotCompatibleILDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the IL representations differ"
149
309,DefinitionsInSigAndImplNotCompatibleRepresentationsDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the representations differ"
150
311,DefinitionsInSigAndImplNotCompatibleFieldWasPresent,"The %s definitions for type '%s' in the signature and implementation are not compatible because the field %s was present in the implementation but not in the signature"
151
312,DefinitionsInSigAndImplNotCompatibleFieldOrderDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the order of the fields is different in the signature and implementation"
152
313,DefinitionsInSigAndImplNotCompatibleFieldRequiredButNotSpecified,"The %s definitions for type '%s' in the signature and implementation are not compatible because the field %s was required by the signature but was not specified by the implementation"
153
314,DefinitionsInSigAndImplNotCompatibleFieldIsInImplButNotSig,"The %s definitions for type '%s' 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'."
154
315,DefinitionsInSigAndImplNotCompatibleAbstractMemberMissingInImpl,"The %s definitions for type '%s' 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"
155
316,DefinitionsInSigAndImplNotCompatibleAbstractMemberMissingInSig,"The %s definitions for type '%s' in the signature and implementation are not compatible because the abstract member '%s' was present in the implementation but not in the signature"
156
317,DefinitionsInSigAndImplNotCompatibleSignatureDeclaresDiffer,"The %s definitions for type '%s' in the signature and implementation are not compatible because the signature declares a %s while the implementation declares a %s"
157
319,DefinitionsInSigAndImplNotCompatibleAbbreviationHiddenBySig,"The %s definitions for type '%s' 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."
158
320,DefinitionsInSigAndImplNotCompatibleSigHasAbbreviation,"The %s definitions for type '%s' in the signature and implementation are not compatible because the signature has an abbreviation while the implementation does not"
159
ModuleContainsConstructorButNamesDiffer,"The module contains the constructor\n %s \nbut its signature specifies\n %s \nThe names differ"
160
ModuleContainsConstructorButDataFieldsDiffer,"The module contains the constructor\n %s \nbut its signature specifies\n %s \nThe respective number of data fields differ"
161
ModuleContainsConstructorButTypesOfFieldsDiffer,"The module contains the constructor\n %s \nbut its signature specifies\n %s \nThe types of the fields differ"
162
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"
163
FieldNotContainedNamesDiffer,"The module contains the field\n %s \nbut its signature specifies\n %s \nThe names differ"
164
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"
165
FieldNotContainedStaticsDiffer,"The module contains the field\n %s \nbut its signature specifies\n %s \nThe 'static' modifiers differ"
166
FieldNotContainedMutablesDiffer,"The module contains the field\n %s \nbut its signature specifies\n %s \nThe 'mutable' modifiers differ"
167
FieldNotContainedLiteralsDiffer,"The module contains the field\n %s \nbut its signature specifies\n %s \nThe 'literal' modifiers differ"
168
FieldNotContainedTypesDiffer,"The module contains the field\n %s \nbut its signature specifies\n %s \nThe types differ"
169
FieldNotContainedTypesDifferNullness,"Nullness warning: The module contains the field\n %s \nbut its signature specifies\n %s \nThe types differ in their nullness annotations"
170
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"
171
333,typrelCannotResolveAmbiguityInPrintf,"Could not resolve the ambiguity inherent in the use of a 'printf'-style format string"
172
334,typrelCannotResolveAmbiguityInEnum,"Could not resolve the ambiguity in the use of a generic construct with an 'enum' constraint at or near this position"
173
335,typrelCannotResolveAmbiguityInDelegate,"Could not resolve the ambiguity in the use of a generic construct with a 'delegate' constraint at or near this position"
174
337,typrelInvalidValue,"Invalid value"
175
338,typrelSigImplNotCompatibleParamCountsDiffer,"The signature and implementation are not compatible because the respective type parameter counts differ"
176
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"
177
340,typrelSigImplNotCompatibleConstraintsDiffer,"The signature and implementation are not compatible because the declaration of the type parameter '%s' requires a constraint of the form %s"
178
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."
179
342,typrelTypeImplementsIComparableShouldOverrideObjectEquals,"The type '%s' implements 'System.IComparable'. Consider also adding an explicit override for 'Object.Equals'"
180
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"
181
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"
182
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)'"
183
346,typrelExplicitImplementationOfEquals,"The struct, record or union type '%s' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()'"
184
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"
185
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"
186
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."
187
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."
188
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."
189
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."
190
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."
191
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."
192
355,typrelModuleNamespaceAttributesDifferInSigAndImpl,"The namespace or module attributes differ between signature and implementation"
193
356,typrelMethodIsOverconstrained,"This method is over-constrained in its type parameters"
194
357,typrelOverloadNotFound,"No implementations of '%s' had the correct number of arguments and type parameters. The required signature is '%s'."
195
358,typrelOverrideWasAmbiguous,"The override for '%s' was ambiguous"
196
359,typrelMoreThenOneOverride,"More than one override implements '%s'"
197
360,typrelMethodIsSealed,"The method '%s' is sealed and cannot be overridden"
198
361,typrelOverrideImplementsMoreThenOneSlot,"The override '%s' implements more than one abstract slot, e.g. '%s' and '%s'"
199
362,typrelDuplicateInterface,"Duplicate or redundant interface"
200
363,typrelNeedExplicitImplementation,"The interface '%s' is included in multiple explicitly implemented interface types. Add an explicit implementation of this interface."
201
364,typrelNamedArgumentHasBeenAssignedMoreThenOnce,"The named argument '%s' has been assigned more than one value"
202
365,typrelNoImplementationGiven,"No implementation was given for '%s'"
203
365,typrelNoImplementationGivenSeveral,"No implementation was given for those members: %s"
204
365,typrelNoImplementationGivenSeveralTruncated,"No implementation was given for those members (some results omitted): %s"
205
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 ...'."
206
366,typrelNoImplementationGivenSeveralWithSuggestion,"No implementation was given for those members: %sNote that all interface members must be implemented and listed under an appropriate 'interface' declaration, e.g. 'interface ... with member ...'."
207
366,typrelNoImplementationGivenSeveralTruncatedWithSuggestion,"No implementation was given for those members (some results omitted): %sNote that all interface members must be implemented and listed under an appropriate 'interface' declaration, e.g. 'interface ... with member ...'."
208
367,typrelMemberDoesNotHaveCorrectNumberOfArguments,"The member '%s' does not have the correct number of arguments. The required signature is '%s'."
209
368,typrelMemberDoesNotHaveCorrectNumberOfTypeParameters,"The member '%s' does not have the correct number of method type parameters. The required signature is '%s'."
210
369,typrelMemberDoesNotHaveCorrectKindsOfGenericParameters,"The member '%s' does not have the correct kinds of generic parameters. The required signature is '%s'."
211
370,typrelMemberCannotImplement,"The member '%s' cannot be used to implement '%s'. The required signature is '%s'."
212
371,astParseEmbeddedILError,"Error while parsing embedded IL"
213
372,astParseEmbeddedILTypeError,"Error while parsing embedded IL type"
214
astDeprecatedIndexerNotation,"This indexer notation has been removed from the F# language"
215
374,astInvalidExprLeftHandOfAssignment,"Invalid expression on left of assignment"
216
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)'."
217
377,augInvalidAttrs,"This type uses an invalid mix of the attributes 'NoEquality', 'ReferenceEquality', 'StructuralEquality', 'NoComparison' and 'StructuralComparison'"
218
378,augNoEqualityNeedsNoComparison,"The 'NoEquality' attribute must be used in conjunction with the 'NoComparison' attribute"
219
379,augStructCompNeedsStructEquality,"The 'StructuralComparison' attribute must be used in conjunction with the 'StructuralEquality' attribute"
220
380,augStructEqNeedsNoCompOrStructComp,"The 'StructuralEquality' attribute must be used in conjunction with the 'NoComparison' or 'StructuralComparison' attributes"
221
381,augTypeCantHaveRefEqAndStructAttrs,"A type cannot have both the 'ReferenceEquality' and 'StructuralEquality' or 'StructuralComparison' attributes"
222
382,augOnlyCertainTypesCanHaveAttrs,"Only record, union, exception and struct types may be augmented with the 'ReferenceEquality', 'StructuralEquality' and 'StructuralComparison' attributes"
223
383,augRefEqCantHaveObjEquals,"A type with attribute 'ReferenceEquality' cannot have an explicit implementation of 'Object.Equals(obj)', 'System.IEquatable<_>' or 'System.Collections.IStructuralEquatable'"
224
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'"
225
385,augCustomCompareNeedsIComp,"A type with attribute 'CustomComparison' must have an explicit implementation of at least one of 'System.IComparable' or 'System.Collections.IStructuralComparable'"
226
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"
227
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"
228
387,augCustomEqNeedsNoCompOrCustomComp,"The 'CustomEquality' attribute must be used in conjunction with the 'NoComparison' or 'CustomComparison' attributes"
229
forPositionalSpecifiersNotPermitted,"Positional specifiers are not permitted in format strings"
230
forMissingFormatSpecifier,"Missing format specifier"
231
forFlagSetTwice,"'%s' flag set twice"
232
forPrefixFlagSpacePlusSetTwice,"Prefix flag (' ' or '+') set twice"
233
forHashSpecifierIsInvalid,"The # formatting modifier is invalid in F#"
234
forBadPrecision,"Bad precision in format specifier"
235
forBadWidth,"Bad width in format specifier"
236
forDoesNotSupportZeroFlag,"'%s' format does not support '0' flag"
237
forPrecisionMissingAfterDot,"Precision missing after the '.'"
238
forFormatDoesntSupportPrecision,"'%s' format does not support precision"
239
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."
240
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."
241
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."
242
forDoesNotSupportPrefixFlag,"'%s' does not support prefix '%s' flag"
243
forBadFormatSpecifierGeneral,"Bad format specifier: '%s'"
244
forPercentAInReflectionFreeCode,"The '%%A' format specifier may not be used in an assembly being compiled with option '--reflectionfree'. This construct implicitly uses reflection."
245
elSysEnvExitDidntExit,"System.Environment.Exit did not exit"
246
elDeprecatedOperator,"The treatment of this operator is now handled directly by the F# compiler and its meaning cannot be redefined"
247
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."
248
406,chkByrefUsedInInvalidWay,"The byref-typed variable '%s' is used in an invalid way. Byrefs cannot be captured by closures or passed to inner functions."
249
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."
250
chkVariableUsedInInvalidWay,"The variable '%s' is used in an invalid way"
251
410,chkTypeLessAccessibleThanType,"The type '%s' is less accessible than the value, member or type '%s' it is used in."
252
411,chkSystemVoidOnlyInTypeof,"'System.Void' can only be used as 'typeof<System.Void>' in F#"
253
412,chkErrorUseOfByref,"A type instantiation involves a byref type. This is not permitted by the rules of Common IL."
254
413,chkErrorContainsCallToRethrow,"Calls to 'reraise' may only occur directly in a handler of a try-with"
255
414,chkSplicingOnlyInQuotations,"Expression-splicing operators may only be used within quotations"
256
415,chkNoFirstClassSplicing,"First-class uses of the expression-splicing operator are not permitted"
257
416,chkNoFirstClassAddressOf,"First-class uses of the address-of operators are not permitted"
258
417,chkNoFirstClassRethrow,"First-class uses of the 'reraise' function is not permitted"
259
418,chkNoByrefAtThisPoint,"The byref typed value '%s' cannot be used at this point"
260
419,chkLimitationsOfBaseKeyword,"'base' values may only be used to make direct calls to the base implementations of overridden members"
261
#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."
262
421,chkNoAddressOfAtThisPoint,"The address of the variable '%s' cannot be used at this point"
263
422,chkNoAddressStaticFieldAtThisPoint,"The address of the static field '%s' cannot be used at this point"
264
423,chkNoAddressFieldAtThisPoint,"The address of the field '%s' cannot be used at this point"
265
424,chkNoAddressOfArrayElementAtThisPoint,"The address of an array element cannot be used at this point"
266
425,chkFirstClassFuncNoByref,"The type of a first-class function cannot contain byrefs"
267
426,chkReturnTypeNoByref,"A method return type would contain byrefs which is not permitted"
268
428,chkInvalidCustAttrVal,"Invalid custom attribute value (not a constant or literal)"
269
429,chkAttrHasAllowMultiFalse,"The attribute type '%s' has 'AllowMultiple=false'. Multiple instances of this attribute cannot be attached to a single language element."
270
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."
271
431,chkNoByrefAsTopValue,"A byref typed value would be stored here. Top-level let-bound byref values are not permitted."
272
432,chkReflectedDefCantSplice,"[<ReflectedDefinition>] terms cannot contain uses of the prefix splice operator '%%'"
273
433,chkEntryPointUsage,"A function labeled with the 'EntryPointAttribute' attribute must be the last declaration in the last file in the compilation sequence."
274
chkUnionCaseCompiledForm,"compiled form of the union case"
275
chkUnionCaseDefaultAugmentation,"default augmentation of the union case"
276
434,chkPropertySameNameMethod,"The property '%s' has the same name as a method in type '%s'."
277
435,chkGetterSetterDoNotMatchAbstract,"The property '%s' of type '%s' has a getter and a setter that do not match. If one is abstract then the other must be as well."
278
436,chkPropertySameNameIndexer,"The property '%s' has the same name as another property in type '%s', but one takes indexer arguments and the other does not. You may be missing an indexer argument to one of your properties."
279
437,chkCantStoreByrefValue,"A type would store a byref typed value. This is not permitted by Common IL."
280
438,chkDuplicateMethod,"Duplicate method. The method '%s' has the same name and signature as another method in type '%s'."
281
438,chkDuplicateMethodWithSuffix,"Duplicate method. The method '%s' has the same name and signature as another method in type '%s' once tuples, functions, units of measure and/or provided types are erased."
282
439,chkDuplicateMethodCurried,"The method '%s' has curried arguments but has the same name as another method in type '%s'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments."
283
440,chkCurriedMethodsCantHaveOutParams,"Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition', 'byref', 'CallerLineNumber', 'CallerMemberName', or 'CallerFilePath' arguments"
284
441,chkDuplicateProperty,"Duplicate property. The property '%s' has the same name and signature as another property in type '%s'."
285
441,chkDuplicatePropertyWithSuffix,"Duplicate property. The property '%s' has the same name and signature as another property in type '%s' once tuples, functions, units of measure and/or provided types are erased."
286
442,chkDuplicateMethodInheritedType,"Duplicate method. The abstract method '%s' has the same name and signature as an abstract method in an inherited type."
287
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."
288
443,chkMultipleGenericInterfaceInstantiations,"This type implements the same interface at different generic instantiations '%s' and '%s'. This is not permitted in this version of F#."
289
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"
290
445,chkNoByrefInTypeAbbrev,"The type abbreviation contains byrefs. This is not permitted by F#."
291
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."
292
447,crefQuotationsCantContainGenericExprs,"Quotations cannot contain uses of generic expressions"
293
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."
294
449,crefQuotationsCantContainObjExprs,"Quotations cannot contain object expressions"
295
450,crefQuotationsCantContainAddressOf,"Quotations cannot contain expressions that take the address of a field"
296
451,crefQuotationsCantContainStaticFieldRef,"Quotations cannot contain expressions that fetch static fields"
297
452,crefQuotationsCantContainInlineIL,"Quotations cannot contain inline assembly code or pattern matching on arrays"
298
453,crefQuotationsCantContainDescendingForLoops,"Quotations cannot contain descending for loops"
299
454,crefQuotationsCantFetchUnionIndexes,"Quotations cannot contain expressions that fetch union case indexes"
300
455,crefQuotationsCantSetUnionFields,"Quotations cannot contain expressions that set union case fields"
301
456,crefQuotationsCantSetExceptionFields,"Quotations cannot contain expressions that set fields in exception values"
302
457,crefQuotationsCantRequireByref,"Quotations cannot contain expressions that require byref pointers"
303
458,crefQuotationsCantCallTraitMembers,"Quotations cannot contain expressions that make member constraint calls, or uses of operators that implicitly resolve to a member constraint call"
304
459,crefQuotationsCantContainThisConstant,"Quotations cannot contain this kind of constant"
305
460,crefQuotationsCantContainThisPatternMatch,"Quotations cannot contain this kind of pattern match"
306
461,crefQuotationsCantContainArrayPatternMatching,"Quotations cannot contain array pattern matching"
307
462,crefQuotationsCantContainThisType,"Quotations cannot contain this kind of type"
308
csTypeCannotBeResolvedAtCompileTime,"The declared type parameter '%s' cannot be used here since the type parameter cannot be resolved at compile time"
309
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 '_'."
310
465,csTypeInferenceMaxDepth,"Type inference problem too complicated (maximum iteration depth reached). Consider adding further type annotations."
311
csExpectedArguments,"Expected arguments to an instance member"
312
csIndexArgumentMismatch,"This indexer expects %d arguments but is here given %d"
313
csExpectTypeWithOperatorButGivenFunction,"Expecting a type supporting the operator '%s' but given a function type. You may be missing an argument to a function, or the operator may not be in scope. Check that you have opened the correct module or namespace."
314
csExpectTypeWithOperatorButGivenTuple,"Operator '%s' cannot be applied to a tuple type. You may have an unintended extra comma creating a tuple, or the operator may not be in scope. Check that you have opened the correct module or namespace."
315
csTypesDoNotSupportOperator,"None of the types '%s' support the operator '%s'"
316
csTypeDoesNotSupportOperator,"The type '%s' does not support the operator '%s'"
317
csFunctionDoesNotSupportType,"'%s' does not support the type '%s', because the latter lacks the required (real or built-in) member '%s'"
318
csTypesDoNotSupportOperatorNullable,"None of the types '%s' support the operator '%s'. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'."
319
csTypeDoesNotSupportOperatorNullable,"The type '%s' does not support the operator '%s'. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'."
320
csTypeDoesNotSupportConversion,"The type '%s' does not support a conversion to the type '%s'"
321
csMethodFoundButIsStatic,"The type '%s' has a method '%s' (full name '%s'), but the method is static"
322
csMethodFoundButIsNotStatic,"The type '%s' has a method '%s' (full name '%s'), but the method is not static"
323
472,csStructConstraintInconsistent,"The constraints 'struct' and 'not struct' are inconsistent"
324
473,csUnmanagedConstraintInconsistent,"The constraints 'unmanaged' and 'not struct' are inconsistent"
325
474,csComparisonDelegateConstraintInconsistent,"The constraints 'comparison' and 'delegate' are inconsistent"
326
475,csNullStructConstraintInconsistent,"The constraints 'struct' and 'null' are inconsistent"
327
csTypeDoesNotHaveNull,"The type '%s' does not have 'null' as a proper value"
328
csNullableTypeDoesNotHaveNull,"The type '%s' does not have 'null' as a proper value. To create a null value for a Nullable type use 'System.Nullable()'."
329
csTypeDoesNotSupportComparison1,"The type '%s' does not support the 'comparison' constraint because it has the 'NoComparison' attribute"
330
csTypeDoesNotSupportComparison2,"The type '%s' does not support the 'comparison' constraint. For example, it does not support the 'System.IComparable' interface"
331
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"
332
csTypeDoesNotSupportEquality1,"The type '%s' does not support the 'equality' constraint because it has the 'NoEquality' attribute"
333
csTypeDoesNotSupportEquality2,"The type '%s' does not support the 'equality' constraint because it is a function type"
334
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"
335
csTypeIsNotEnumType,"The type '%s' is not a CLI enum type"
336
csTypeHasNonStandardDelegateType,"The type '%s' has a non-standard delegate type"
337
csTypeIsNotDelegateType,"The type '%s' is not a CLI delegate type"
338
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."
339
csGenericConstructRequiresStructType,"A generic construct requires that the type '%s' is a CLI or F# struct type"
340
csGenericConstructRequiresUnmanagedType,"A generic construct requires that the type '%s' is an unmanaged type"
341
csTypeNotCompatibleBecauseOfPrintf,"The type '%s' is not compatible with any of the types %s, arising from the use of a printf-style format string"
342
csGenericConstructRequiresReferenceSemantics,"A generic construct requires that the type '%s' have reference semantics, but it does not, i.e. it is a struct"
343
csGenericConstructRequiresNonAbstract,"A generic construct requires that the type '%s' be non-abstract"
344
csGenericConstructRequiresPublicDefaultConstructor,"A generic construct requires that the type '%s' have a public default constructor"
345
csGenericConstructRequiresStructOrReferenceConstraint,"A generic construct requires that a generic type parameter be known as a struct or reference type. Consider adding a type annotation."
346
483,csTypeInstantiationLengthMismatch,"Type instantiation length mismatch"
347
484,csOptionalArgumentNotPermittedHere,"Optional arguments not permitted here"
348
485,csMemberIsNotStatic,"%s is not a static member"
349
486,csMemberIsNotInstance,"%s is not an instance member"
350
487,csArgumentLengthMismatch,"Argument length mismatch"
351
488,csArgumentTypesDoNotMatch,"The argument types don't match"
352
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"
353
490,csMemberIsNotAccessible,"The member or object constructor '%s' is not %s"
354
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."
355
492,csMethodIsNotAStaticMethod,"%s is not a static method"
356
493,csMethodIsNotAnInstanceMethod,"%s is not an instance method"
357
csMemberHasNoArgumentOrReturnProperty,"The member or object constructor '%s' has no argument or settable return property '%s'. %s."
358
csCtorHasNoArgumentOrReturnProperty,"The object constructor '%s' has no argument or settable return property '%s'. %s."
359
495,csRequiredSignatureIs,"The required signature is %s"
360
496,csMemberSignatureMismatch,"The member or object constructor '%s' requires %d argument(s). The required signature is '%s'."
361
497,csMemberSignatureMismatch2,"The member or object constructor '%s' requires %d additional argument(s). The required signature is '%s'."
362
498,csMemberSignatureMismatch3,"The member or object constructor '%s' requires %d argument(s). The required signature is '%s'. Some names for missing arguments are %s."
363
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."
364
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'."
365
501,csMemberSignatureMismatchArity,"The member or object constructor '%s' takes %d argument(s) but is here given %d. The required signature is '%s'."
366
501,csCtorSignatureMismatchArity,"The object constructor '%s' takes %d argument(s) but is here given %d. The required signature is '%s'."
367
501,csCtorSignatureMismatchArityProp,"The object constructor '%s' takes %d argument(s) but is here given %d. The required signature is '%s'. If some of the arguments are meant to assign values to properties, consider separating those arguments with a comma (',')."
368
502,csMemberSignatureMismatchArityType,"The member or object constructor '%s' takes %d type argument(s) but is here given %d. The required signature is '%s'."
369
503,csMemberNotAccessible,"A member or object constructor '%s' taking %d arguments is not accessible from this code location. All accessible versions of method '%s' take %d arguments."
370
504,csIncorrectGenericInstantiation,"Incorrect generic instantiation. No %s member named '%s' takes %d generic arguments."
371
505,csMemberOverloadArityMismatch,"The member or object constructor '%s' does not take %d argument(s). An overload was found taking %d arguments."
372
506,csNoMemberTakesTheseArguments,"No %s member or object constructor named '%s' takes %d arguments"
373
507,csNoMemberTakesTheseArguments2,"No %s member or object constructor named '%s' takes %d arguments. Note the call to this member also provides %d named arguments."
374
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."
375
509,csMethodNotFound,"Method or object constructor '%s' not found"
376
csNoOverloadsFound,"No overloads match for method '%s'."
377
csNoOverloadsFoundArgumentsPrefixSingular,"Known type of argument: %s"
378
csNoOverloadsFoundArgumentsPrefixPlural,"Known types of arguments: %s"
379
csNoOverloadsFoundTypeParametersPrefixSingular,"Known type parameter: %s"
380
csNoOverloadsFoundTypeParametersPrefixPlural,"Known type parameters: %s"
381
csNoOverloadsFoundReturnType,"Known return type: %s"
382
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."
383
csCandidates,"Candidates:\n%s"
384
csAvailableOverloads,"Available overloads:\n%s"
385
csOverloadCandidateNamedArgumentTypeMismatch,"Argument '%s' doesn't match"
386
csOverloadCandidateIndexedArgumentTypeMismatch,"Argument at index %d doesn't match"
387
512,parsDoCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on 'do' bindings, but '%s' was given."
388
513,parsEofInHashIf,"End of file in #if section begun at or after here"
389
514,parsEofInString,"End of file in string begun at or before here"
390
515,parsEofInVerbatimString,"End of file in verbatim string begun at or before here"
391
516,parsEofInComment,"End of file in comment begun at or before here"
392
517,parsEofInStringInComment,"End of file in string embedded in comment begun at or before here"
393
518,parsEofInVerbatimStringInComment,"End of file in verbatim string embedded in comment begun at or before here"
394
520,parsEofInDirective,"End of file in directive begun at or before here"
395
521,parsNoHashEndIfFound,"No #endif found for #if or #else"
396
522,parsAttributesIgnored,"Attributes have been ignored in this construct"
397
523,parsUseBindingsIllegalInImplicitClassConstructors,"'use' bindings are not permitted in primary constructors"
398
524,parsUseBindingsIllegalInModules,"'use' bindings are not permitted in modules and are treated as 'let' bindings"
399
525,parsIntegerForLoopRequiresSimpleIdentifier,"An integer for loop must use a simple identifier"
400
526,parsOnlyOneWithAugmentationAllowed,"At most one 'with' augmentation is permitted"
401
527,parsUnexpectedSemicolon,"A semicolon is not expected at this point"
402
528,parsUnexpectedEndOfFile,"Unexpected end of input"
403
529,parsUnexpectedVisibilityDeclaration,"Accessibility modifiers are not permitted here, but '%s' was given."
404
530,parsOnlyHashDirectivesAllowed,"Only '#' compiler directives may occur prior to the first 'namespace' declaration"
405
531,parsVisibilityDeclarationsShouldComePriorToIdentifier,"Accessibility modifiers should come immediately prior to the identifier naming a construct"
406
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 = ...'"
407
534,parsModuleAbbreviationMustBeSimpleName,"A module abbreviation must be a simple name, not a path"
408
535,parsIgnoreAttributesOnModuleAbbreviation,"Ignoring attributes on module abbreviation"
409
536,parsIgnoreAttributesOnModuleAbbreviationAlwaysPrivate,"The '%s' accessibility attribute is not allowed on module abbreviation. Module abbreviations are always private."
410
537,parsIgnoreVisibilityOnModuleAbbreviationAlwaysPrivate,"The '%s' visibility attribute is not allowed on module abbreviation. Module abbreviations are always private."
411
538,parsUnClosedBlockInHashLight,"Unclosed block"
412
539,parsUnmatchedBeginOrStruct,"Unmatched 'begin' or 'struct'"
413
541,parsModuleDefnMustBeSimpleName,"A module name must be a simple name, not a path"
414
542,parsUnexpectedEmptyModuleDefn,"Unexpected empty type moduleDefn list"
415
parsAttributesMustComeBeforeVal,"Attributes should be placed before 'val'"
416
543,parsAttributesAreNotPermittedOnInterfaceImplementations,"Attributes are not permitted on interface implementations"
417
544,parsSyntaxError,"Syntax error"
418
545,parsAugmentationsIllegalOnDelegateType,"Augmentations are not permitted on delegate type moduleDefns"
419
546,parsUnmatchedClassInterfaceOrStruct,"Unmatched 'class', 'interface' or 'struct'"
420
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'."
421
550,parsUnmatchedWith,"Unmatched 'with' or badly formatted 'with' block"
422
551,parsGetOrSetRequired,"'get', 'set' or 'get,set' required"
423
552,parsOnlyClassCanTakeValueArguments,"Only class types may take value arguments"
424
553,parsUnmatchedBegin,"Unmatched 'begin'"
425
554,parsInvalidDeclarationSyntax,"Invalid declaration syntax"
426
555,parsGetAndOrSetRequired,"'get' and/or 'set' required"
427
556,parsTypeAnnotationsOnGetSet,"Type annotations on property getters and setters must be given after the 'get()' or 'set(v)', e.g. 'with get() : string = ...'"
428
557,parsGetterMustHaveAtLeastOneArgument,"A getter property is expected to be a function, e.g. 'get() = ...' or 'get(index) = ...'"
429
558,parsMultipleAccessibilitiesForGetSet,"When the visibility for a property is specified, setting the visibility of the set or get method is not allowed."
430
559,parsSetSyntax,"Property setters must be defined using 'set value = ', 'set idx value = ' or 'set (idx1,...,idxN) value = ... '"
431
560,parsInterfacesHaveSameVisibilityAsEnclosingType,"Interfaces always have the same visibility as the enclosing type"
432
561,parsAccessibilityModsIllegalForAbstract,"Accessibility modifiers are not allowed on this member. Abstract slots always have the same visibility as the enclosing type."
433
562,parsAttributesIllegalOnInherit,"Attributes are not permitted on 'inherit' declarations"
434
563,parsVisibilityIllegalOnInherit,"Accessibility modifiers are not permitted on an 'inherits' declaration"
435
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."
436
565,parsAttributesIllegalHere,"Attributes are not allowed here"
437
566,parsTypeAbbreviationsCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted in this position for type abbreviations"
438
567,parsEnumTypesCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted in this position for enum types"
439
568,parsAllEnumFieldsRequireValues,"All enum fields must be given values"
440
569,parsInlineAssemblyCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on inline assembly code types"
441
571,parsUnexpectedIdentifier,"Unexpected identifier: '%s'"
442
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."
443
573,parsEnumFieldsCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on enumeration fields"
444
parsConsiderUsingSeparateRecordType,"Consider using a separate record type instead"
445
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."
446
576,parsLetAndForNonRecBindings,"The declaration form 'let ... and ...' for non-recursive bindings is not used in F# code. Consider using a sequence of 'let' bindings"
447
583,parsUnmatchedParen,"Unmatched '('"
448
584,parsSuccessivePatternsShouldBeSpacedOrTupled,"Successive patterns should be separated by spaces or tupled"
449
586,parsNoMatchingInForLet,"No matching 'in' found for this 'let'"
450
587,parsErrorInReturnForLetIncorrectIndentation,"Error in the return expression for this 'let'. Possible incorrect indentation."
451
588,parsExpectedExpressionAfterLet,"The block following this '%s' is unfinished. Every code block is an expression and must have a result. '%s' cannot be the final code element in a block. Consider giving this block an explicit result."
452
589,parsIncompleteIf,"Incomplete conditional. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'."
453
590,parsAssertIsNotFirstClassValue,"'assert' may not be used as a first class value. Use 'assert <expr>' instead."
454
594,parsIdentifierExpected,"Identifier expected"
455
595,parsInOrEqualExpected,"'in' or '=' expected"
456
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."
457
597,parsSuccessiveArgsShouldBeSpacedOrTupled,"This argument expression needs parentheses. Expressions involving function or method calls must be parenthesized when passed as arguments, e.g. 'printfn \"%%s\" (arg.Trim())'."
458
598,parsUnmatchedBracket,"Unmatched '['"
459
599,parsMissingQualificationAfterDot,"Missing qualification after '.'"
460
parsParenFormIsForML,"In F# code you may use 'expr.[expr]'. A type annotation may be required to indicate the first expression is an array"
461
601,parsMismatchedQuote,"Mismatched quotation, beginning with '%s'"
462
602,parsUnmatched,"Unmatched '%s'"
463
603,parsUnmatchedBracketBar,"Unmatched '[|'"
464
604,parsUnmatchedBrace,"Unmatched '{{'"
465
605,parsUnmatchedBraceBar,"Unmatched '{{|'"
466
609,parsFieldBinding,"Field bindings must have the form 'id = expr;'"
467
610,parsMemberIllegalInObjectImplementation,"This member is not permitted in an object implementation"
468
611,parsMissingFunctionBody,"Missing function body"
469
613,parsSyntaxErrorInLabeledType,"Syntax error in labelled type argument"
470
615,parsUnexpectedInfixOperator,"Unexpected infix operator in type expression"
471
parsMultiArgumentGenericTypeFormDeprecated,"The syntax '(typ,...,typ) ident' is not used in F# code. Consider using 'ident<typ,...,typ>' instead"
472
618,parsInvalidLiteralInType,"Invalid literal in type"
473
619,parsUnexpectedOperatorForUnitOfMeasure,"Unexpected infix operator in unit-of-measure expression. Legal operators are '*', '/' and '^'."
474
620,parsUnexpectedIntegerLiteralForUnitOfMeasure,"Unexpected integer literal in unit-of-measure expression"
475
#621,parsUnexpectedTypeParameter,"Syntax error: unexpected type parameter specification"
476
622,parsMismatchedQuotationName,"Mismatched quotation operator name, beginning with '%s'"
477
623,parsActivePatternCaseMustBeginWithUpperCase,"Active pattern case identifiers must begin with an uppercase letter"
478
624,parsActivePatternCaseContainsPipe,"The '|' character is not permitted in active pattern case identifiers"
479
625,parsIllegalDenominatorForMeasureExponent,"Denominator must not be 0 in unit-of-measure exponent"
480
626,parsIncompleteTyparExpr1,"Incomplete character literal (example: 'Q') or qualified type invocation (example: 'T.Name)"
481
626,parsIncompleteTyparExpr2,"Incomplete operator expression (example a^b) or qualified type invocation (example: ^T.Name)"
482
parsNoEqualShouldFollowNamespace,"No '=' symbol should follow a 'namespace' declaration"
483
parsSyntaxModuleStructEndDeprecated,"The syntax 'module ... = struct .. end' is not used in F# code. Consider using 'module ... = begin .. end'"
484
parsSyntaxModuleSigEndDeprecated,"The syntax 'module ... : sig .. end' is not used in F# code. Consider using 'module ... = begin .. end'"
485
627,tcStaticFieldUsedWhenInstanceFieldExpected,"A static field was used where an instance field is expected"
486
629,tcMethodNotAccessible,"Method '%s' is not accessible from this code location"
487
632,tcImplicitMeasureFollowingSlash,"Implicit product of measures following /"
488
633,tcUnexpectedMeasureAnon,"Unexpected SynMeasure.Anon"
489
634,tcNonZeroConstantCannotHaveGenericUnit,"Non-zero constants cannot have generic units. For generic zero, write 0.0<_>."
490
635,tcSeqResultsUseYield,"In sequence expressions, results are generated using 'yield'"
491
tcUnexpectedBigRationalConstant,"Unexpected big rational constant"
492
636,tcInvalidTypeForUnitsOfMeasure,"Units-of-measure are only supported on float, float32, decimal, and integer types."
493
tcUnexpectedConstUint16Array,"Unexpected Const_uint16array"
494
tcUnexpectedConstByteArray,"Unexpected Const_bytearray"
495
640,tcParameterRequiresName,"A parameter with attributes must also be given a name, e.g. '[<Attribute>] Name : Type'"
496
641,tcReturnValuesCannotHaveNames,"Return values cannot have names"
497
tcMemberKindPropertyGetSetNotExpected,"SynMemberKind.PropertyGetSet only expected in parse trees"
498
644,tcNamespaceCannotContainExtensionMembers,"Namespaces cannot contain extension members except in the same file and namespace declaration group where the type is defined. Consider using a module to hold declarations of extension members."
499
645,tcMultipleVisibilityAttributes,"Multiple visibility attributes have been specified for this identifier"
500
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."
501
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."
502
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."
503
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."
504
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"
505
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."
506
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."
507
tcInvalidOperatorDefinition,"The '%s' operator should not normally be redefined. Consider using a different operator name"
508
tcInvalidIndexOperatorDefinition,"The '%s' operator cannot be redefined. Consider using a different operator name"
509
tcExpectModuleOrNamespaceParent,"Expected module or namespace parent %s"
510
647,tcImplementsIComparableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IComparable' explicitly. You must apply the 'CustomComparison' attribute to the type."
511
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."
512
649,tcImplementsIStructuralComparableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IStructuralComparable' explicitly. Apply the 'CustomComparison' attribute to the type."
513
656,tcRecordFieldInconsistentTypes,"This record contains fields from inconsistent types"
514
657,tcDllImportStubsCannotBeInlined,"DLLImport stubs cannot be inlined"
515
658,tcStructsCanOnlyBindThisAtMemberDeclaration,"Structs may only bind a 'this' parameter at member declarations"
516
659,tcUnexpectedExprAtRecInfPoint,"Unexpected expression at recursive inference point"
517
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'."
518
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"
519
662,tcGenericParameterHasBeenConstrained,"A generic type parameter has been used in a way that constrains it to always be '%s'"
520
663,tcTypeParameterHasBeenConstrained,"This type parameter has been used in a way that constrains it to always be '%s'"
521
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)."
522
665,tcExplicitTypeParameterInvalid,"Explicit type parameters may only be used on module or member bindings"
523
666,tcOverridingMethodRequiresAllOrNoTypeParameters,"You must explicitly declare either all or no type parameters when overriding a generic abstract method"
524
667,tcFieldsDoNotDetermineUniqueRecordType,"The field labels and expected type of this record expression or pattern do not uniquely determine a corresponding record type"
525
668,tcMultipleFieldsInRecord,"The field '%s' appears multiple times in this record expression or pattern"
526
669,tcUnknownUnion,"Unknown union case"
527
670,tcNotSufficientlyGenericBecauseOfScope,"This code is not sufficiently generic. The type variable %s could not be generalized because it would escape its scope. Consider adding a type annotation, converting the value to a function, or making the definition 'inline'."
528
671,tcPropertyRequiresExplicitTypeParameters,"A property cannot have explicit type parameters. Consider using a method instead."
529
672,tcConstructorCannotHaveTypeParameters,"A constructor cannot have explicit type parameters. Consider using a static construction method instead."
530
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) = ...'."
531
674,tcUnexpectedPropertyInSyntaxTree,"Unexpected source-level property specification in syntax tree"
532
675,tcStaticInitializerRequiresArgument,"A static initializer requires an argument"
533
676,tcObjectConstructorRequiresArgument,"An object constructor requires an argument"
534
677,tcStaticMemberShouldNotHaveThis,"This static member should not have a 'this' parameter. Consider using the notation 'member Member(args) = ...'."
535
678,tcExplicitStaticInitializerSyntax,"An explicit static initializer should use the syntax 'static new(args) = expr'"
536
679,tcExplicitObjectConstructorSyntax,"An explicit object constructor should use the syntax 'new(args) = expr'"
537
680,tcUnexpectedPropertySpec,"Unexpected source-level property specification"
538
tcObjectExpressionFormDeprecated,"This form of object expression is not used in F#. Use 'member this.MemberName ... = ...' to define member implementations in object expressions."
539
682,tcInvalidDeclaration,"Invalid declaration"
540
683,tcAttributesInvalidInPatterns,"Attributes are not allowed within patterns"
541
685,tcFunctionRequiresExplicitTypeArguments,"The generic function '%s' must be given explicit type argument(s)"
542
686,tcDoesNotAllowExplicitTypeArguments,"The method or function '%s' should not be given explicit type argument(s) because it does not declare its type parameters explicitly"
543
687,tcTypeParameterArityMismatch,"This value, type or method expects %d type parameter(s) but was given %d"
544
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"
545
tcCouldNotFindIDisposable,"Couldn't find Dispose on IDisposable, or it was overloaded"
546
689,tcNonLiteralCannotBeUsedInPattern,"This value is not a literal and cannot be used in a pattern"
547
690,tcFieldIsReadonly,"This field is readonly"
548
691,tcNameArgumentsMustAppearLast,"Named arguments must appear after all other arguments"
549
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."
550
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"
551
695,tcInvalidMixtureOfRecursiveForms,"This recursive binding uses an invalid mixture of recursive forms"
552
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."
553
697,tcInvalidConstraint,"Invalid constraint"
554
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"
555
699,tcInvalidEnumConstraint,"An 'enum' constraint must be of the form 'enum<type>'"
556
700,tcInvalidNewConstraint,"'new' constraints must take one argument of type 'unit' and return the constructed type"
557
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)'."
558
702,tcExpectedUnitOfMeasureMarkWithAttribute,"Expected unit-of-measure parameter, not type parameter. Explicit unit-of-measure parameters must be marked with the [<Measure>] attribute."
559
703,tcExpectedTypeParameter,"Expected type parameter, not unit-of-measure parameter"
560
704,tcExpectedTypeNotUnitOfMeasure,"Expected type, not unit-of-measure"
561
705,tcExpectedUnitOfMeasureNotType,"Expected unit-of-measure, not type"
562
706,tcInvalidUnitsOfMeasurePrefix,"Units-of-measure cannot be used as prefix arguments to a type. Rewrite as postfix arguments in angle brackets."
563
707,tcUnitsOfMeasureInvalidInTypeConstructor,"Unit-of-measure cannot be used in type constructor application"
564
708,tcRequireBuilderMethod,"This control construct may only be used if the computation expression builder defines a '%s' method"
565
708,tcEmptyBodyRequiresBuilderZeroMethod,"An empty body may only be used if the computation expression builder defines a 'Zero' method."
566
709,tcTypeHasNoNestedTypes,"This type has no nested types"
567
711,tcUnexpectedSymbolInTypeExpression,"Unexpected %s in type expression"
568
712,tcTypeParameterInvalidAsTypeConstructor,"Type parameter cannot be used as type constructor"
569
713,tcIllegalSyntaxInTypeExpression,"Illegal syntax in type expression"
570
714,tcAnonymousUnitsOfMeasureCannotBeNested,"Anonymous unit-of-measure cannot be nested inside another unit-of-measure expression"
571
715,tcAnonymousTypeInvalidInDeclaration,"Anonymous type variables are not permitted in this declaration"
572
716,tcUnexpectedSlashInType,"Unexpected / in type"
573
717,tcUnexpectedTypeArguments,"Unexpected type arguments"
574
718,tcOptionalArgsOnlyOnMembers,"Optional arguments are only permitted on type members"
575
719,tcNameNotBoundInPattern,"Name '%s' not bound in pattern context"
576
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."
577
721,tcInvalidTypeArgumentUsage,"Type arguments cannot be specified here"
578
722,tcRequireActivePatternWithOneResult,"Only active patterns returning exactly one result may accept arguments"
579
723,tcInvalidArgForParameterizedPattern,"Invalid argument to parameterized pattern label"
580
724,tcInvalidIndexIntoActivePatternArray,"Internal error. Invalid index into active pattern array"
581
725,tcUnionCaseDoesNotTakeArguments,"This union case does not take arguments"
582
726,tcUnionCaseRequiresOneArgument,"This union case takes one argument"
583
727,tcUnionCaseExpectsTupledArguments,"This union case expects %d arguments in tupled form, but was given %d. The missing field arguments may be any of:%s"
584
728,tcFieldIsNotStatic,"Field '%s' is not static"
585
729,tcFieldNotLiteralCannotBeUsedInPattern,"This field is not a literal and cannot be used in a pattern"
586
730,tcRequireVarConstRecogOrLiteral,"This is not a variable, constant, active recognizer or literal"
587
731,tcInvalidPattern,"This is not a valid pattern"
588
733,tcIllegalPattern,"Illegal pattern"
589
734,tcSyntaxErrorUnexpectedQMark,"Syntax error - unexpected '?' symbol"
590
735,tcExpressionCountMisMatch,"Expected %d expressions, got %d"
591
736,tcExprUndelayed,"TcExprUndelayed: delayed"
592
737,tcExpressionRequiresSequence,"This expression form may only be used in sequence and computation expressions"
593
738,tcInvalidObjectExpressionSyntaxForm,"Invalid object expression. Objects without overrides or interfaces should use the expression form 'new Type(args)' without braces."
594
739,tcInvalidObjectSequenceOrRecordExpression,"Invalid object, sequence or record expression"
595
740,tcInvalidSequenceExpressionSyntaxForm,"Invalid record, sequence or computation expression. Sequence expressions should be of the form 'seq {{ ... }}'"
596
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"
597
741,tcUnableToParseFormatString,"Unable to parse format string '%s'"
598
742,tcListLiteralMaxSize,"This list expression exceeds the maximum size for list literals. Use an array for larger literals and call Array.ToList."
599
743,tcExpressionFormRequiresObjectConstructor,"The expression form 'expr then expr' may only be used as part of an explicit object constructor"
600
744,tcNamedArgumentsCannotBeUsedInMemberTraits,"Named arguments cannot be given to member trait calls"
601
745,tcNotValidEnumCaseName,"This is not a valid name for an enumeration case"
602
746,tcFieldIsNotMutable,"This field is not mutable"
603
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"
604
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'."
605
749,tcConstructRequiresSequenceOrComputations,"This construct may only be used within sequence or computation expressions"
606
750,tcConstructRequiresComputationExpression,"This construct may only be used within computation expressions"
607
751,tcInvalidIndexerExpression,"Incomplete expression or invalid use of indexer syntax"
608
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"
609
753,tcCannotInheritFromVariableType,"Cannot inherit from a variable type"
610
754,tcObjectConstructorsOnTypeParametersCannotTakeArguments,"Calls to object constructors on type parameters cannot be given arguments"
611
755,tcCompiledNameAttributeMisused,"The 'CompiledName' attribute cannot be used with this language element"
612
756,tcNamedTypeRequired,"'%s' may only be used with named types"
613
757,tcInheritCannotBeUsedOnInterfaceType,"'inherit' cannot be used on interface types. Consider implementing the interface by using 'interface ... with ... end' instead."
614
758,tcNewCannotBeUsedOnInterfaceType,"'new' cannot be used on interface types. Consider using an object expression '{{ new ... with ... }}' instead."
615
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."
616
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"
617
761,tcSyntaxCanOnlyBeUsedToCreateObjectTypes,"'%s' may only be used to construct object types"
618
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."
619
763,tcUndefinedField,"The field '%s' has been given a value, but is not present in the type '%s'"
620
764,tcFieldRequiresAssignment,"No assignment given for field '%s' of type '%s'"
621
765,tcExtraneousFieldsGivenValues,"Extraneous fields have been given values"
622
766,tcObjectExpressionsCanOnlyOverrideAbstractOrVirtual,"Only overrides of abstract and virtual members may be specified in object expressions"
623
767,tcNoAbstractOrVirtualMemberFound,"The member '%s' does not correspond to any abstract or virtual method available to override or implement."
624
767,tcMemberFoundIsNotAbstractOrVirtual,"The type %s contains the member '%s' but it is not a virtual or abstract method that is available to override or implement."
625
768,tcArgumentArityMismatch,"The member '%s' does not accept the correct number of arguments. %d argument(s) are expected, but %d were given. The required signature is '%s'.%s"
626
769,tcArgumentArityMismatchOneOverload,"The member '%s' does not accept the correct number of arguments. One overload accepts %d arguments, but %d were given. The required signature is '%s'.%s"
627
770,tcSimpleMethodNameRequired,"A simple method name is required here"
628
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"
629
772,tcNewMustBeUsedWithNamedType,"'new' must be used with a named type"
630
773,tcCannotCreateExtensionOfSealedType,"Cannot create an extension of a sealed type"
631
774,tcNoArgumentsForRecordValue,"No arguments may be given when constructing a record value"
632
775,tcNoInterfaceImplementationForConstructionExpression,"Interface implementations cannot be given on construction expressions"
633
776,tcObjectConstructionCanOnlyBeUsedInClassTypes,"Object construction expressions may only be used to implement constructors in class types"
634
777,tcOnlySimpleBindingsCanBeUsedInConstructionExpressions,"Only simple bindings of the form 'id = expr' can be used in construction expressions"
635
778,tcObjectsMustBeInitializedWithObjectExpression,"Objects must be initialized by an object construction expression that calls an inherited object constructor and assigns a value to each field"
636
779,tcExpectedInterfaceType,"Expected an interface type"
637
780,tcConstructorForInterfacesDoNotTakeArguments,"Constructor expressions for interfaces do not take arguments"
638
781,tcConstructorRequiresArguments,"This object constructor requires arguments"
639
782,tcNewRequiresObjectConstructor,"'new' may only be used with object constructors"
640
783,tcAtLeastOneOverrideIsInvalid,"At least one override did not correctly implement its corresponding abstract member"
641
784,tcNumericLiteralRequiresModule,"This numeric literal requires that a module '%s' defining functions FromZero, FromOne, FromInt32, FromInt64 and FromString be in scope"
642
785,tcInvalidRecordConstruction,"Invalid record construction"
643
786,tcExpressionFormRequiresRecordTypes,"The expression form {{ expr with ... }} may only be used with record types. To build object types use {{ new Type(...) with ... }}"
644
787,tcInheritedTypeIsNotObjectModelType,"The inherited type is not an object model type"
645
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"
646
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 '[]'."
647
790,tcTypeIsNotARecordTypeNeedConstructor,"This type is not a record type. Values of class and struct types must be created using calls to object constructors."
648
791,tcTypeIsNotARecordType,"This type is not a record type"
649
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 {{ ... }}'."
650
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 {{... }}'."
651
794,tcDoBangIllegalInSequenceExpression,"'do!' cannot be used within sequence expressions"
652
795,tcUseForInSequenceExpression,"The use of 'let! x = coll' in sequence expressions is not permitted. Use 'for x in coll' instead."
653
796,tcTryIllegalInSequenceExpression,"'try'/'with' cannot be used within sequence expressions"
654
797,tcUseYieldBangForMultipleResults,"In sequence expressions, multiple results are generated using 'yield!'"
655
799,tcInvalidAssignment,"Invalid assignment"
656
800,tcInvalidUseOfTypeName,"Invalid use of a type name"
657
801,tcTypeHasNoAccessibleConstructor,"This type has no accessible object constructors"
658
804,tcInvalidUseOfInterfaceType,"Invalid use of an interface type"
659
805,tcInvalidUseOfDelegate,"Invalid use of a delegate constructor. Use the syntax 'new Type(args)' or just 'Type(args)'."
660
806,tcPropertyIsNotStatic,"Property '%s' is not static"
661
807,tcPropertyIsNotReadable,"Property '%s' is not readable"
662
808,tcLookupMayNotBeUsedHere,"This lookup cannot be used here"
663
809,tcPropertyIsStatic,"Property '%s' is static"
664
810,tcPropertyCannotBeSet1,"Property '%s' cannot be set"
665
810,tcInitOnlyPropertyCannotBeSet1,"Init-only property '%s' cannot be set outside the initialization code. See https://aka.ms/fsharp-assigning-values-to-properties-at-initialization"
666
810,tcSetterForInitOnlyPropertyCannotBeCalled1,"Cannot call '%s' - a setter for init-only property, please use object initialization instead. See https://aka.ms/fsharp-assigning-values-to-properties-at-initialization"
667
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))'."
668
812,tcSyntaxFormUsedOnlyWithRecordLabelsPropertiesAndFields,"The syntax 'expr.id' may only be used with record labels, properties and fields"
669
813,tcEventIsStatic,"Event '%s' is static"
670
814,tcEventIsNotStatic,"Event '%s' is not static"
671
815,tcNamedArgumentDidNotMatch,"The named argument '%s' did not match any argument or mutable property"
672
816,tcOverloadsCannotHaveCurriedArguments,"One or more of the overloads of this method has curried arguments. Consider redesigning these members to take arguments in tupled form."
673
tcUnnamedArgumentsDoNotFormPrefix,"The unnamed arguments do not form a prefix of the arguments of the method called"
674
817,tcStaticOptimizationConditionalsOnlyForFSharpLibrary,"Static optimization conditionals are only for use within the F# library"
675
818,tcFormalArgumentIsNotOptional,"The corresponding formal argument is not optional"
676
819,tcInvalidOptionalAssignmentToPropertyOrField,"Invalid optional assignment to a property or field"
677
820,tcDelegateConstructorMustBePassed,"A delegate constructor must be passed a single function value"
678
821,tcBindingCannotBeUseAndRec,"A binding cannot be marked both 'use' and 'rec'"
679
823,tcVolatileOnlyOnClassLetBindings,"The 'VolatileField' attribute may only be used on 'let' bindings in classes"
680
824,tcAttributesAreNotPermittedOnLetBindings,"Attributes are not permitted on 'let' bindings in expressions"
681
825,tcDefaultValueAttributeRequiresVal,"The 'DefaultValue' attribute may only be used on 'val' declarations"
682
826,tcConditionalAttributeRequiresMembers,"The 'ConditionalAttribute' attribute may only be used on members"
683
827,tcInvalidActivePatternName,"'%s' is not a valid method name. Use a 'let' binding instead."
684
828,tcEntryPointAttributeRequiresFunctionInModule,"The 'EntryPointAttribute' attribute may only be used on function definitions in modules"
685
829,tcMutableValuesCannotBeInline,"Mutable values cannot be marked 'inline'"
686
830,tcMutableValuesMayNotHaveGenericParameters,"Mutable values cannot have generic parameters"
687
831,tcMutableValuesSyntax,"Mutable function values should be written 'let mutable f = (fun args -> ...)'"
688
832,tcOnlyFunctionsCanBeInline,"Only functions may be marked 'inline'"
689
833,tcIllegalAttributesForLiteral,"A literal value cannot be given the [<ThreadStatic>] or [<ContextStatic>] attributes"
690
834,tcLiteralCannotBeMutable,"A literal value cannot be marked 'mutable'"
691
835,tcLiteralCannotBeInline,"A literal value cannot be marked 'inline'"
692
836,tcLiteralCannotHaveGenericParameters,"Literal values cannot have generic parameters"
693
837,tcInvalidConstantExpression,"This is not a valid constant expression"
694
838,tcTypeIsInaccessible,"This type is not accessible from this code location"
695
839,tcUnexpectedConditionInImportedAssembly,"Unexpected condition in imported assembly: failed to decode AttributeUsage attribute"
696
840,tcUnrecognizedAttributeTarget,"Unrecognized attribute target. Valid attribute targets are 'assembly', 'module', 'type', 'method', 'property', 'return', 'param', 'field', 'event', 'constructor'."
697
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."
698
843,tcOptionalArgumentsCannotBeUsedInCustomAttribute,"Optional arguments cannot be used in custom attributes"
699
844,tcPropertyCannotBeSet0,"This property cannot be set"
700
845,tcPropertyOrFieldNotFoundInAttribute,"This property or field was not found on this custom attribute type"
701
846,tcCustomAttributeMustBeReferenceType,"A custom attribute must be a reference type"
702
847,tcCustomAttributeArgumentMismatch,"The number of args for a custom attribute does not match the expected number of args for the attribute constructor"
703
848,tcCustomAttributeMustInvokeConstructor,"A custom attribute must invoke an object constructor"
704
849,tcAttributeExpressionsMustBeConstructorCalls,"Attribute expressions must be calls to object constructors"
705
850,tcUnsupportedAttribute,"This attribute cannot be used in this version of F#"
706
851,tcInvalidInlineSpecification,"Invalid inline specification"
707
852,tcInvalidUseBinding,"'use' bindings must be of the form 'use <var> = <expr>'"
708
853,tcAbstractMembersIllegalInAugmentation,"Abstract members are not permitted in an augmentation - they must be defined as part of the type itself"
709
854,tcMethodOverridesIllegalHere,"Method overrides and interface implementations are not permitted here"
710
855,tcNoMemberFoundForOverride,"No abstract or interface member was found that corresponds to this override"
711
856,tcOverrideArityMismatch,"This override takes a different number of arguments to the corresponding abstract member. The following abstract members were found:%s"
712
857,tcDefaultImplementationAlreadyExists,"This method already has a default implementation"
713
858,tcDefaultAmbiguous,"The method implemented by this default is ambiguous"
714
859,tcNoPropertyFoundForOverride,"No abstract property was found that corresponds to this override"
715
860,tcAbstractPropertyMissingGetOrSet,"This property overrides or implements an abstract property but the abstract property doesn't have a corresponding %s"
716
861,tcInvalidSignatureForSet,"Invalid signature for set member"
717
864,tcNewMemberHidesAbstractMember,"This new member hides the abstract member '%s'. Rename the member or use 'override' instead."
718
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."
719
865,tcStaticInitializersIllegalInInterface,"Interfaces cannot contain definitions of static initializers"
720
866,tcObjectConstructorsIllegalInInterface,"Interfaces cannot contain definitions of object constructors"
721
867,tcMemberOverridesIllegalInInterface,"Interfaces cannot contain definitions of member overrides"
722
868,tcConcreteMembersIllegalInInterface,"Interfaces cannot contain definitions of concrete instance members. You may need to define a constructor on your type to indicate that the type is a class."
723
869,tcConstructorsDisallowedInExceptionAugmentation,"Constructors cannot be specified in exception augmentations"
724
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."
725
871,tcConstructorsIllegalForThisType,"Constructors cannot be defined for this type"
726
872,tcRecursiveBindingsWithMembersMustBeDirectAugmentation,"Recursive bindings that include member specifications can only occur as a direct augmentation of a type"
727
873,tcOnlySimplePatternsInLetRec,"Only simple variable patterns can be bound in 'let rec' constructs"
728
874,tcOnlyRecordFieldsAndSimpleLetCanBeMutable,"Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces"
729
875,tcMemberIsNotSufficientlyGeneric,"This member is not sufficiently generic"
730
876,tcLiteralAttributeRequiresConstantValue,"A declaration may only be the [<Literal>] attribute if a constant value is also given, e.g. 'val x: int = 1'"
731
877,tcValueInSignatureRequiresLiteralAttribute,"A declaration may only be given a value in a signature if the declaration has the [<Literal>] attribute"
732
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"
733
879,tcVolatileFieldsMustBeMutable,"Volatile fields must be marked 'mutable' and cannot be thread-static"
734
880,tcUninitializedValFieldsMustBeMutable,"Uninitialized 'val' fields must be mutable and marked with the '[<DefaultValue>]' attribute. Consider using a 'let' binding instead of a 'val' field."
735
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."
736
882,tcFieldRequiresName,"This field requires a name"
737
883,tcInvalidNamespaceModuleTypeUnionName,"Invalid namespace, module, type or union case name"
738
884,tcIllegalFormForExplicitTypeDeclaration,"Explicit type declarations for constructors must be of the form 'ty1 * ... * tyN -> resTy'. Parentheses may be required around 'resTy'"
739
885,tcReturnTypesForUnionMustBeSameAsType,"Return types of union cases must be identical to the type being defined, up to abbreviations"
740
886,tcInvalidEnumerationLiteral,"This is not a valid value for an enumeration literal"
741
887,tcTypeIsNotInterfaceType1,"The type '%s' is not an interface type"
742
888,tcDuplicateSpecOfInterface,"Duplicate specification of an interface"
743
889,tcFieldValIllegalHere,"A field/val declaration is not permitted here"
744
890,tcInheritIllegalHere,"A inheritance declaration is not permitted here"
745
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."
746
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."
747
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."
748
895,tcTypeAbbreviationsMayNotHaveMembers,"Type abbreviations cannot have members"
749
tcTypeAbbreviationsCheckedAtCompileTime,"As of F# 4.1, the accessibility of type abbreviations is checked at compile-time. Consider changing the accessibility of the type abbreviation. Ignoring this warning might lead to runtime errors."
750
896,tcEnumerationsMayNotHaveMembers,"Enumerations cannot have members"
751
897,tcMeasureDeclarationsRequireStaticMembers,"Measure declarations may have only static members"
752
tcStructsMayNotContainDoBindings,"Structs cannot contain 'do' bindings because the default constructor for structs would not execute these bindings"
753
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."
754
902,tcStaticLetBindingsRequireClassesWithImplicitConstructors,"For F#7 and lower, static 'let','do' and 'member val' definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version '8' or higher."
755
904,tcMeasureDeclarationsRequireStaticMembersNotConstructors,"Measure declarations may have only static members: constructors are not available"
756
905,tcMemberAndLocalClassBindingHaveSameName,"A member and a local class binding both have the name '%s'"
757
906,tcTypeAbbreviationsCannotHaveInterfaceDeclaration,"Type abbreviations cannot have interface declarations"
758
907,tcEnumerationsCannotHaveInterfaceDeclaration,"Enumerations cannot have interface declarations"
759
908,tcTypeIsNotInterfaceType0,"This type is not an interface type"
760
909,tcAllImplementedInterfacesShouldBeDeclared,"All implemented interfaces should be declared on the initial declaration of the type"
761
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"
762
911,tcMemberNotPermittedInInterfaceImplementation,"This member is not permitted in an interface implementation"
763
912,tcDeclarationElementNotPermittedInAugmentation,"This declaration element is not permitted in an augmentation"
764
913,tcTypesCannotContainNestedTypes,"Types cannot contain nested type definitions"
765
tcTypeExceptionOrModule,"type, exception or module"
766
tcTypeOrModule,"type or module"
767
914,tcImplementsIStructuralEquatableExplicitly,"The struct, record or union type '%s' implements the interface 'System.IStructuralEquatable' explicitly. Apply the 'CustomEquality' attribute to the type."
768
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)'."
769
916,tcExplicitTypeSpecificationCannotBeUsedForExceptionConstructors,"Explicit type specifications cannot be used for exception constructors"
770
917,tcExceptionAbbreviationsShouldNotHaveArgumentList,"Exception abbreviations should not have argument lists"
771
918,tcAbbreviationsFordotNetExceptionsCannotTakeArguments,"Abbreviations for Common IL exceptions cannot take arguments"
772
919,tcExceptionAbbreviationsMustReferToValidExceptions,"Exception abbreviations must refer to existing exceptions or F# types deriving from System.Exception"
773
920,tcAbbreviationsFordotNetExceptionsMustHaveMatchingObjectConstructor,"Abbreviations for Common IL exception types must have a matching object constructor"
774
921,tcNotAnException,"Not an exception"
775
924,tcInvalidModuleName,"Invalid module name"
776
925,tcInvalidTypeExtension,"Invalid type extension"
777
926,tcAttributesOfTypeSpecifyMultipleKindsForType,"The attributes of this type specify multiple kinds for the type"
778
927,tcKindOfTypeSpecifiedDoesNotMatchDefinition,"The kind of the type specified by its attributes does not match the kind implied by its definition"
779
928,tcMeasureDefinitionsCannotHaveTypeParameters,"Measure definitions cannot have type parameters"
780
929,tcTypeRequiresDefinition,"This type requires a definition"
781
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 ...'."
782
931,tcStructsInterfacesEnumsDelegatesMayNotInheritFromOtherTypes,"Structs, interfaces, enums and delegates cannot inherit from other types"
783
932,tcTypesCannotInheritFromMultipleConcreteTypes,"Types cannot inherit from multiple concrete types"
784
934,tcRecordsUnionsAbbreviationsStructsMayNotHaveAllowNullLiteralAttribute,"Records, union, abbreviations and struct types cannot have the 'AllowNullLiteral' attribute"
785
935,tcAllowNullTypesMayOnlyInheritFromAllowNullTypes,"Types with the 'AllowNullLiteral' attribute may only inherit from or implement types which also allow the use of the null literal"
786
936,tcGenericTypesCannotHaveStructLayout,"Generic types cannot be given the 'StructLayout' attribute"
787
937,tcOnlyStructsCanHaveStructLayout,"Only structs and classes without primary constructors may be given the 'StructLayout' attribute"
788
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."
789
939,tcOnlyClassesCanHaveAbstract,"Only classes may be given the 'AbstractClass' attribute"
790
940,tcOnlyTypesRepresentingUnitsOfMeasureCanHaveMeasure,"Only types representing units-of-measure may be given the 'Measure' attribute"
791
941,tcOverridesCannotHaveVisibilityDeclarations,"Accessibility modifiers are not permitted on overrides or interface implementations"
792
942,tcTypesAreAlwaysSealedDU,"Discriminated union types are always sealed"
793
942,tcTypesAreAlwaysSealedRecord,"Record types are always sealed"
794
942,tcTypesAreAlwaysSealedAssemblyCode,"Assembly code types are always sealed"
795
942,tcTypesAreAlwaysSealedStruct,"Struct types are always sealed"
796
942,tcTypesAreAlwaysSealedDelegate,"Delegate types are always sealed"
797
942,tcTypesAreAlwaysSealedEnum,"Enum types are always sealed"
798
943,tcInterfaceTypesAndDelegatesCannotContainFields,"Interface types and delegate types cannot contain fields"
799
944,tcAbbreviatedTypesCannotBeSealed,"Abbreviated types cannot be given the 'Sealed' attribute"
800
945,tcCannotInheritFromSealedType,"Cannot inherit a sealed type"
801
946,tcCannotInheritFromInterfaceType,"Cannot inherit from interface type. Use interface ... with instead."
802
947,tcStructTypesCannotContainAbstractMembers,"Struct types cannot contain abstract members"
803
948,tcInterfaceTypesCannotBeSealed,"Interface types cannot be sealed"
804
949,tcInvalidDelegateSpecification,"Delegate specifications must be of the form 'typ -> typ'"
805
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."
806
951,tcInvalidTypeForLiteralEnumeration,"Literal enumerations must have type int, uint, int16, uint16, int64, uint64, byte, sbyte or char"
807
953,tcTypeDefinitionIsCyclic,"This type definition involves an immediate cyclic reference through an abbreviation"
808
954,tcTypeDefinitionIsCyclicThroughInheritance,"This type definition involves an immediate cyclic reference through a struct field or inheritance relation"
809
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"
810
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."
811
957,tcDeclaredTypeParametersForExtensionDoNotMatchOriginal,"One or more of the declared type parameters for this type extension have a missing or wrong type constraint not matching the original type constraints on '%s'"
812
959,tcTypeDefinitionsWithImplicitConstructionMustHaveOneInherit,"Type definitions may only have one 'inherit' specification and it must be the first declaration"
813
960,tcTypeDefinitionsWithImplicitConstructionMustHaveLocalBindingsBeforeMembers,"'let' and 'do' bindings must come before member and interface definitions in type definitions"
814
961,tcInheritDeclarationMissingArguments,"This 'inherit' declaration specifies the inherited type but no arguments. Consider supplying arguments, e.g. 'inherit BaseType(args)'."
815
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) = ...'."
816
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) = ...'."
817
964,tcTypeAbbreviationsCannotHaveAugmentations,"Type abbreviations cannot have augmentations"
818
965,tcModuleAbbreviationForNamespace,"The path '%s' is a namespace. A module abbreviation may not abbreviate a namespace."
819
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."
820
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."
821
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"
822
971,ilUndefinedValue,"Undefined value '%s'"
823
972,ilLabelNotFound,"Label %s not found"
824
973,ilIncorrectNumberOfTypeArguments,"Incorrect number of type arguments to local call"
825
ilDynamicInvocationNotSupported,"Dynamic invocation of %s is not supported"
826
975,ilAddressOfLiteralFieldIsInvalid,"Taking the address of a literal field is invalid"
827
976,ilAddressOfValueHereIsInvalid,"This operation involves taking the address of a value '%s' represented using a local variable or other special representation. This is invalid."
828
980,ilCustomMarshallersCannotBeUsedInFSharp,"Custom marshallers cannot be specified in F# code. Consider using a C# helper function."
829
981,ilMarshalAsAttributeCannotBeDecoded,"The MarshalAs attribute could not be decoded"
830
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."
831
983,ilDllImportAttributeCouldNotBeDecoded,"The DllImport attribute could not be decoded"
832
984,ilLiteralFieldsCannotBeSet,"Literal fields cannot be set"
833
985,ilStaticMethodIsNotLambda,"GenSetStorage: %s was represented as a static method but was not an appropriate lambda expression"
834
986,ilMutableVariablesCannotEscapeMethod,"Mutable variables cannot escape their method"
835
987,ilUnexpectedUnrealizedValue,"Compiler error: unexpected unrealized value"
836
988,ilMainModuleEmpty,"Main module of program is empty: nothing will happen when it is run"
837
989,ilTypeCannotBeUsedForLiteralField,"This type cannot be used for a literal field"
838
990,ilUnexpectedGetSetAnnotation,"Unexpected GetSet annotation on a property"
839
991,ilFieldOffsetAttributeCouldNotBeDecoded,"The FieldOffset attribute could not be decoded"
840
992,ilStructLayoutAttributeCouldNotBeDecoded,"The StructLayout attribute could not be decoded"
841
993,ilDefaultAugmentationAttributeCouldNotBeDecoded,"The DefaultAugmentation attribute could not be decoded"
842
994,ilReflectedDefinitionsCannotUseSliceOperator,"Reflected definitions cannot contain uses of the prefix splice operator '%%'"
843
998,packageManagerUnknown,"Package manager key '%s' was not registered in %s. Currently registered: %s. You can provide extra path(s) by passing '--compilertool:<extensionsfolder>' to the command line. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager"
844
999,packageManagerError,"%s"
845
1000,optsProblemWithCodepage,"Problem with codepage '%d': %s"
846
optsCopyright,"Copyright (c) Microsoft Corporation. All Rights Reserved."
847
optsCopyrightCommunity,"Freely distributed under the MIT Open Source License. https://github.com/Microsoft/visualfsharp/blob/master/License.txt"
848
optsNameOfOutputFile,"Name of the output file (Short form: -o)"
849
optsBuildConsole,"Build a console executable"
850
optsBuildWindows,"Build a Windows executable"
851
optsBuildLibrary,"Build a library (Short form: -a)"
852
optsBuildModule,"Build a module that can be added to another assembly"
853
optsDelaySign,"Delay-sign the assembly using only the public portion of the strong name key (%s by default)"
854
optsPublicSign,"Public-sign the assembly using only the public portion of the strong name key, and mark the assembly as signed (%s by default)"
855
optsWriteXml,"Write the xmldoc of the assembly to the given file"
856
optsStrongKeyFile,"Specify a strong name key file"
857
optsStrongKeyContainer,"Specify a strong name key container"
858
optsCompressMetadata,"Compress interface and optimization data files (%s by default)"
859
optsPlatform,"Limit which platforms this code can run on: x86, x64, Arm, Arm64, Itanium, anycpu32bitpreferred, or anycpu. The default is anycpu."
860
optsNoOpt,"Only include optimization information essential for implementing inlined constructs. Inhibits cross-module inlining but improves binary compatibility."
861
optsNoInterface,"Don't add a resource to the generated assembly containing F#-specific metadata"
862
optsSig,"Print the inferred interface of the assembly to a file"
863
optsAllSigs,"Print the inferred interfaces of all compilation files to associated signature files"
864
optsReference,"Reference an assembly (Short form: -r)"
865
optsCompilerTool,"Reference an assembly or directory containing a design time tool (Short form: -t)"
866
optsWin32icon,"Specify a Win32 icon file (.ico)"
867
optsWin32res,"Specify a Win32 resource file (.res)"
868
optsWin32manifest,"Specify a Win32 manifest file"
869
optsNowin32manifest,"Do not include the default Win32 manifest"
870
optsEmbedAllSource,"Embed all source files in the portable PDB file (%s by default)"
871
optsEmbedSource,"Embed specific source files in the portable PDB file"
872
optsSourceLink,"Source link information file to embed in the portable PDB file"
873
1001,optsPdbMatchesOutputFileName,"The pdb output file name cannot match the build output filename use --pdb:filename.pdb"
874
srcFileTooLarge,"Source file is too large to embed in a portable PDB"
875
optsResource,"Embed the specified managed resource"
876
optsLinkresource,"Link the specified resource to this assembly where the resinfo format is <file>[,<string name>[,public|private]]"
877
optsDebugPM,"Emit debug information (Short form: -g) (%s by default)"
878
optsDebug,"Specify debugging type: full, portable, embedded, pdbonly. ('%s' is the default if no debugging type specified and enables attaching a debugger to a running program, 'portable' is a cross-platform format, 'embedded' is a cross-platform format embedded into the output file)."
879
optsOptimize,"Enable optimizations (Short form: -O) (%s by default)"
880
optsTailcalls,"Enable or disable tailcalls (%s by default)"
881
optsDeterministic,"Produce a deterministic assembly (including module version GUID and timestamp) (%s by default)"
882
optsRealsig,"Generate assembly with IL visibility that matches the source code visibility (%s by default)"
883
optsRefOnly,"Produce a reference assembly, instead of a full assembly, as the primary output (%s by default)"
884
optsRefOut,"Produce a reference assembly with the specified file path."
885
optsPathMap,"Maps physical paths to source path names output by the compiler"
886
optsCrossoptimize,"Enable or disable cross-module optimizations (%s by default)"
887
optsReflectionFree,"Disable implicit generation of constructs using reflection"
888
optsWarnaserrorPM,"Report all warnings as errors (%s by default)"
889
optsWarnaserror,"Report specific warnings as errors"
890
optsWarn,"Set a warning level (0-5)"
891
optsNowarn,"Disable specific warning messages"
892
optsWarnOn,"Enable specific warnings that may be off by default"
893
optsChecked,"Generate overflow checks (%s by default)"
894
optsDefine,"Define conditional compilation symbols (Short form: -d)"
895
optsNologo,"Suppress compiler copyright message"
896
optsHelp,"Display this usage message (Short form: -?)"
897
optsVersion,"Display compiler version banner and exit"
898
optsResponseFile,"Read response file for more options"
899
optsCodepage,"Specify the codepage used to read source files"
900
optsClearResultsCache,"Clear the package manager results cache"
901
optsTypecheckOnly,"Perform type checking only, do not execute code"
902
optsUtf8output,"Output messages in UTF-8 encoding"
903
optsFullpaths,"Output messages with fully qualified paths"
904
optsLib,"Specify a directory for the include path which is used to resolve source files and assemblies (Short form: -I)"
905
optsBaseaddress,"Base address for the library to be built"
906
optsChecksumAlgorithm,"Specify algorithm for calculating source file checksum stored in PDB. Supported values are: SHA1 or SHA256 (default)"
907
optsNoframework,"Do not reference the default CLI assemblies by default"
908
optsStandalone,"Statically link the F# library and all referenced DLLs that depend on it into the assembly being generated"
909
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."
910
optsResident,"Use a resident background compilation service to improve compiler startup times."
911
optsPdb,"Name the output debug file"
912
optsSimpleresolution,"Resolve assembly references using directory-based rules rather than MSBuild resolution"
913
optsShortFormOf,"Short form of '%s'"
914
optsClirootDeprecatedMsg,"The command-line option '--cliroot' has been deprecated. Use an explicit reference to a specific copy of mscorlib.dll instead."
915
optsClirootDescription,"Use to override where the compiler looks for mscorlib.dll and framework components"
916
optsHelpBannerOutputFiles,"- OUTPUT FILES -"
917
optsHelpBannerInputFiles,"- INPUT FILES -"
918
optsHelpBannerResources,"- RESOURCES -"
919
optsHelpBannerCodeGen,"- CODE GENERATION -"
920
optsHelpBannerAdvanced,"- ADVANCED -"
921
optsHelpBannerMisc,"- MISCELLANEOUS -"
922
optsHelpBannerLanguage,"- LANGUAGE -"
923
optsHelpBannerErrsAndWarns,"- ERRORS AND WARNINGS -"
924
optsInternalNoDescription,"The command-line option '%s' is for test purposes only"
925
optsDCLONoDescription,"The command-line option '%s' has been deprecated"
926
optsDCLODeprecatedSuggestAlternative,"The command-line option '%s' has been deprecated. Use '%s' instead."
927
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."
928
optsConsoleColors,"Output warning and error messages in color (%s by default)"
929
optsUseHighEntropyVA,"Enable high-entropy ASLR (%s by default)"
930
optsSubSystemVersion,"Specify subsystem version of this assembly"
931
optsTargetProfile,"Specify target framework profile of this assembly. Valid values are mscorlib, netcore or netstandard. Default - mscorlib"
932
optsEmitDebugInfoInQuotations,"Emit debug information in quotations (%s by default)"
933
optsPreferredUiLang,"Specify the preferred output language culture name (e.g. es-ES, ja-JP)"
934
optsNoCopyFsharpCore,"Don't copy FSharp.Core.dll along the produced binaries"
935
optsSignatureData,"Include F# interface information, the default is file. Essential for distributing libraries."
936
1046,optsUnknownSignatureData,"Invalid value '%s' for --interfacedata, valid value are: none, file, compress."
937
optsOptimizationData,"Specify included optimization information, the default is file. Important for distributed libraries."
938
1047,optsUnknownOptimizationData,"Invalid value '%s' for --optimizationdata, valid value are: none, file, compress."
939
1048,optsUnrecognizedTarget,"Unrecognized target '%s', expected 'exe', 'winexe', 'library' or 'module'"
940
1049,optsUnrecognizedDebugType,"Unrecognized debug type '%s', expected 'pdbonly' or 'full'"
941
1050,optsInvalidWarningLevel,"Invalid warning level '%d'"
942
1051,optsInvalidSubSystemVersion,"Invalid version '%s' for '--subsystemversion'. The version must be 4.00 or greater."
943
1052,optsInvalidTargetProfile,"Invalid value '%s' for '--targetprofile', valid values are 'mscorlib', 'netcore' or 'netstandard'."
944
1063,optsUnknownArgumentToTheTestSwitch,"Unknown --test argument: '%s'"
945
1064,optsUnknownPlatform,"Unrecognized platform '%s', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'. The default is anycpu."
946
1065,optsUnknownChecksumAlgorithm,"Algorithm '%s' is not supported"
947
typeInfoFullName,"Full name"
948
# typeInfoType,"type"
949
# typeInfoInherits,"inherits"
950
# typeInfoImplements,"implements"
951
typeInfoOtherOverloads,"and %d other overloads"
952
typeInfoUnionCase,"union case"
953
typeInfoActivePatternResult,"active pattern result"
954
typeInfoActiveRecognizer,"active recognizer"
955
typeInfoField,"field"
956
typeInfoEvent,"event"
957
typeInfoProperty,"property"
958
typeInfoExtension,"extension"
959
typeInfoCustomOperation,"custom operation"
960
typeInfoArgument,"argument"
961
typeInfoAnonRecdField,"anonymous record field"
962
typeInfoPatternVariable,"patvar"
963
typeInfoNamespace,"namespace"
964
typeInfoModule,"module"
965
typeInfoNamespaceOrModule,"namespace/module"
966
typeInfoFromFirst,"from %s"
967
typeInfoFromNext,"also from %s"
968
typeInfoGeneratedProperty,"generated property"
969
typeInfoGeneratedType,"generated type"
970
suggestedName,"(Suggested name)"
971
1089,recursiveClassHierarchy,"Recursive class hierarchy in type '%s'"
972
1090,InvalidRecursiveReferenceToAbstractSlot,"Invalid recursive reference to an abstract slot"
973
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<_,_>'."
974
1092,typeIsNotAccessible,"The type '%s' is not accessible from this code location"
975
1093,unionCasesAreNotAccessible,"The union cases or fields of the type '%s' are not accessible from this code location"
976
1094,valueIsNotAccessible,"The value '%s' is not accessible from this code location"
977
1095,unionCaseIsNotAccessible,"The union case '%s' is not accessible from this code location"
978
1096,fieldIsNotAccessible,"The record, struct or class field '%s' is not accessible from this code location"
979
1097,structOrClassFieldIsNotAccessible,"The struct or class field '%s' is not accessible from this code location"
980
experimentalConstruct,"This construct is experimental"
981
1099,noInvokeMethodsFound,"No Invoke methods found for delegate type"
982
moreThanOneInvokeMethodFound,"More than one Invoke method found for delegate type"
983
1101,delegatesNotAllowedToHaveCurriedSignatures,"Delegates are not allowed to have curried signatures"
984
1102,tlrUnexpectedTExpr,"Unexpected Expr.TyChoose"
985
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."
986
1104,lexhlpIdentifiersContainingAtSymbolReserved,"Identifiers containing '@' are reserved for use in F# code generation"
987
lexhlpIdentifierReserved,"The identifier '%s' is reserved for future use by F#"
988
1106,patcMissingVariable,"Missing variable '%s'"
989
1107,patcPartialActivePatternsGenerateOneResult,"Partial active patterns may only generate one result"
990
1108,impTypeRequiredUnavailable,"The type '%s' is required here and is unavailable. You must add a reference to assembly '%s'."
991
1109,impReferencedTypeCouldNotBeFoundInAssembly,"A reference to the type '%s' in assembly '%s' was found, but the type could not be found in that assembly"
992
1110,impNotEnoughTypeParamsInScopeWhileImporting,"Internal error or badly formed metadata: not enough type parameters were in scope while importing"
993
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."
994
1112,impImportedAssemblyUsesNotPublicType,"An imported assembly uses the type '%s' but that type is not public"
995
1113,optValueMarkedInlineButIncomplete,"The value '%s' was marked inline but its implementation makes use of an internal or private function which is not sufficiently accessible"
996
1114,optValueMarkedInlineButWasNotBoundInTheOptEnv,"The value '%s' was marked inline but was not bound in the optimization environment"
997
1116,optValueMarkedInlineHasUnexpectedValue,"A value marked as 'inline' has an unexpected value"
998
1117,optValueMarkedInlineCouldNotBeInlined,"A value marked as 'inline' could not be inlined"
999
1118,optFailedToInlineValue,"Failed to inline the value '%s' marked 'inline', perhaps because a recursive value was marked 'inline'"
1000
1119,optRecursiveValValue,"Recursive ValValue %s"