FSharp.Compiler.Service Consider using 'yield!' instead of 'yield'. (Originally from src/fsharp/FSComp.txt:32) The byref pointer is readonly, so this write is not permitted. (Originally from src/fsharp/FSComp.txt:1458) The value '%s' is not accessible from this code location (Originally from src/fsharp/FSComp.txt:960) Use reference assemblies for .NET framework references when available (Enabled by default). (Originally from src/fsharp/FSComp.txt:1492) The union cases or fields of the type '%s' are not accessible from this code location (Originally from src/fsharp/FSComp.txt:959) The union case '%s' is not accessible from this code location (Originally from src/fsharp/FSComp.txt:961) The value or constructor '%s' is not defined. (Originally from src/fsharp/FSComp.txt:9) The value, namespace, type or module '%s' is not defined. (Originally from src/fsharp/FSComp.txt:10) The value, constructor, namespace or type '%s' is not defined. (Originally from src/fsharp/FSComp.txt:8) The type parameter %s is not defined. (Originally from src/fsharp/FSComp.txt:17) The type '%s' is not defined in '%s'. (Originally from src/fsharp/FSComp.txt:13) The type '%s' is not defined. (Originally from src/fsharp/FSComp.txt:12) Maybe you want one of the following: (Originally from src/fsharp/FSComp.txt:16) The record label or namespace '%s' is not defined. (Originally from src/fsharp/FSComp.txt:14) The record label '%s' is not defined. (Originally from src/fsharp/FSComp.txt:15) The pattern discriminator '%s' is not defined. (Originally from src/fsharp/FSComp.txt:18) The namespace or module '%s' is not defined. (Originally from src/fsharp/FSComp.txt:5) The namespace '%s' is not defined. (Originally from src/fsharp/FSComp.txt:4) The type '%s' does not define the field, constructor or member '%s'. (Originally from src/fsharp/FSComp.txt:7) The field, constructor or member '%s' is not defined. (Originally from src/fsharp/FSComp.txt:6) The constructor, module or namespace '%s' is not defined. (Originally from src/fsharp/FSComp.txt:11) The type '%s' implements 'System.IComparable'. Consider also adding an explicit override for 'Object.Equals' (Originally from src/fsharp/FSComp.txt:172) 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 (Originally from src/fsharp/FSComp.txt:173) The signature and implementation are not compatible because the respective type parameter counts differ (Originally from src/fsharp/FSComp.txt:168) 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. (Originally from src/fsharp/FSComp.txt:171) The signature and implementation are not compatible because the declaration of the type parameter '%s' requires a constraint of the form %s (Originally from src/fsharp/FSComp.txt:170) 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 (Originally from src/fsharp/FSComp.txt:169) The override for '%s' was ambiguous (Originally from src/fsharp/FSComp.txt:188) The override '%s' implements more than one abstract slot, e.g. '%s' and '%s' (Originally from src/fsharp/FSComp.txt:191) No implementations of '%s' had the correct number of arguments and type parameters. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:187) 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 ...'. (Originally from src/fsharp/FSComp.txt:196) 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 ...'. (Originally from src/fsharp/FSComp.txt:198) 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 ...'. (Originally from src/fsharp/FSComp.txt:200) No implementation was given for those members (some results omitted): %s (Originally from src/fsharp/FSComp.txt:199) No implementation was given for those members: %s (Originally from src/fsharp/FSComp.txt:197) No implementation was given for '%s' (Originally from src/fsharp/FSComp.txt:195) The interface '%s' is included in multiple explicitly implemented interface types. Add an explicit implementation of this interface. (Originally from src/fsharp/FSComp.txt:193) A named argument has been assigned more than one value (Originally from src/fsharp/FSComp.txt:194) More than one override implements '%s' (Originally from src/fsharp/FSComp.txt:189) The namespace or module attributes differ between signature and implementation (Originally from src/fsharp/FSComp.txt:185) The method '%s' is sealed and cannot be overridden (Originally from src/fsharp/FSComp.txt:190) This method is over-constrained in its type parameters (Originally from src/fsharp/FSComp.txt:186) The member '%s' matches multiple overloads of the same method.\nPlease restrict it to one of the following:%s. (Originally from src/fsharp/FSComp.txt:1360) The member '%s' does not have the correct number of method type parameters. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:202) The member '%s' does not have the correct number of arguments. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:201) The member '%s' does not have the correct kinds of generic parameters. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:203) The member '%s' cannot be used to implement '%s'. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:204) Invalid value (Originally from src/fsharp/FSComp.txt:167) Interface member '%s' does not have a most specific implementation. (Originally from src/fsharp/FSComp.txt:1491) 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 (Originally from src/fsharp/FSComp.txt:174) The struct, record or union type '%s' has an explicit implementation of 'Object.GetHashCode'. Consider implementing a matching override for 'Object.Equals(obj)' (Originally from src/fsharp/FSComp.txt:175) The struct, record or union type '%s' has an explicit implementation of 'Object.Equals'. Consider implementing a matching override for 'Object.GetHashCode()' (Originally from src/fsharp/FSComp.txt:176) Duplicate or redundant interface (Originally from src/fsharp/FSComp.txt:192) 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 (Originally from src/fsharp/FSComp.txt:163) Could not resolve the ambiguity in the use of a generic construct with an 'unmanaged' constraint at or near this position (Originally from src/fsharp/FSComp.txt:1074) Could not resolve the ambiguity inherent in the use of a 'printf'-style format string (Originally from src/fsharp/FSComp.txt:164) Could not resolve the ambiguity in the use of a generic construct with an 'enum' constraint at or near this position (Originally from src/fsharp/FSComp.txt:165) Could not resolve the ambiguity in the use of a generic construct with a 'delegate' constraint at or near this position (Originally from src/fsharp/FSComp.txt:166) The type '%s' is not accessible from this code location (Originally from src/fsharp/FSComp.txt:958) union case (Originally from src/fsharp/FSComp.txt:933) property (Originally from src/fsharp/FSComp.txt:938) patvar (Originally from src/fsharp/FSComp.txt:943) and %d other overloads (Originally from src/fsharp/FSComp.txt:932) namespace/module (Originally from src/fsharp/FSComp.txt:946) namespace (Originally from src/fsharp/FSComp.txt:944) module (Originally from src/fsharp/FSComp.txt:945) generated type (Originally from src/fsharp/FSComp.txt:950) generated property (Originally from src/fsharp/FSComp.txt:949) Full name (Originally from src/fsharp/FSComp.txt:928) also from %s (Originally from src/fsharp/FSComp.txt:948) from %s (Originally from src/fsharp/FSComp.txt:947) field (Originally from src/fsharp/FSComp.txt:936) extension (Originally from src/fsharp/FSComp.txt:939) event (Originally from src/fsharp/FSComp.txt:937) custom operation (Originally from src/fsharp/FSComp.txt:940) Calls (Originally from src/fsharp/FSComp.txt:1264) argument (Originally from src/fsharp/FSComp.txt:941) anonymous record field (Originally from src/fsharp/FSComp.txt:942) active recognizer (Originally from src/fsharp/FSComp.txt:935) active pattern result (Originally from src/fsharp/FSComp.txt:934) \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. (Originally from src/fsharp/FSComp.txt:33) The specified .NET Framework version '%s' is not supported. Please specify a value from the enumeration Microsoft.Build.Utilities.TargetDotNetFrameworkVersion. (Originally from src/fsharp/FSComp.txt:1115) Unexpected Expr.TyChoose (Originally from src/fsharp/FSComp.txt:968) 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. (Originally from src/fsharp/FSComp.txt:969) The 'VolatileField' attribute may only be used on 'let' bindings in classes (Originally from src/fsharp/FSComp.txt:669) Volatile fields must be marked 'mutable' and cannot be thread-static (Originally from src/fsharp/FSComp.txt:724) A declaration may only be given a value in a signature if the declaration has the [<Literal>] attribute (Originally from src/fsharp/FSComp.txt:722) In sequence expressions, multiple results are generated using 'yield!' (Originally from src/fsharp/FSComp.txt:644) Character range matches have been removed in F#. Consider using a 'when' pattern guard instead. (Originally from src/fsharp/FSComp.txt:577) 'use' expressions may not be used in queries (Originally from src/fsharp/FSComp.txt:1281) The use of 'let! x = coll' in sequence expressions is not permitted. Use 'for x in coll' instead. (Originally from src/fsharp/FSComp.txt:642) This declaration is not supported in recursive declaration groups (Originally from src/fsharp/FSComp.txt:1350) This attribute cannot be used in this version of F# (Originally from src/fsharp/FSComp.txt:696) This is not a known query operator. Query operators are identifiers such as 'select', 'where', 'sortBy', 'thenBy', 'groupBy', 'groupValBy', 'join', 'groupJoin', 'sumBy' and 'averageBy', defined using corresponding methods on the 'QueryBuilder' type. (Originally from src/fsharp/FSComp.txt:1284) Arguments to query operators may require parentheses, e.g. 'where (x > y)' or 'groupBy (x.Length / 10)' (Originally from src/fsharp/FSComp.txt:1292) Unrecognized attribute target. Valid attribute targets are 'assembly', 'module', 'type', 'method', 'property', 'return', 'param', 'field', 'event', 'constructor'. (Originally from src/fsharp/FSComp.txt:686) The unnamed arguments do not form a prefix of the arguments of the method called (Originally from src/fsharp/FSComp.txt:663) Unknown union case (Originally from src/fsharp/FSComp.txt:516) Unit-of-measure cannot be used in type constructor application (Originally from src/fsharp/FSComp.txt:553) This union case takes one argument (Originally from src/fsharp/FSComp.txt:571) The union case named '%s' conflicts with the generated type '%s' (Originally from src/fsharp/FSComp.txt:1095) Union case/exception field '%s' cannot be used more than once. (Originally from src/fsharp/FSComp.txt:1319) This union case expects %d arguments in tupled form (Originally from src/fsharp/FSComp.txt:572) This union case does not take arguments (Originally from src/fsharp/FSComp.txt:570) The union case '%s' does not have a field named '%s'. (Originally from src/fsharp/FSComp.txt:1315) Uninitialized 'val' fields must be mutable and marked with the '[<DefaultValue>]' attribute. Consider using a 'let' binding instead of a 'val' field. (Originally from src/fsharp/FSComp.txt:725) Unexpected type arguments (Originally from src/fsharp/FSComp.txt:562) Unexpected %s in type expression (Originally from src/fsharp/FSComp.txt:556) Unexpected / in type (Originally from src/fsharp/FSComp.txt:561) Unexpected source-level property specification (Originally from src/fsharp/FSComp.txt:527) Unexpected source-level property specification in syntax tree (Originally from src/fsharp/FSComp.txt:521) Unexpected SynMeasure.Anon (Originally from src/fsharp/FSComp.txt:477) Unexpected expression at recursive inference point (Originally from src/fsharp/FSComp.txt:506) Unexpected Const_uint16array (Originally from src/fsharp/FSComp.txt:482) Unexpected Const_bytearray (Originally from src/fsharp/FSComp.txt:483) Unexpected condition in imported assembly: failed to decode AttributeUsage attribute (Originally from src/fsharp/FSComp.txt:685) Unexpected big rational constant (Originally from src/fsharp/FSComp.txt:480) The field '%s' has been given a value, but is not present in the type '%s' (Originally from src/fsharp/FSComp.txt:609) Unable to parse format string '%s' (Originally from src/fsharp/FSComp.txt:587) Types cannot inherit from multiple concrete types (Originally from src/fsharp/FSComp.txt:775) Types cannot contain nested type definitions (Originally from src/fsharp/FSComp.txt:755) Struct types are always sealed (Originally from src/fsharp/FSComp.txt:787) Record types are always sealed (Originally from src/fsharp/FSComp.txt:785) Enum types are always sealed (Originally from src/fsharp/FSComp.txt:789) Delegate types are always sealed (Originally from src/fsharp/FSComp.txt:788) Discriminated union types are always sealed (Originally from src/fsharp/FSComp.txt:784) Assembly code types are always sealed (Originally from src/fsharp/FSComp.txt:786) 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. (Originally from src/fsharp/FSComp.txt:812) This type test or downcast will erase the provided type '%s' to the type '%s' (Originally from src/fsharp/FSComp.txt:1203) This type test or downcast will ignore the unit-of-measure '%s' (Originally from src/fsharp/FSComp.txt:1106) This type test with a provided type '%s' is not allowed because this provided type will be erased to '%s' at runtime. (Originally from src/fsharp/FSComp.txt:1205) This type requires a definition (Originally from src/fsharp/FSComp.txt:772) 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). (Originally from src/fsharp/FSComp.txt:511) Type parameter cannot be used as type constructor (Originally from src/fsharp/FSComp.txt:557) This type parameter has been used in a way that constrains it to always be '%s' (Originally from src/fsharp/FSComp.txt:510) This value, type or method expects %d type parameter(s) but was given %d (Originally from src/fsharp/FSComp.txt:533) type or module (Originally from src/fsharp/FSComp.txt:757) The type '%s' is not an interface type (Originally from src/fsharp/FSComp.txt:732) This type is not an interface type (Originally from src/fsharp/FSComp.txt:750) This type is not a record type. Values of class and struct types must be created using calls to object constructors. (Originally from src/fsharp/FSComp.txt:637) This type is not a record type (Originally from src/fsharp/FSComp.txt:638) This type is not accessible from this code location (Originally from src/fsharp/FSComp.txt:684) This type has no nested types (Originally from src/fsharp/FSComp.txt:555) This type has no accessible object constructors (Originally from src/fsharp/FSComp.txt:647) type, exception or module (Originally from src/fsharp/FSComp.txt:756) This type does not inherit Attribute, it will not work correctly with other .NET languages. (Originally from src/fsharp/FSComp.txt:1474) Type definitions may only have one 'inherit' specification and it must be the first declaration (Originally from src/fsharp/FSComp.txt:805) 'let' and 'do' bindings must come before member and interface definitions in type definitions (Originally from src/fsharp/FSComp.txt:806) This type definition involves an immediate cyclic reference through a struct field or inheritance relation (Originally from src/fsharp/FSComp.txt:801) This type definition involves an immediate cyclic reference through an abbreviation (Originally from src/fsharp/FSComp.txt:800) This downcast will erase the provided type '%s' to the type '%s'. (Originally from src/fsharp/FSComp.txt:1204) 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 (Originally from src/fsharp/FSComp.txt:540) Type abbreviations cannot have members (Originally from src/fsharp/FSComp.txt:739) 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. (Originally from src/fsharp/FSComp.txt:740) Type abbreviations cannot have interface declarations (Originally from src/fsharp/FSComp.txt:748) Type abbreviations cannot have augmentations (Originally from src/fsharp/FSComp.txt:810) 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 ...'. (Originally from src/fsharp/FSComp.txt:773) One tuple type is a struct tuple, the other is a reference tuple (Originally from src/fsharp/FSComp.txt:1343) This method or property is not normally used from F# code, use an explicit tuple pattern for deconstruction instead. (Originally from src/fsharp/FSComp.txt:1454) 'try/with' expressions may not be used in queries (Originally from src/fsharp/FSComp.txt:1285) 'try'/'with' cannot be used within sequence expressions (Originally from src/fsharp/FSComp.txt:643) 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 (Originally from src/fsharp/FSComp.txt:723) This member, function or value declaration may not be declared 'inline' (Originally from src/fsharp/FSComp.txt:1290) This type definition may not have the 'CLIMutable' attribute. Only record types may have this attribute. (Originally from src/fsharp/FSComp.txt:1272) Invalid provided field. Provided fields of erased provided types must be literals. (Originally from src/fsharp/FSComp.txt:1301) The syntax 'expr.id' may only be used with record labels, properties and fields (Originally from src/fsharp/FSComp.txt:658) Syntax error - unexpected '?' symbol (Originally from src/fsharp/FSComp.txt:579) '%s' may only be used to construct object types (Originally from src/fsharp/FSComp.txt:607) The struct, record or union type '%s' has the 'StructuralEquality' attribute but the component type '%s' does not satisfy the 'equality' constraint (Originally from src/fsharp/FSComp.txt:1052) The struct, record or union type '%s' has the 'StructuralEquality' attribute but the type parameter '%s' does not satisfy the 'equality' constraint. Consider adding the 'equality' constraint to the type parameter (Originally from src/fsharp/FSComp.txt:1051) The struct, record or union type '%s' has the 'StructuralComparison' attribute but the component type '%s' does not satisfy the 'comparison' constraint (Originally from src/fsharp/FSComp.txt:1046) The struct, record or union type '%s' has the 'StructuralComparison' attribute but the type parameter '%s' does not satisfy the 'comparison' constraint. Consider adding the 'comparison' constraint to the type parameter (Originally from src/fsharp/FSComp.txt:1045) Each argument of the primary constructor for a struct must be given a type, for example 'type S(x1:int, x2: int) = ...'. These arguments determine the fields of the struct. (Originally from src/fsharp/FSComp.txt:1053) 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. (Originally from src/fsharp/FSComp.txt:744) Structs cannot contain 'do' bindings because the default constructor for structs would not execute these bindings (Originally from src/fsharp/FSComp.txt:743) Structs, interfaces, enums and delegates cannot inherit from other types (Originally from src/fsharp/FSComp.txt:774) 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. (Originally from src/fsharp/FSComp.txt:715) Structs may only bind a 'this' parameter at member declarations (Originally from src/fsharp/FSComp.txt:505) If a union type has more than one case and is a struct, then all fields within the union type must be given unique names. (Originally from src/fsharp/FSComp.txt:1352) Struct types cannot contain abstract members (Originally from src/fsharp/FSComp.txt:794) 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. (Originally from src/fsharp/FSComp.txt:726) Static optimization conditionals are only for use within the F# library (Originally from src/fsharp/FSComp.txt:664) This static member should not have a 'this' parameter. Consider using the notation 'member Member(args) = ...'. (Originally from src/fsharp/FSComp.txt:524) Static value definitions may only be used in types with a primary constructor. Consider adding arguments to the type definition, e.g. 'type X(args) = ...'. (Originally from src/fsharp/FSComp.txt:745) Interfaces cannot contain definitions of static initializers (Originally from src/fsharp/FSComp.txt:710) A static initializer requires an argument (Originally from src/fsharp/FSComp.txt:522) A static field was used where an instance field is expected (Originally from src/fsharp/FSComp.txt:473) A simple method name is required here (Originally from src/fsharp/FSComp.txt:617) In sequence expressions, results are generated using 'yield' (Originally from src/fsharp/FSComp.txt:479) Array method '%s' is supplied by the runtime and cannot be directly used in code. For operations with array elements consider using family of GetArray/SetArray functions from LanguagePrimitives.IntrinsicFunctions module. (Originally from src/fsharp/FSComp.txt:1314) Return values cannot have names (Originally from src/fsharp/FSComp.txt:485) Return types of union cases must be identical to the type being defined, up to abbreviations (Originally from src/fsharp/FSComp.txt:730) 'return' and 'return!' may not be used in queries (Originally from src/fsharp/FSComp.txt:1283) 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 (Originally from src/fsharp/FSComp.txt:802) This is not a variable, constant, active recognizer or literal (Originally from src/fsharp/FSComp.txt:575) The 'let! ... and! ...' construct may only be used if the computation expression builder defines either a '%s' method or appropriate 'MergeSource' and 'Bind' methods (Originally from src/fsharp/FSComp.txt:1486) This control construct may only be used if the computation expression builder defines a '%s' method (Originally from src/fsharp/FSComp.txt:554) Only active patterns returning exactly one result may accept arguments (Originally from src/fsharp/FSComp.txt:567) 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. (Originally from src/fsharp/FSComp.txt:780) Recursive bindings that include member specifications can only occur as a direct augmentation of a type (Originally from src/fsharp/FSComp.txt:717) Records, union, abbreviations and struct types cannot have the 'AllowNullLiteral' attribute (Originally from src/fsharp/FSComp.txt:776) This record contains fields from inconsistent types (Originally from src/fsharp/FSComp.txt:503) The 'rec' on this module is implied by an outer 'rec' declaration and is being ignored (Originally from src/fsharp/FSComp.txt:1347) A property cannot have explicit type parameters. Consider using a method instead. (Originally from src/fsharp/FSComp.txt:518) This property or field was not found on this custom attribute type (Originally from src/fsharp/FSComp.txt:691) Property '%s' is static (Originally from src/fsharp/FSComp.txt:655) Property '%s' is not static (Originally from src/fsharp/FSComp.txt:652) Property '%s' is not readable (Originally from src/fsharp/FSComp.txt:653) Property '%s' cannot be set (Originally from src/fsharp/FSComp.txt:656) This property cannot be set (Originally from src/fsharp/FSComp.txt:690) 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 (Originally from src/fsharp/FSComp.txt:618) A parameter with attributes must also be given a name, e.g. '[<Attribute>] Name : Type' (Originally from src/fsharp/FSComp.txt:484) The parameter '%s' was inferred to have byref type. Parameters of byref type must be given an explicit type annotation, e.g. 'x1: byref<int>'. When used, a byref parameter is implicitly dereferenced. (Originally from src/fsharp/FSComp.txt:1070) You must explicitly declare either all or no type parameters when overriding a generic abstract method (Originally from src/fsharp/FSComp.txt:513) Accessibility modifiers are not permitted on overrides or interface implementations (Originally from src/fsharp/FSComp.txt:783) This override takes a different number of arguments to the corresponding abstract member. The following abstract members were found:%s (Originally from src/fsharp/FSComp.txt:702) One or more of the overloads of this method has curried arguments. Consider redesigning these members to take arguments in tupled form. (Originally from src/fsharp/FSComp.txt:662) Optional arguments cannot be used in custom attributes (Originally from src/fsharp/FSComp.txt:689) Optional arguments are only permitted on type members (Originally from src/fsharp/FSComp.txt:563) Optional arguments must come at the end of the argument list, after any non-optional arguments (Originally from src/fsharp/FSComp.txt:1088) '%s' must be followed by 'in'. Usage: %s. (Originally from src/fsharp/FSComp.txt:1308) Incorrect syntax for '%s'. Usage: %s. (Originally from src/fsharp/FSComp.txt:1236) The operator '%s' does not accept the use of 'into' (Originally from src/fsharp/FSComp.txt:1270) 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. (Originally from src/fsharp/FSComp.txt:737) In a recursive declaration group, 'open' declarations must come first in each module (Originally from src/fsharp/FSComp.txt:1348) Only types representing units-of-measure may be given the 'Measure' attribute (Originally from src/fsharp/FSComp.txt:782) Only structs and classes without primary constructors may be given the 'StructLayout' attribute (Originally from src/fsharp/FSComp.txt:779) Only simple variable patterns can be bound in 'let rec' constructs (Originally from src/fsharp/FSComp.txt:718) Only simple bindings of the form 'id = expr' can be used in construction expressions (Originally from src/fsharp/FSComp.txt:624) Only record fields and simple, non-recursive 'let' bindings may be marked mutable (Originally from src/fsharp/FSComp.txt:719) Only functions may be marked 'inline' (Originally from src/fsharp/FSComp.txt:678) Only classes may be given the 'AbstractClass' attribute (Originally from src/fsharp/FSComp.txt:781) Objects must be initialized by an object construction expression that calls an inherited object constructor and assigns a value to each field (Originally from src/fsharp/FSComp.txt:625) 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 (Originally from src/fsharp/FSComp.txt:598) Only overrides of abstract and virtual members may be specified in object expressions (Originally from src/fsharp/FSComp.txt:612) This form of object expression is not used in F#. Use 'member this.MemberName ... = ...' to define member implementations in object expressions. (Originally from src/fsharp/FSComp.txt:528) Calls to object constructors on type parameters cannot be given arguments (Originally from src/fsharp/FSComp.txt:600) Interfaces cannot contain definitions of object constructors (Originally from src/fsharp/FSComp.txt:711) An object constructor requires an argument (Originally from src/fsharp/FSComp.txt:523) 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 (Originally from src/fsharp/FSComp.txt:635) Object construction expressions may only be used to implement constructors in class types (Originally from src/fsharp/FSComp.txt:623) This numeric literal requires that a module '%s' defining functions FromZero, FromOne, FromInt32, FromInt64 and FromString be in scope (Originally from src/fsharp/FSComp.txt:631) This is not a valid name for an enumeration case (Originally from src/fsharp/FSComp.txt:591) This code is not sufficiently generic. The type variable %s could not be generalized because it would escape its scope. (Originally from src/fsharp/FSComp.txt:517) Not an exception (Originally from src/fsharp/FSComp.txt:765) Non-zero constants cannot have generic units. For generic zero, write 0.0<_>. (Originally from src/fsharp/FSComp.txt:478) The generic member '%s' has been used at a non-uniform instantiation prior to this program point. Consider reordering the members so this member occurs first. Alternatively, specify the full type of the member explicitly, including argument types, return type and any additional generic parameters and constraints. (Originally from src/fsharp/FSComp.txt:1071) This 'let' definition may not be used in a query. Only simple value definitions may be used in queries. (Originally from src/fsharp/FSComp.txt:1286) This value is not a literal and cannot be used in a pattern (Originally from src/fsharp/FSComp.txt:536) 'while' expressions may not be used in queries (Originally from src/fsharp/FSComp.txt:1279) 'try/finally' expressions may not be used in queries (Originally from src/fsharp/FSComp.txt:1280) No abstract property was found that corresponds to this override (Originally from src/fsharp/FSComp.txt:705) No abstract or interface member was found that corresponds to this override (Originally from src/fsharp/FSComp.txt:701) Interface implementations cannot be given on construction expressions (Originally from src/fsharp/FSComp.txt:622) In queries, use the form 'for x in n .. m do ...' for ranging over integers (Originally from src/fsharp/FSComp.txt:1278) The struct, record or union type '%s' does not support structural equality because the type '%s' does not satisfy the 'equality' constraint. Consider adding the 'NoEquality' attribute to the type '%s' to clarify that the type does not support structural equality (Originally from src/fsharp/FSComp.txt:1050) The struct, record or union type '%s' does not support structural equality because the type parameter %s does not satisfy the 'equality' constraint. Consider adding the 'NoEquality' attribute to the type '%s' to clarify that the type does not support structural equality (Originally from src/fsharp/FSComp.txt:1049) The struct, record or union type '%s' is not structurally comparable because the type '%s' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type '%s' to clarify that the type is not comparable (Originally from src/fsharp/FSComp.txt:1048) The struct, record or union type '%s' is not structurally comparable because the type parameter %s does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type '%s' to clarify that the type is not comparable (Originally from src/fsharp/FSComp.txt:1047) No arguments may be given when constructing a record value (Originally from src/fsharp/FSComp.txt:621) The member '%s' does not correspond to any abstract or virtual method available to override or implement. (Originally from src/fsharp/FSComp.txt:613) 'new' may only be used with object constructors (Originally from src/fsharp/FSComp.txt:629) 'new' must be used with a named type (Originally from src/fsharp/FSComp.txt:619) 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. (Originally from src/fsharp/FSComp.txt:709) This new member hides the abstract member '%s'. Rename the member or use 'override' instead. (Originally from src/fsharp/FSComp.txt:708) 'new' cannot be used on interface types. Consider using an object expression '{ new ... with ... }' instead. (Originally from src/fsharp/FSComp.txt:604) Namespaces cannot contain values. Consider using a module to hold your value declarations. (Originally from src/fsharp/FSComp.txt:487) 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. (Originally from src/fsharp/FSComp.txt:488) '%s' may only be used with named types (Originally from src/fsharp/FSComp.txt:602) Named arguments cannot be given to member trait calls (Originally from src/fsharp/FSComp.txt:590) The named argument '%s' did not match any argument or mutable property (Originally from src/fsharp/FSComp.txt:661) %s is an active pattern and cannot be treated as a discriminated union case with named fields. (Originally from src/fsharp/FSComp.txt:1357) Name '%s' not bound in pattern context (Originally from src/fsharp/FSComp.txt:564) Named arguments must appear after all other arguments (Originally from src/fsharp/FSComp.txt:538) Mutable function values should be written 'let mutable f = (fun args -> ...)' (Originally from src/fsharp/FSComp.txt:677) Mutable values cannot have generic parameters (Originally from src/fsharp/FSComp.txt:676) Mutable values cannot be marked 'inline' (Originally from src/fsharp/FSComp.txt:675) Multiple visibility attributes have been specified for this identifier. 'let' bindings in classes are always private, as are any 'let' bindings inside expressions. (Originally from src/fsharp/FSComp.txt:490) Multiple visibility attributes have been specified for this identifier (Originally from src/fsharp/FSComp.txt:489) 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. (Originally from src/fsharp/FSComp.txt:736) The path '%s' is a namespace. A module abbreviation may not abbreviate a namespace. (Originally from src/fsharp/FSComp.txt:811) In a recursive declaration group, module abbreviations must come after all 'open' declarations and before other declarations (Originally from src/fsharp/FSComp.txt:1349) A custom query operation for '%s' is required but not specified (Originally from src/fsharp/FSComp.txt:1217) Method overrides and interface implementations are not permitted here (Originally from src/fsharp/FSComp.txt:700) Method '%s' is not accessible from this code location (Originally from src/fsharp/FSComp.txt:474) 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. (Originally from src/fsharp/FSComp.txt:803) 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. (Originally from src/fsharp/FSComp.txt:813) Interfaces cannot contain definitions of member overrides (Originally from src/fsharp/FSComp.txt:712) Extension members cannot provide operator overloads. Consider defining the operator as part of the type definition instead. (Originally from src/fsharp/FSComp.txt:1091) This member is not permitted in an interface implementation (Originally from src/fsharp/FSComp.txt:753) MemberKind.PropertyGetSet only expected in parse trees (Originally from src/fsharp/FSComp.txt:486) This member is not sufficiently generic (Originally from src/fsharp/FSComp.txt:720) The type %s contains the member '%s' but it is not a virtual or abstract method that is available to override or implement. (Originally from src/fsharp/FSComp.txt:614) A member and a local class binding both have the name '%s' (Originally from src/fsharp/FSComp.txt:747) Measure definitions cannot have type parameters (Originally from src/fsharp/FSComp.txt:771) Measure declarations may have only static members: constructors are not available (Originally from src/fsharp/FSComp.txt:746) Measure declarations may have only static members (Originally from src/fsharp/FSComp.txt:742) 'match' expressions may not be used in queries (Originally from src/fsharp/FSComp.txt:1305) This lookup cannot be used here (Originally from src/fsharp/FSComp.txt:654) Local class bindings cannot be marked inline. Consider lifting the definition out of the class or else do not mark it as inline. (Originally from src/fsharp/FSComp.txt:738) This literal pattern does not take arguments (Originally from src/fsharp/FSComp.txt:1337) Literal values cannot have generic parameters (Originally from src/fsharp/FSComp.txt:682) A literal value cannot be marked 'mutable' (Originally from src/fsharp/FSComp.txt:680) A literal value cannot be marked 'inline' (Originally from src/fsharp/FSComp.txt:681) A declaration may only be the [<Literal>] attribute if a constant value is also given, e.g. 'val x : int = 1' (Originally from src/fsharp/FSComp.txt:721) This list expression exceeds the maximum size for list literals. Use an array for larger literals and call Array.ToList. (Originally from src/fsharp/FSComp.txt:588) 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) = ...'. (Originally from src/fsharp/FSComp.txt:809) 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'. (Originally from src/fsharp/FSComp.txt:507) The kind of the type specified by its attributes does not match the kind implied by its definition (Originally from src/fsharp/FSComp.txt:770) In queries, '%s' must use a simple pattern (Originally from src/fsharp/FSComp.txt:1216) A type annotated with IsReadOnly must also be a struct. Consider adding the [<Struct>] attribute to the type. (Originally from src/fsharp/FSComp.txt:1465) Invalid use of a type name (Originally from src/fsharp/FSComp.txt:646) Invalid use of an interface type (Originally from src/fsharp/FSComp.txt:650) Invalid use of a delegate constructor. Use the syntax 'new Type(args)' or just 'Type(args)'. (Originally from src/fsharp/FSComp.txt:651) The 'UseNullAsTrueValue' attribute flag may only be used with union types that have one nullary case and at least one non-nullary case (Originally from src/fsharp/FSComp.txt:1069) 'use' bindings must be of the form 'use <var> = <expr>' (Originally from src/fsharp/FSComp.txt:698) use! may not be combined with and! (Originally from src/fsharp/FSComp.txt:1488) 'use!' bindings must be of the form 'use! <var> = <expr>' (Originally from src/fsharp/FSComp.txt:1101) Units-of-measure cannot be used as prefix arguments to a type. Rewrite as postfix arguments in angle brackets. (Originally from src/fsharp/FSComp.txt:552) Units-of-measure supported only on float, float32, decimal and signed integer types (Originally from src/fsharp/FSComp.txt:481) Literal enumerations must have type int, uint, int16, uint16, int64, uint64, byte, sbyte or char (Originally from src/fsharp/FSComp.txt:798) Invalid type extension (Originally from src/fsharp/FSComp.txt:768) Type arguments cannot be specified here (Originally from src/fsharp/FSComp.txt:566) The number of type arguments did not match: '%d' given, '%d' expected. This may be related to a previously reported error. (Originally from src/fsharp/FSComp.txt:1210) Invalid signature for set member (Originally from src/fsharp/FSComp.txt:707) Invalid record, sequence or computation expression. Sequence expressions should be of the form 'seq { ... }' (Originally from src/fsharp/FSComp.txt:585) Invalid join relation in '%s'. Expected 'expr <op> expr', where <op> is =, =?, ?= or ?=?. (Originally from src/fsharp/FSComp.txt:1263) Invalid record construction (Originally from src/fsharp/FSComp.txt:632) 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)'. (Originally from src/fsharp/FSComp.txt:547) This is not a valid pattern (Originally from src/fsharp/FSComp.txt:576) Invalid optional assignment to a property or field (Originally from src/fsharp/FSComp.txt:666) 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. (Originally from src/fsharp/FSComp.txt:495) 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. (Originally from src/fsharp/FSComp.txt:496) The '%s' operator should not normally be redefined. Consider using a different operator name (Originally from src/fsharp/FSComp.txt:497) Invalid object, sequence or record expression (Originally from src/fsharp/FSComp.txt:584) Invalid object expression. Objects without overrides or interfaces should use the expression form 'new Type(args)' without braces. (Originally from src/fsharp/FSComp.txt:583) 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. (Originally from src/fsharp/FSComp.txt:542) 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. (Originally from src/fsharp/FSComp.txt:565) 'new' constraints must take one argument of type 'unit' and return the constructed type (Originally from src/fsharp/FSComp.txt:546) Invalid namespace, module, type or union case name (Originally from src/fsharp/FSComp.txt:728) Invalid module name (Originally from src/fsharp/FSComp.txt:767) This recursive binding uses an invalid mixture of recursive forms (Originally from src/fsharp/FSComp.txt:541) 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. (Originally from src/fsharp/FSComp.txt:491) 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. (Originally from src/fsharp/FSComp.txt:492) 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 (Originally from src/fsharp/FSComp.txt:494) Invalid member name. Members may not have name '.ctor' or '.cctor' (Originally from src/fsharp/FSComp.txt:1208) 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. (Originally from src/fsharp/FSComp.txt:493) Invalid inline specification (Originally from src/fsharp/FSComp.txt:697) Invalid indexer expression (Originally from src/fsharp/FSComp.txt:597) The '%s' operator cannot be redefined. Consider using a different operator name (Originally from src/fsharp/FSComp.txt:498) Internal error. Invalid index into active pattern array (Originally from src/fsharp/FSComp.txt:569) This is not a valid value for an enumeration literal (Originally from src/fsharp/FSComp.txt:731) An 'enum' constraint must be of the form 'enum<type>' (Originally from src/fsharp/FSComp.txt:545) Delegate specifications must be of the form 'typ -> typ' (Originally from src/fsharp/FSComp.txt:796) Invalid declaration (Originally from src/fsharp/FSComp.txt:529) Invalid constraint: the type used for the constraint is sealed, which means the constraint could only be satisfied by at most one solution (Originally from src/fsharp/FSComp.txt:544) Invalid constraint (Originally from src/fsharp/FSComp.txt:543) This is not a valid constant expression (Originally from src/fsharp/FSComp.txt:683) Invalid assignment (Originally from src/fsharp/FSComp.txt:645) Invalid argument to parameterized pattern label (Originally from src/fsharp/FSComp.txt:568) This is not a valid name for an active pattern (Originally from src/fsharp/FSComp.txt:673) A use of 'into' must be followed by the remainder of the computation (Originally from src/fsharp/FSComp.txt:1269) Interfaces inherited by other interfaces should be declared using 'inherit ...' instead of 'interface ...' (Originally from src/fsharp/FSComp.txt:1080) Interface types cannot be sealed (Originally from src/fsharp/FSComp.txt:795) Interface types and delegate types cannot contain fields (Originally from src/fsharp/FSComp.txt:790) This instance member needs a parameter to represent the object being invoked. Make the member static or use the notation 'member x.Member(args) = ...'. (Originally from src/fsharp/FSComp.txt:520) The inherited type is not an object model type (Originally from src/fsharp/FSComp.txt:634) A inheritance declaration is not permitted here (Originally from src/fsharp/FSComp.txt:735) This 'inherit' declaration specifies the inherited type but no arguments. Consider supplying arguments, e.g. 'inherit BaseType(args)'. (Originally from src/fsharp/FSComp.txt:807) 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) = ...'. (Originally from src/fsharp/FSComp.txt:808) 'inherit' cannot be used on interface types. Consider implementing the interface by using 'interface ... with ... end' instead. (Originally from src/fsharp/FSComp.txt:603) The function or member '%s' is used in a way that requires further type annotations at its definition to ensure consistency of inferred types. The inferred signature is '%s'. (Originally from src/fsharp/FSComp.txt:1209) Implicit product of measures following / (Originally from src/fsharp/FSComp.txt:476) The struct, record or union type '%s' implements the interface 'System.IStructuralEquatable' explicitly. Apply the 'CustomEquality' attribute to the type. (Originally from src/fsharp/FSComp.txt:758) The struct, record or union type '%s' implements the interface 'System.IStructuralComparable' explicitly. Apply the 'CustomComparison' attribute to the type. (Originally from src/fsharp/FSComp.txt:502) 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)'. (Originally from src/fsharp/FSComp.txt:759) The struct, record or union type '%s' implements the interface 'System.IComparable' explicitly. You must apply the 'CustomComparison' attribute to the type. (Originally from src/fsharp/FSComp.txt:500) 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. (Originally from src/fsharp/FSComp.txt:501) Illegal syntax in type expression (Originally from src/fsharp/FSComp.txt:558) This is not valid literal expression. The [<Literal>] attribute will be ignored. (Originally from src/fsharp/FSComp.txt:1323) Illegal pattern (Originally from src/fsharp/FSComp.txt:578) Explicit type declarations for constructors must be of the form 'ty1 * ... * tyN -> resTy'. Parentheses may be required around 'resTy' (Originally from src/fsharp/FSComp.txt:729) A literal value cannot be given the [<ThreadStatic>] or [<ContextStatic>] attributes (Originally from src/fsharp/FSComp.txt:679) An if/then/else expression may not be used within queries. Consider using either an if/then expression, or use a sequence expression instead. (Originally from src/fsharp/FSComp.txt:1226) 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 (Originally from src/fsharp/FSComp.txt:606) The system type '%s' was required but no referenced system DLL contained this type (Originally from src/fsharp/FSComp.txt:1359) Generic types cannot be given the 'StructLayout' attribute (Originally from src/fsharp/FSComp.txt:778) A generic type parameter has been used in a way that constrains it to always be '%s' (Originally from src/fsharp/FSComp.txt:509) The provided types generated by this use of a type provider may not be used from other F# assemblies and should be marked internal or private. Consider using 'type internal TypeName = ...' or 'type private TypeName = ...'. (Originally from src/fsharp/FSComp.txt:1312) The generic function '%s' must be given explicit type argument(s) (Originally from src/fsharp/FSComp.txt:531) 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. (Originally from src/fsharp/FSComp.txt:539) The corresponding formal argument is not optional (Originally from src/fsharp/FSComp.txt:665) Invalid use of 'fixed'. 'fixed' may only be used in a declaration of the form 'use x = fixed expr' where the expression is an array, the address of a field, the address of an array element or a string' (Originally from src/fsharp/FSComp.txt:1354) The field labels and expected type of this record expression or pattern do not uniquely determine a corresponding record type (Originally from src/fsharp/FSComp.txt:514) A field/val declaration is not permitted here (Originally from src/fsharp/FSComp.txt:734) This field requires a name (Originally from src/fsharp/FSComp.txt:727) No assignment given for field '%s' of type '%s' (Originally from src/fsharp/FSComp.txt:610) This field is not a literal and cannot be used in a pattern (Originally from src/fsharp/FSComp.txt:574) Named field '%s' is used more than once. (Originally from src/fsharp/FSComp.txt:1320) Named field '%s' conflicts with autogenerated name for anonymous field. (Originally from src/fsharp/FSComp.txt:1321) This field is readonly (Originally from src/fsharp/FSComp.txt:537) Field '%s' is not static (Originally from src/fsharp/FSComp.txt:573) This field is not mutable (Originally from src/fsharp/FSComp.txt:592) The field '%s' appears twice in this record expression or pattern (Originally from src/fsharp/FSComp.txt:515) All record, union and struct types in FSharp.Core.dll must be explicitly labelled with 'StructuralComparison' or 'NoComparison' (Originally from src/fsharp/FSComp.txt:1044) Extraneous fields have been given values (Originally from src/fsharp/FSComp.txt:611) 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 (Originally from src/fsharp/FSComp.txt:586) This expression form may only be used in sequence and computation expressions (Originally from src/fsharp/FSComp.txt:582) The expression form { expr with ... } may only be used with record types. To build object types use { new Type(...) with ... } (Originally from src/fsharp/FSComp.txt:633) The expression form 'expr then expr' may only be used as part of an explicit object constructor (Originally from src/fsharp/FSComp.txt:589) Expected %d expressions, got %d (Originally from src/fsharp/FSComp.txt:580) TcExprUndelayed: delayed (Originally from src/fsharp/FSComp.txt:581) Explicit type specifications cannot be used for exception constructors (Originally from src/fsharp/FSComp.txt:760) Explicit type parameters may only be used on module or member bindings (Originally from src/fsharp/FSComp.txt:512) An explicit static initializer should use the syntax 'static new(args) = expr' (Originally from src/fsharp/FSComp.txt:525) An explicit object constructor should use the syntax 'new(args) = expr' (Originally from src/fsharp/FSComp.txt:526) Expected unit-of-measure, not type (Originally from src/fsharp/FSComp.txt:551) Expected unit-of-measure parameter, not type parameter. Explicit unit-of-measure parameters must be marked with the [<Measure>] attribute. (Originally from src/fsharp/FSComp.txt:548) Expected type parameter, not unit-of-measure parameter (Originally from src/fsharp/FSComp.txt:549) Expected type, not unit-of-measure (Originally from src/fsharp/FSComp.txt:550) Expected an interface type (Originally from src/fsharp/FSComp.txt:626) Expected module or namespace parent %s (Originally from src/fsharp/FSComp.txt:499) The exception '%s' does not have a field named '%s'. (Originally from src/fsharp/FSComp.txt:1316) Exception abbreviations should not have argument lists (Originally from src/fsharp/FSComp.txt:761) Exception abbreviations must refer to existing exceptions or F# types deriving from System.Exception (Originally from src/fsharp/FSComp.txt:763) Event '%s' is static (Originally from src/fsharp/FSComp.txt:659) Event '%s' is not static (Originally from src/fsharp/FSComp.txt:660) Enumerations cannot have members (Originally from src/fsharp/FSComp.txt:741) Enumerations cannot have interface declarations (Originally from src/fsharp/FSComp.txt:749) The type '%s' is not a valid enumerator type , i.e. does not have a 'MoveNext()' method returning a bool, and a 'Current' property (Originally from src/fsharp/FSComp.txt:1103) The 'EntryPointAttribute' attribute may only be used on function definitions in modules (Originally from src/fsharp/FSComp.txt:674) '{ }' is not a valid expression. Records must include at least one field. Empty sequences are specified by using Seq.empty or an empty list '[]'. (Originally from src/fsharp/FSComp.txt:636) Copy-and-update record expressions must include at least one field. (Originally from src/fsharp/FSComp.txt:1310) Duplicate specification of an interface (Originally from src/fsharp/FSComp.txt:733) The method or function '%s' should not be given explicit type argument(s) because it does not declare its type parameters explicitly (Originally from src/fsharp/FSComp.txt:532) 'do!' cannot be used within sequence expressions (Originally from src/fsharp/FSComp.txt:641) DLLImport stubs cannot be inlined (Originally from src/fsharp/FSComp.txt:504) DLLImport bindings must be static members in a class or function definitions in a module (Originally from src/fsharp/FSComp.txt:1097) Delegate specifications must not be curried types. Use 'typ * ... * typ -> typ' for multi-argument delegates, and 'typ -> (typ -> typ)' for delegates returning function values. (Originally from src/fsharp/FSComp.txt:797) A delegate constructor must be passed a single function value (Originally from src/fsharp/FSComp.txt:667) The 'DefaultValue' attribute may only be used on 'val' declarations (Originally from src/fsharp/FSComp.txt:671) The default, zero-initializing constructor of a struct type may only be used if all the fields of the struct type admit default initialization (Originally from src/fsharp/FSComp.txt:534) 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 (Originally from src/fsharp/FSComp.txt:752) This method already has a default implementation (Originally from src/fsharp/FSComp.txt:703) The method implemented by this default is ambiguous (Originally from src/fsharp/FSComp.txt:704) 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' (Originally from src/fsharp/FSComp.txt:804) This declaration element is not permitted in an augmentation (Originally from src/fsharp/FSComp.txt:754) '%s' is not used correctly. Usage: %s. This is a custom operation in this query or computation expression. (Originally from src/fsharp/FSComp.txt:1231) '%s' is not used correctly. This is a custom operation in this query or computation expression. (Originally from src/fsharp/FSComp.txt:1230) A custom operation may not be used in conjunction with a non-value or recursive 'let' binding in another part of this computation expression (Originally from src/fsharp/FSComp.txt:1223) A custom operation may not be used in conjunction with 'use', 'try/with', 'try/finally', 'if/then/else' or 'match' operators within this computation expression (Originally from src/fsharp/FSComp.txt:1224) The custom operation '%s' refers to a method which is overloaded. The implementations of custom operations may not be overloaded. (Originally from src/fsharp/FSComp.txt:1225) The definition of the custom operator '%s' does not use a valid combination of attribute flags (Originally from src/fsharp/FSComp.txt:1271) '%s' is used with an incorrect number of arguments. This is a custom operation in this query or computation expression. Expected %d argument(s), but given %d. (Originally from src/fsharp/FSComp.txt:1238) A custom attribute must invoke an object constructor (Originally from src/fsharp/FSComp.txt:694) A custom attribute must be a reference type (Originally from src/fsharp/FSComp.txt:692) The number of args for a custom attribute does not match the expected number of args for the attribute constructor (Originally from src/fsharp/FSComp.txt:693) Could not find method System.Runtime.CompilerServices.OffsetToStringData in references when building 'fixed' expression. (Originally from src/fsharp/FSComp.txt:1355) Couldn't find Dispose on IDisposable, or it was overloaded (Originally from src/fsharp/FSComp.txt:535) The input to a copy-and-update expression that creates an anonymous record must be either an anonymous record or a record (Originally from src/fsharp/FSComp.txt:1477) Constructors are not permitted as extension members - they must be defined as part of the original definition of the type (Originally from src/fsharp/FSComp.txt:1338) Constructors cannot be defined for this type (Originally from src/fsharp/FSComp.txt:716) Constructors cannot be specified in exception augmentations (Originally from src/fsharp/FSComp.txt:714) 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))'. (Originally from src/fsharp/FSComp.txt:657) 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. (Originally from src/fsharp/FSComp.txt:608) This object constructor requires arguments (Originally from src/fsharp/FSComp.txt:628) Constructor expressions for interfaces do not take arguments (Originally from src/fsharp/FSComp.txt:627) The constructor does not have a field named '%s'. (Originally from src/fsharp/FSComp.txt:1318) A constructor cannot have explicit type parameters. Consider using a static construction method instead. (Originally from src/fsharp/FSComp.txt:519) This construct may only be used within sequence or computation expressions (Originally from src/fsharp/FSComp.txt:595) 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 (Originally from src/fsharp/FSComp.txt:593) This construct may only be used within computation expressions. To return a value from an ordinary function simply write the expression without 'return'. (Originally from src/fsharp/FSComp.txt:594) This construct may only be used within computation expressions (Originally from src/fsharp/FSComp.txt:596) This construct is ambiguous as part of a sequence expression. Nested expressions may be written using 'let _ = (...)' and nested sequences using 'yield! seq {... }'. (Originally from src/fsharp/FSComp.txt:640) This construct is ambiguous as part of a computation expression. Nested expressions may be written using 'let _ = (...)' and nested computations using 'let! res = builder { ... }'. (Originally from src/fsharp/FSComp.txt:639) 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 (Originally from src/fsharp/FSComp.txt:508) Attribute 'System.Diagnostics.ConditionalAttribute' is only valid on methods or attribute classes (Originally from src/fsharp/FSComp.txt:1089) The 'ConditionalAttribute' attribute may only be used on members (Originally from src/fsharp/FSComp.txt:672) Interfaces cannot contain definitions of concrete members. You may need to define a constructor on your type to indicate that the type is a class. (Originally from src/fsharp/FSComp.txt:713) The 'CompiledName' attribute cannot be used with this language element (Originally from src/fsharp/FSComp.txt:601) Cannot partially apply the extension method '%s' because the first parameter is a byref type. (Originally from src/fsharp/FSComp.txt:1473) Cannot override inherited member '%s' because it is sealed (Originally from src/fsharp/FSComp.txt:1211) Cannot inherit from a variable type (Originally from src/fsharp/FSComp.txt:599) Cannot inherit a sealed type (Originally from src/fsharp/FSComp.txt:792) Cannot inherit from interface type. Use interface ... with instead. (Originally from src/fsharp/FSComp.txt:793) Cannot inherit from erased provided type (Originally from src/fsharp/FSComp.txt:1206) Cannot create an extension of a sealed type (Originally from src/fsharp/FSComp.txt:620) Cannot call the byref extension method '%s. The first parameter requires the value to be mutable or a non-readonly byref type. (Originally from src/fsharp/FSComp.txt:1471) Cannot call an abstract base member: '%s' (Originally from src/fsharp/FSComp.txt:1073) '%s' must be applied to an argument of type '%s', but has been applied to an argument of type '%s' (Originally from src/fsharp/FSComp.txt:1112) '%s' can only be applied to optional arguments (Originally from src/fsharp/FSComp.txt:1113) Byref types are not allowed to have optional type extensions. (Originally from src/fsharp/FSComp.txt:1472) A byref pointer returned by a function or method is implicitly dereferenced as of F# 4.5. To acquire the return value as a pointer, use the address-of operator, e.g. '&f(x)' or '&obj.Method(arg1, arg2)'. (Originally from src/fsharp/FSComp.txt:1460) A type annotated with IsByRefLike must also be a struct. Consider adding the [<Struct>] attribute to the type. (Originally from src/fsharp/FSComp.txt:1461) A binding cannot be marked both 'use' and 'rec' (Originally from src/fsharp/FSComp.txt:668) 'let!', 'use!' and 'do!' expressions may not be used in queries (Originally from src/fsharp/FSComp.txt:1282) '%s' must be followed by a variable name. Usage: %s. (Originally from src/fsharp/FSComp.txt:1235) '%s' must come after a 'for' selection clause and be followed by the rest of the query. Syntax: ... %s ... (Originally from src/fsharp/FSComp.txt:1237) 'member val' definitions are only permitted in types with a primary constructor. Consider adding arguments to your type definition, e.g. 'type X(args) = ...'. (Originally from src/fsharp/FSComp.txt:1273) Attributes cannot be applied to type extensions. (Originally from src/fsharp/FSComp.txt:1478) The attributes of this type specify multiple kinds for the type (Originally from src/fsharp/FSComp.txt:769) Attributes are not allowed within patterns (Originally from src/fsharp/FSComp.txt:530) Attributes are not permitted on 'let' bindings in expressions (Originally from src/fsharp/FSComp.txt:670) 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. (Originally from src/fsharp/FSComp.txt:687) This attribute is not valid for use on this language element (Originally from src/fsharp/FSComp.txt:688) Attribute expressions must be calls to object constructors (Originally from src/fsharp/FSComp.txt:695) The attribute 'AutoOpen(\"%s\")' in the assembly '%s' did not refer to a valid module or namespace in that assembly and has been ignored (Originally from src/fsharp/FSComp.txt:816) The attribute '%s' appears in both the implementation and the signature, but the attribute arguments differ. Only the attribute from the signature will be included in the compiled code. (Originally from src/fsharp/FSComp.txt:1072) At least one override did not correctly implement its corresponding abstract member (Originally from src/fsharp/FSComp.txt:630) 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 (Originally from src/fsharp/FSComp.txt:616) 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 (Originally from src/fsharp/FSComp.txt:615) Anonymous unit-of-measure cannot be nested inside another unit-of-measure expression (Originally from src/fsharp/FSComp.txt:559) Anonymous type variables are not permitted in this declaration (Originally from src/fsharp/FSComp.txt:560) This anonymous record has too many fields. Remove the extra fields %s. (Originally from src/fsharp/FSComp.txt:1368) This anonymous record does not have enough fields. Add the missing fields %s. (Originally from src/fsharp/FSComp.txt:1367) This anonymous record does not exactly match the expected shape. Add the missing fields %s and remove the extra fields %s. (Originally from src/fsharp/FSComp.txt:1366) This is the wrong anonymous record. It should have the fields %s. (Originally from src/fsharp/FSComp.txt:1369) Two anonymous record types are from different assemblies '%s' and '%s' (Originally from src/fsharp/FSComp.txt:1365) This feature is not supported in this version of F#. You may need to add /langversion:preview to use this feature. (Originally from src/fsharp/FSComp.txt:1487) Types with the 'AllowNullLiteral' attribute may only inherit from or implement types which also allow the use of the null literal (Originally from src/fsharp/FSComp.txt:777) All implemented interfaces should be declared on the initial declaration of the type (Originally from src/fsharp/FSComp.txt:751) Active patterns do not have fields. This syntax is invalid. (Originally from src/fsharp/FSComp.txt:1317) 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. (Originally from src/fsharp/FSComp.txt:605) This property overrides or implements an abstract property but the abstract property doesn't have a corresponding %s (Originally from src/fsharp/FSComp.txt:706) Abstract members are not permitted in an augmentation - they must be defined as part of the type itself (Originally from src/fsharp/FSComp.txt:699) Abbreviations for Common IL exception types must have a matching object constructor (Originally from src/fsharp/FSComp.txt:764) Abbreviations for Common IL exceptions cannot take arguments (Originally from src/fsharp/FSComp.txt:762) Abbreviated types cannot be given the 'Sealed' attribute (Originally from src/fsharp/FSComp.txt:791) F# supports array ranks between 1 and 32. The value %d is not allowed. (Originally from src/fsharp/FSComp.txt:1277) A value must be mutable in order to mutate the contents or take the address of a value type, e.g. 'let mutable x = ...' (Originally from src/fsharp/FSComp.txt:86) A value defined in a module must be mutable in order to take its address, e.g. 'let mutable x = ...' (Originally from src/fsharp/FSComp.txt:1464) 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 (Originally from src/fsharp/FSComp.txt:88) This value does not have a valid property setter type (Originally from src/fsharp/FSComp.txt:82) Unexpected decode of InternalsVisibleToAttribute (Originally from src/fsharp/FSComp.txt:93) Unexpected decode of InterfaceDataVersionAttribute (Originally from src/fsharp/FSComp.txt:94) Unexpected decode of AutoOpenAttribute (Originally from src/fsharp/FSComp.txt:92) Unexpected use of a byref-typed variable (Originally from src/fsharp/FSComp.txt:85) The module/namespace '%s' from compilation unit '%s' did not contain the val '%s' (Originally from src/fsharp/FSComp.txt:1067) The module/namespace '%s' from compilation unit '%s' did not contain the namespace, module or type '%s' (Originally from src/fsharp/FSComp.txt:1068) The module/namespace '%s' from compilation unit '%s' did not contain the module/namespace '%s' (Originally from src/fsharp/FSComp.txt:1066) The type/module '%s' is not a concrete module or type (Originally from src/fsharp/FSComp.txt:74) The type '%s' has an inline assembly code representation (Originally from src/fsharp/FSComp.txt:75) Two modules named '%s' occur in two parts of this assembly (Originally from src/fsharp/FSComp.txt:78) Recursively defined values cannot appear directly as part of the construction of a tuple value within a recursive binding (Originally from src/fsharp/FSComp.txt:89) 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. (Originally from src/fsharp/FSComp.txt:91) 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. (Originally from src/fsharp/FSComp.txt:90) This is not a valid constant expression or custom attribute value (Originally from src/fsharp/FSComp.txt:96) A namespace and a module named '%s' both occur in two parts of this assembly (Originally from src/fsharp/FSComp.txt:77) Invalid mutation of a constant expression. Consider copying the expression to a mutable local, e.g. 'let mutable x = ...'. (Originally from src/fsharp/FSComp.txt:87) Invalid member signature encountered because of an earlier error (Originally from src/fsharp/FSComp.txt:81) Invalid form for a property setter. At least one argument is required. (Originally from src/fsharp/FSComp.txt:84) Invalid form for a property getter. At least one '()' argument is required when using the explicit syntax. (Originally from src/fsharp/FSComp.txt:83) This operation accesses a mutable top-level value defined in another assembly in an unsupported way. The value cannot be accessed through its address. Consider copying the expression to a mutable local, e.g. 'let mutable x = ...', and if necessary assigning the value back after the completion of the operation (Originally from src/fsharp/FSComp.txt:1060) Two type definitions named '%s' occur in namespace '%s' in two parts of this assembly (Originally from src/fsharp/FSComp.txt:79) This literal expression or attribute argument results in an arithmetic overflow. (Originally from src/fsharp/FSComp.txt:1322) A module and a type definition named '%s' occur in namespace '%s' in two parts of this assembly (Originally from src/fsharp/FSComp.txt:80) Cannot take the address of the value returned from the expression. Assign the returned value to a let-bound value before taking the address. (Originally from src/fsharp/FSComp.txt:1470) Active patterns cannot return more than 7 possibilities (Originally from src/fsharp/FSComp.txt:95) The struct or class field '%s' is not accessible from this code location (Originally from src/fsharp/FSComp.txt:963) Source file is too large to embed in a portable PDB (Originally from src/fsharp/FSComp.txt:865) If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines). Consider using 'return!' instead of 'return'. (Originally from src/fsharp/FSComp.txt:31) Replace with '%s' (Originally from src/fsharp/FSComp.txt:19) Recursive class hierarchy in type '%s' (Originally from src/fsharp/FSComp.txt:955) A ReadOnly attribute has been applied to a struct type with a mutable field. (Originally from src/fsharp/FSComp.txt:1459) Unexpected token '%s' in preprocessor expression (Originally from src/fsharp/FSComp.txt:1329) Missing token '%s' in preprocessor expression (Originally from src/fsharp/FSComp.txt:1331) Incomplete preprocessor expression (Originally from src/fsharp/FSComp.txt:1330) Unexpected character '%s' in preprocessor expression (Originally from src/fsharp/FSComp.txt:1328) Expected single line comment or end of line (Originally from src/fsharp/FSComp.txt:1040) An error occurred while reading the F# metadata of assembly '%s'. A reserved construct was utilized. You may need to upgrade your F# compiler or use an earlier version of the assembly that doesn't make use of a specific construct. (Originally from src/fsharp/FSComp.txt:1453) An error occurred while reading the F# metadata node at position %d in table '%s' of assembly '%s'. The node had no matching declaration. Please report this warning. You may need to recompile the F# assembly you are using. (Originally from src/fsharp/FSComp.txt:1332) Error reading/writing metadata for the F# compiled DLL '%s'. Was the DLL compiled with an earlier version of the F# compiler? (error: '%s'). (Originally from src/fsharp/FSComp.txt:73) A pattern match guard must be of type 'bool', but this 'when' expression is of type '%s'. (Originally from src/fsharp/FSComp.txt:27) Problem with filename '%s': Illegal characters in path. (Originally from src/fsharp/FSComp.txt:1151) Partial active patterns may only generate one result (Originally from src/fsharp/FSComp.txt:973) Missing variable '%s' (Originally from src/fsharp/FSComp.txt:972) Missing 'do' in 'while' expression. Expected 'while <expr> do <expr>'. (Originally from src/fsharp/FSComp.txt:1261) Accessibility modifiers are not permitted on an 'inherits' declaration (Originally from src/fsharp/FSComp.txt:423) Accessibility modifiers should come immediately prior to the identifier naming a construct (Originally from src/fsharp/FSComp.txt:394) 'use' bindings are not permitted in modules and are treated as 'let' bindings (Originally from src/fsharp/FSComp.txt:387) 'use' bindings are not permitted in primary constructors (Originally from src/fsharp/FSComp.txt:386) Unmatched 'with' or badly formatted 'with' block (Originally from src/fsharp/FSComp.txt:410) Incomplete value definition. If this is in an expression, the body of the expression must be indented to the same column as the 'use!' keyword. (Originally from src/fsharp/FSComp.txt:1259) Incomplete value definition. If this is in an expression, the body of the expression must be indented to the same column as the 'use' keyword. (Originally from src/fsharp/FSComp.txt:1260) Unmatched '(' (Originally from src/fsharp/FSComp.txt:437) Incomplete value definition. If this is in an expression, the body of the expression must be indented to the same column as the 'let!' keyword. (Originally from src/fsharp/FSComp.txt:1258) Incomplete value or function definition. If this is in an expression, the body of the expression must be indented to the same column as the 'let' keyword. (Originally from src/fsharp/FSComp.txt:1257) Unmatched '[<'. Expected closing '>]' (Originally from src/fsharp/FSComp.txt:1241) Unmatched 'class', 'interface' or 'struct' (Originally from src/fsharp/FSComp.txt:408) Unmatched '[|' (Originally from src/fsharp/FSComp.txt:453) Unmatched '[' (Originally from src/fsharp/FSComp.txt:448) Unmatched '{|' (Originally from src/fsharp/FSComp.txt:455) Unmatched '{' (Originally from src/fsharp/FSComp.txt:454) Unmatched 'begin' or 'struct' (Originally from src/fsharp/FSComp.txt:401) Unmatched 'begin' (Originally from src/fsharp/FSComp.txt:413) Unmatched '%s' (Originally from src/fsharp/FSComp.txt:452) Accessibility modifiers are not permitted on union cases. Use 'type U = internal ...' or 'type U = private ...' to give an accessibility to the whole representation. (Originally from src/fsharp/FSComp.txt:432) Unexpected token '%s' or incomplete expression (Originally from src/fsharp/FSComp.txt:1297) Accessibility modifiers are not permitted here, but '%s' was given. (Originally from src/fsharp/FSComp.txt:392) Syntax error: unexpected type parameter specification (Originally from src/fsharp/FSComp.txt:465) Unexpected symbol '=' in expression. Did you intend to use 'for x in y .. z do' instead? (Originally from src/fsharp/FSComp.txt:1362) Unexpected symbol '.' in member definition. Expected 'with', '=' or other token. (Originally from src/fsharp/FSComp.txt:431) A semicolon is not expected at this point (Originally from src/fsharp/FSComp.txt:390) Unexpected quotation operator '<@' in type definition. If you intend to pass a verbatim string as a static argument to a type provider, put a space between the '<' and '@' characters. (Originally from src/fsharp/FSComp.txt:1109) Unexpected infix operator in unit-of-measure expression. Legal operators are '*', '/' and '^'. (Originally from src/fsharp/FSComp.txt:463) Unexpected integer literal in unit-of-measure expression (Originally from src/fsharp/FSComp.txt:464) Unexpected infix operator in type expression (Originally from src/fsharp/FSComp.txt:460) Unexpected identifier: '%s' (Originally from src/fsharp/FSComp.txt:430) Unexpected end of input in 'match' or 'try' expression (Originally from src/fsharp/FSComp.txt:1246) Unexpected end of input in 'while' expression. Expected 'while <expr> do <expr>'. (Originally from src/fsharp/FSComp.txt:1244) Unexpected end of input in type signature (Originally from src/fsharp/FSComp.txt:1251) Unexpected end of input in type definition (Originally from src/fsharp/FSComp.txt:1252) Unexpected end of input in type arguments (Originally from src/fsharp/FSComp.txt:1250) Unexpected end of input in 'try' expression. Expected 'try <expr> with <rules>' or 'try <expr> finally <expr>'. (Originally from src/fsharp/FSComp.txt:1243) Unexpected end of input in 'then' branch of conditional expression. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'. (Originally from src/fsharp/FSComp.txt:1247) Unexpected end of input in object members (Originally from src/fsharp/FSComp.txt:1253) Unexpected end of input in 'match' expression. Expected 'match <expr> with | <pat> -> <expr> | <pat> -> <expr> ...'. (Originally from src/fsharp/FSComp.txt:1242) Unexpected end of input in body of lambda expression. Expected 'fun <pat> ... <pat> -> <expr>'. (Originally from src/fsharp/FSComp.txt:1249) Unexpected end of input in 'for' expression. Expected 'for <pat> in <expr> do <expr>'. (Originally from src/fsharp/FSComp.txt:1245) Unexpected end of input in expression (Originally from src/fsharp/FSComp.txt:1255) Unexpected end of input in 'else' branch of conditional expression. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'. (Originally from src/fsharp/FSComp.txt:1248) Unexpected end of input in value, function or member definition (Originally from src/fsharp/FSComp.txt:1254) Unexpected end of input (Originally from src/fsharp/FSComp.txt:391) Unexpected empty type moduleDefn list (Originally from src/fsharp/FSComp.txt:403) '_' cannot be used as field name (Originally from src/fsharp/FSComp.txt:1311) Unclosed block (Originally from src/fsharp/FSComp.txt:400) Type name cannot be empty. (Originally from src/fsharp/FSComp.txt:1299) Type annotations on property getters and setters must be given after the 'get()' or 'set(v)', e.g. 'with get() : string = ...' (Originally from src/fsharp/FSComp.txt:416) Accessibility modifiers are not permitted in this position for type abbreviations (Originally from src/fsharp/FSComp.txt:426) The syntax 'module ... = struct .. end' is not used in F# code. Consider using 'module ... = begin .. end' (Originally from src/fsharp/FSComp.txt:471) The syntax 'module ... : sig .. end' is not used in F# code. Consider using 'module ... = begin .. end' (Originally from src/fsharp/FSComp.txt:472) Syntax error in labelled type argument (Originally from src/fsharp/FSComp.txt:459) Syntax error (Originally from src/fsharp/FSComp.txt:406) Successive patterns should be separated by spaces or tupled (Originally from src/fsharp/FSComp.txt:438) Successive arguments should be separated by spaces or tupled, and arguments involving function or method applications should be parenthesized (Originally from src/fsharp/FSComp.txt:447) A setter property may have at most two argument groups (Originally from src/fsharp/FSComp.txt:1057) Property setters must be defined using 'set value = ', 'set idx value = ' or 'set (idx1,...,idxN) value = ... ' (Originally from src/fsharp/FSComp.txt:419) Accessibility modifiers are not permitted on record fields. Use 'type R = internal ...' or 'type R = private ...' to give an accessibility to the whole representation. (Originally from src/fsharp/FSComp.txt:435) In F# code you may use 'expr.[expr]'. A type annotation may be required to indicate the first expression is an array (Originally from src/fsharp/FSComp.txt:450) At most one 'with' augmentation is permitted (Originally from src/fsharp/FSComp.txt:389) Only '#' compiler directives may occur prior to the first 'namespace' declaration (Originally from src/fsharp/FSComp.txt:393) Only class types may take value arguments (Originally from src/fsharp/FSComp.txt:412) The use of the type syntax 'int C' and 'C <int>' is not permitted here. Consider adjusting this type to be written in the form 'C<int>' (Originally from src/fsharp/FSComp.txt:1063) Remove spaces between the type name and type parameter, e.g. \"type C<'T>\", not type \"C <'T>\". Type parameters must be placed directly adjacent to the type name. (Originally from src/fsharp/FSComp.txt:1061) Remove spaces between the type name and type parameter, e.g. \"C<'T>\", not \"C <'T>\". Type parameters must be placed directly adjacent to the type name. (Originally from src/fsharp/FSComp.txt:1062) No matching 'in' found for this 'let' (Originally from src/fsharp/FSComp.txt:439) No #endif found for #if or #else (Originally from src/fsharp/FSComp.txt:384) No '=' symbol should follow a 'namespace' declaration (Originally from src/fsharp/FSComp.txt:470) 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 = ...' (Originally from src/fsharp/FSComp.txt:395) To indicate that this property can be set, use 'member val PropertyName = expr with get,set'. (Originally from src/fsharp/FSComp.txt:1275) Property definitions may not be declared mutable. To indicate that this property can be set, use 'member val PropertyName = expr with get,set'. (Originally from src/fsharp/FSComp.txt:1274) Multiple accessibilities given for property getter or setter (Originally from src/fsharp/FSComp.txt:418) The syntax '(typ,...,typ) ident' is not used in F# code. Consider using 'ident<typ,...,typ>' instead (Originally from src/fsharp/FSComp.txt:461) A module name must be a simple name, not a path (Originally from src/fsharp/FSComp.txt:402) A module abbreviation must be a simple name, not a path (Originally from src/fsharp/FSComp.txt:396) Expected type argument or static argument (Originally from src/fsharp/FSComp.txt:1107) Missing qualification after '.' (Originally from src/fsharp/FSComp.txt:449) Unmatched '<'. Expected closing '>' (Originally from src/fsharp/FSComp.txt:1108) Missing function body (Originally from src/fsharp/FSComp.txt:458) Mismatched quotation, beginning with '%s' (Originally from src/fsharp/FSComp.txt:451) Mismatched quotation operator name, beginning with '%s' (Originally from src/fsharp/FSComp.txt:466) This member is not permitted in an object implementation (Originally from src/fsharp/FSComp.txt:457) The declaration form 'let ... and ...' for non-recursive bindings is not used in F# code. Consider using a sequence of 'let' bindings (Originally from src/fsharp/FSComp.txt:436) Invalid use of 'rec' keyword (Originally from src/fsharp/FSComp.txt:1351) Invalid property getter or setter (Originally from src/fsharp/FSComp.txt:1058) Invalid operator definition. Prefix operator definitions must use a valid prefix operator name. (Originally from src/fsharp/FSComp.txt:1082) Invalid prefix operator (Originally from src/fsharp/FSComp.txt:1081) Invalid literal in type (Originally from src/fsharp/FSComp.txt:462) Invalid declaration syntax (Originally from src/fsharp/FSComp.txt:414) Invalid anonymous record type (Originally from src/fsharp/FSComp.txt:1476) Invalid anonymous record expression (Originally from src/fsharp/FSComp.txt:1475) Interfaces always have the same visibility as the enclosing type (Originally from src/fsharp/FSComp.txt:420) An integer for loop must use a simple identifier (Originally from src/fsharp/FSComp.txt:388) Accessibility modifiers are not permitted on inline assembly code types (Originally from src/fsharp/FSComp.txt:429) '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. (Originally from src/fsharp/FSComp.txt:424) An indexer property must be given at least one argument (Originally from src/fsharp/FSComp.txt:1059) Incomplete conditional. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'. (Originally from src/fsharp/FSComp.txt:442) 'in' or '=' expected (Originally from src/fsharp/FSComp.txt:445) Neither 'member val' nor 'override val' definitions are permitted in object expressions. (Originally from src/fsharp/FSComp.txt:1309) Denominator must not be 0 in unit-of-measure exponent (Originally from src/fsharp/FSComp.txt:469) The '%s' visibility attribute is not allowed on module abbreviation. Module abbreviations are always private. (Originally from src/fsharp/FSComp.txt:399) The '%s' accessibility attribute is not allowed on module abbreviation. Module abbreviations are always private. (Originally from src/fsharp/FSComp.txt:398) Ignoring attributes on module abbreviation (Originally from src/fsharp/FSComp.txt:397) Identifier expected (Originally from src/fsharp/FSComp.txt:444) A getter property is expected to be a function, e.g. 'get() = ...' or 'get(index) = ...' (Originally from src/fsharp/FSComp.txt:417) A getter property may have at most one argument group (Originally from src/fsharp/FSComp.txt:1056) 'get', 'set' or 'get,set' required (Originally from src/fsharp/FSComp.txt:411) 'get' and/or 'set' required (Originally from src/fsharp/FSComp.txt:415) Missing 'do' in 'for' expression. Expected 'for <pat> in <expr> do <expr>'. (Originally from src/fsharp/FSComp.txt:1262) Field bindings must have the form 'id = expr;' (Originally from src/fsharp/FSComp.txt:456) Expected a type after this point (Originally from src/fsharp/FSComp.txt:1240) Unexpected end of type. Expected a name after this point. (Originally from src/fsharp/FSComp.txt:1256) Expected an expression after this point (Originally from src/fsharp/FSComp.txt:1239) 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. (Originally from src/fsharp/FSComp.txt:441) Attempted to parse this as an operator name, but failed (Originally from src/fsharp/FSComp.txt:1110) Error in the return expression for this 'let'. Possible incorrect indentation. (Originally from src/fsharp/FSComp.txt:440) End of file in verbatim string embedded in comment begun at or before here (Originally from src/fsharp/FSComp.txt:381) End of file in verbatim string begun at or before here (Originally from src/fsharp/FSComp.txt:378) End of file in triple-quote string embedded in comment begun at or before here (Originally from src/fsharp/FSComp.txt:1105) End of file in triple-quote string begun at or before here (Originally from src/fsharp/FSComp.txt:1104) End of file in string embedded in comment begun at or before here (Originally from src/fsharp/FSComp.txt:380) End of file in string begun at or before here (Originally from src/fsharp/FSComp.txt:377) End of file in IF-OCAML section begun at or before here (Originally from src/fsharp/FSComp.txt:382) End of file in #if section begun at or after here (Originally from src/fsharp/FSComp.txt:376) End of file in directive begun at or before here (Originally from src/fsharp/FSComp.txt:383) End of file in comment begun at or before here (Originally from src/fsharp/FSComp.txt:379) Accessibility modifiers are not permitted in this position for enum types (Originally from src/fsharp/FSComp.txt:427) Accessibility modifiers are not permitted on enumeration fields (Originally from src/fsharp/FSComp.txt:433) 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'. (Originally from src/fsharp/FSComp.txt:409) Accessibility modifiers are not permitted on 'do' bindings, but '%s' was given. (Originally from src/fsharp/FSComp.txt:375) Consider using a separate record type instead (Originally from src/fsharp/FSComp.txt:434) Augmentations are not permitted on delegate type moduleDefns (Originally from src/fsharp/FSComp.txt:407) Attributes should be placed before 'val' (Originally from src/fsharp/FSComp.txt:404) Attributes are not permitted on 'inherit' declarations (Originally from src/fsharp/FSComp.txt:422) Attributes are not allowed here (Originally from src/fsharp/FSComp.txt:425) Attributes have been ignored in this construct (Originally from src/fsharp/FSComp.txt:385) Attributes are not permitted on interface implementations (Originally from src/fsharp/FSComp.txt:405) Cannot find code target for this attribute, possibly because the code after the attribute is incomplete. (Originally from src/fsharp/FSComp.txt:1298) 'assert' may not be used as a first class value. Use 'assert <expr>' instead. (Originally from src/fsharp/FSComp.txt:443) 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. (Originally from src/fsharp/FSComp.txt:446) All enum fields must be given values (Originally from src/fsharp/FSComp.txt:428) Active pattern case identifiers must begin with an uppercase letter (Originally from src/fsharp/FSComp.txt:467) The '|' character is not permitted in active pattern case identifiers (Originally from src/fsharp/FSComp.txt:468) Accessibility modifiers are not allowed on this member. Abstract slots always have the same visibility as the enclosing type. (Originally from src/fsharp/FSComp.txt:421) Package manager key '%s' was not registered in %s. Currently registered: %s (Originally from src/fsharp/FSComp.txt:1363) %s (Originally from src/fsharp/FSComp.txt:1364) The package management feature requires language version 5.0 use /langversion:preview (Originally from src/fsharp/FSComp.txt:1484) Write the xmldoc of the assembly to the given file (Originally from src/fsharp/FSComp.txt:848) Specify a Win32 resource file (.res) (Originally from src/fsharp/FSComp.txt:857) Specify a Win32 manifest file (Originally from src/fsharp/FSComp.txt:858) Report all warnings as errors (Originally from src/fsharp/FSComp.txt:875) Report specific warnings as errors (Originally from src/fsharp/FSComp.txt:876) Enable specific warnings that may be off by default (Originally from src/fsharp/FSComp.txt:879) Set a warning level (0-5) (Originally from src/fsharp/FSComp.txt:877) Output messages in UTF-8 encoding (Originally from src/fsharp/FSComp.txt:887) Enable high-entropy ASLR (Originally from src/fsharp/FSComp.txt:920) Unrecognized target '%s', expected 'exe', 'winexe', 'library' or 'module' (Originally from src/fsharp/FSComp.txt:898) Unrecognized value '%s' for --langversion use --langversion:? for complete list (Originally from src/fsharp/FSComp.txt:76) Unrecognized debug type '%s', expected 'pdbonly' or 'full' (Originally from src/fsharp/FSComp.txt:899) Unrecognized platform '%s', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' (Originally from src/fsharp/FSComp.txt:913) Algorithm '%s' is not supported (Originally from src/fsharp/FSComp.txt:914) Unknown --test argument: '%s' (Originally from src/fsharp/FSComp.txt:912) Specify target framework profile of this assembly. Valid values are mscorlib, netcore or netstandard. Default - mscorlib (Originally from src/fsharp/FSComp.txt:922) Enable or disable tailcalls (Originally from src/fsharp/FSComp.txt:871) Supported language versions: (Originally from src/fsharp/FSComp.txt:1495) Specify subsystem version of this assembly (Originally from src/fsharp/FSComp.txt:921) Specify a strong name key file (Originally from src/fsharp/FSComp.txt:849) Specify a strong name key container (Originally from src/fsharp/FSComp.txt:850) 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. (Originally from src/fsharp/FSComp.txt:894) Statically link the F# library and all referenced DLLs that depend on it into the assembly being generated (Originally from src/fsharp/FSComp.txt:893) --sourcelink switch only supported when emitting a Portable PDB (--debug:portable or --debug:embedded) (Originally from src/fsharp/FSComp.txt:864) Source link information file to embed in the portable PDB file (Originally from src/fsharp/FSComp.txt:862) Resolve assembly references using directory-based rules rather than MSBuild resolution (Originally from src/fsharp/FSComp.txt:897) Print the inferred interface of the assembly to a file (Originally from src/fsharp/FSComp.txt:854) Short form of '%s' (Originally from src/fsharp/FSComp.txt:901) Response file '%s' not found in '%s' (Originally from src/fsharp/FSComp.txt:1340) Response file name '%s' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long (Originally from src/fsharp/FSComp.txt:1341) Read response file for more options (Originally from src/fsharp/FSComp.txt:885) Embed the specified managed resource (Originally from src/fsharp/FSComp.txt:866) Use a resident background compilation service to improve compiler startup times. (Originally from src/fsharp/FSComp.txt:895) Reference an assembly (Short form: -r) (Originally from src/fsharp/FSComp.txt:855) Public-sign the assembly using only the public portion of the strong name key, and mark the assembly as signed (Originally from src/fsharp/FSComp.txt:847) Problem with codepage '%d': %s (Originally from src/fsharp/FSComp.txt:838) Specify the preferred output language culture name (e.g. es-ES, ja-JP) (Originally from src/fsharp/FSComp.txt:924) Limit which platforms this code can run on: x86, Itanium, x64, anycpu32bitpreferred, or anycpu. The default is anycpu. (Originally from src/fsharp/FSComp.txt:851) Name the output debug file (Originally from src/fsharp/FSComp.txt:896) Maps physical paths to source path names output by the compiler (Originally from src/fsharp/FSComp.txt:873) Enable optimizations (Short form: -O) (Originally from src/fsharp/FSComp.txt:870) Do not include the default Win32 manifest (Originally from src/fsharp/FSComp.txt:859) Disable specific warning messages (Originally from src/fsharp/FSComp.txt:878) Suppress compiler copyright message (Originally from src/fsharp/FSComp.txt:883) Do not reference the default CLI assemblies by default (Originally from src/fsharp/FSComp.txt:892) Only include optimization information essential for implementing inlined constructs. Inhibits cross-module inlining but improves binary compatibility. (Originally from src/fsharp/FSComp.txt:852) Don't add a resource to the generated assembly containing F#-specific metadata (Originally from src/fsharp/FSComp.txt:853) Don't copy FSharp.Core.dll along the produced binaries (Originally from src/fsharp/FSComp.txt:925) Name of the output file (Short form: -o) (Originally from src/fsharp/FSComp.txt:841) Ignore ML compatibility warnings (Originally from src/fsharp/FSComp.txt:882) Link the specified resource to this assembly where the resinfo format is <file>[,<string name>[,public|private]] (Originally from src/fsharp/FSComp.txt:867) Specify a directory for the include path which is used to resolve source files and assemblies (Short form: -I) (Originally from src/fsharp/FSComp.txt:889) Display the allowed values for language version, specify language version such as 'latest' or 'preview' (Originally from src/fsharp/FSComp.txt:1494) Invalid warning level '%d' (Originally from src/fsharp/FSComp.txt:900) Invalid value '%s' for '--targetprofile', valid values are 'mscorlib', 'netcore' or 'netstandard'. (Originally from src/fsharp/FSComp.txt:927) Invalid version '%s' for '--subsystemversion'. The version must be 4.00 or greater. (Originally from src/fsharp/FSComp.txt:926) Invalid response file '%s' ( '%s' ) (Originally from src/fsharp/FSComp.txt:1339) Invalid path map. Mappings must be comma separated and of the format 'path=sourcePath' (Originally from src/fsharp/FSComp.txt:1157) The command-line option '%s' is for test purposes only (Originally from src/fsharp/FSComp.txt:915) - RESOURCES - (Originally from src/fsharp/FSComp.txt:906) - OUTPUT FILES - (Originally from src/fsharp/FSComp.txt:904) - MISCELLANEOUS - (Originally from src/fsharp/FSComp.txt:909) - LANGUAGE - (Originally from src/fsharp/FSComp.txt:910) - INPUT FILES - (Originally from src/fsharp/FSComp.txt:905) - ERRORS AND WARNINGS - (Originally from src/fsharp/FSComp.txt:911) - CODE GENERATION - (Originally from src/fsharp/FSComp.txt:907) - ADVANCED - (Originally from src/fsharp/FSComp.txt:908) Display this usage message (Short form: -?) (Originally from src/fsharp/FSComp.txt:884) Output messages with fully qualified paths (Originally from src/fsharp/FSComp.txt:888) Emit debug information in quotations (Originally from src/fsharp/FSComp.txt:923) --embed switch only supported when emitting a Portable PDB (--debug:portable or --debug:embedded) (Originally from src/fsharp/FSComp.txt:863) Embed specific source files in the portable PDB file (Originally from src/fsharp/FSComp.txt:861) Embed all source files in the portable PDB file (Originally from src/fsharp/FSComp.txt:860) Produce a deterministic assembly (including module version GUID and timestamp) (Originally from src/fsharp/FSComp.txt:872) Delay-sign the assembly using only the public portion of the strong name key (Originally from src/fsharp/FSComp.txt:846) Define conditional compilation symbols (Short form: -d) (Originally from src/fsharp/FSComp.txt:881) Emit debug information (Short form: -g) (Originally from src/fsharp/FSComp.txt:868) Specify debugging type: full, portable, embedded, pdbonly. ('%s' is the default if no debuggging 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). (Originally from src/fsharp/FSComp.txt:869) The command-line option '%s' has been deprecated (Originally from src/fsharp/FSComp.txt:916) The command-line option '%s' has been deprecated. HTML document generation is now part of the F# Power Pack, via the tool FsHtmlDoc.exe. (Originally from src/fsharp/FSComp.txt:918) The command-line option '%s' has been deprecated. Use '%s' instead. (Originally from src/fsharp/FSComp.txt:917) Enable or disable cross-module optimizations (Originally from src/fsharp/FSComp.txt:874) Freely distributed under the MIT Open Source License. https://github.com/Microsoft/visualfsharp/blob/master/License.txt (Originally from src/fsharp/FSComp.txt:840) Copyright (c) Microsoft Corporation. All Rights Reserved. (Originally from src/fsharp/FSComp.txt:839) Output warning and error messages in color (Originally from src/fsharp/FSComp.txt:919) Reference an assembly or directory containing a design time tool (Short form: -t) (Originally from src/fsharp/FSComp.txt:856) Specify the codepage used to read source files (Originally from src/fsharp/FSComp.txt:886) Use to override where the compiler looks for mscorlib.dll and framework components (Originally from src/fsharp/FSComp.txt:903) The command-line option '--cliroot' has been deprecated. Use an explicit reference to a specific copy of mscorlib.dll instead. (Originally from src/fsharp/FSComp.txt:902) Specify algorithm for calculating source file checksum stored in PDB. Supported values are: SHA1 or SHA256 (default) (Originally from src/fsharp/FSComp.txt:891) Generate overflow checks (Originally from src/fsharp/FSComp.txt:880) Build a Windows executable (Originally from src/fsharp/FSComp.txt:843) Build a module that can be added to another assembly (Originally from src/fsharp/FSComp.txt:845) Build a library (Short form: -a) (Originally from src/fsharp/FSComp.txt:844) Build a console executable (Originally from src/fsharp/FSComp.txt:842) Base address for the library to be built (Originally from src/fsharp/FSComp.txt:890) A value marked as 'inline' has an unexpected value (Originally from src/fsharp/FSComp.txt:982) A value marked as 'inline' could not be inlined (Originally from src/fsharp/FSComp.txt:983) The value '%s' was marked inline but was not bound in the optimization environment (Originally from src/fsharp/FSComp.txt:980) The value '%s' was marked inline but its implementation makes use of an internal or private function which is not sufficiently accessible (Originally from src/fsharp/FSComp.txt:979) Recursive ValValue %s (Originally from src/fsharp/FSComp.txt:985) Local value %s not found during optimization (Originally from src/fsharp/FSComp.txt:981) Failed to inline the value '%s' marked 'inline', perhaps because a recursive value was marked 'inline' (Originally from src/fsharp/FSComp.txt:984) The union type for union case '%s' was defined with the RequireQualifiedAccessAttribute. Include the name of the union type ('%s') in the name you are using. (Originally from src/fsharp/FSComp.txt:999) Unexpected empty long identifier (Originally from src/fsharp/FSComp.txt:994) Multiple types exist called '%s', taking different numbers of generic parameters. Provide a type instantiation to disambiguate the type resolution, e.g. '%s'. (Originally from src/fsharp/FSComp.txt:990) The instantiation of the generic type '%s' is missing and can't be inferred from the arguments or return type of this member. Consider providing a type instantiation when accessing this type, e.g. '%s'. (Originally from src/fsharp/FSComp.txt:991) The record type for the record field '%s' was defined with the RequireQualifiedAccessAttribute. Include the name of the record type ('%s') in the name you are using. (Originally from src/fsharp/FSComp.txt:1000) The record type '%s' does not contain a label '%s'. (Originally from src/fsharp/FSComp.txt:995) No constructors are available for the type '%s' (Originally from src/fsharp/FSComp.txt:998) This is not a constructor or literal, or a constructor is being used incorrectly (Originally from src/fsharp/FSComp.txt:993) Invalid module/expression/type (Originally from src/fsharp/FSComp.txt:989) Invalid field label (Originally from src/fsharp/FSComp.txt:996) Invalid expression '%s' (Originally from src/fsharp/FSComp.txt:997) 'global' may only be used as the first name in a qualified path (Originally from src/fsharp/FSComp.txt:992) This value is not a function and cannot be applied. Did you intend to access the indexer via %s.[index] instead? (Originally from src/fsharp/FSComp.txt:1448) (Originally from src/fsharp/FSComp.txt:1450) This expression is not a function and cannot be applied. Did you intend to access the indexer via expr.[index] instead? (Originally from src/fsharp/FSComp.txt:1449) This value is not a function and cannot be applied. Did you forget to terminate a declaration? (Originally from src/fsharp/FSComp.txt:1451) This value is not a function and cannot be applied. (Originally from src/fsharp/FSComp.txt:1447) No Invoke methods found for delegate type (Originally from src/fsharp/FSComp.txt:965) 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. (Originally from src/fsharp/FSComp.txt:51) + %d overloads (Originally from src/fsharp/FSComp.txt:1295) + 1 overload (Originally from src/fsharp/FSComp.txt:1294) Resource header beginning at offset %s is malformed. (Originally from src/fsharp/FSComp.txt:1497) Stream does not begin with a null resource and is not in '.RES' format. (Originally from src/fsharp/FSComp.txt:1496) More than one Invoke method found for delegate type (Originally from src/fsharp/FSComp.txt:966) This construct is for ML compatibility. %s. You can disable this warning by using '--mlcompatibility' or '--nowarn:62'. (Originally from src/fsharp/FSComp.txt:1077) 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'. (Originally from src/fsharp/FSComp.txt:23) Method or object constructor '%s' is not static (Originally from src/fsharp/FSComp.txt:1361) Infix operator member '%s' has %d initial argument(s). Expected a tuple of 3 arguments (Originally from src/fsharp/FSComp.txt:1306) Infix operator member '%s' has %d initial argument(s). Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ... (Originally from src/fsharp/FSComp.txt:1042) Infix operator member '%s' has no arguments. Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ... (Originally from src/fsharp/FSComp.txt:1041) Infix operator member '%s' has extra curried arguments. Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ... (Originally from src/fsharp/FSComp.txt:1043) (loading description...) (Originally from src/fsharp/FSComp.txt:1302) All elements of a list must be of the same type as the first element, which here is '%s'. This element has type '%s'. (Originally from src/fsharp/FSComp.txt:21) Identifiers containing '@' are reserved for use in F# code generation (Originally from src/fsharp/FSComp.txt:970) The identifier '%s' is reserved for future use by F# (Originally from src/fsharp/FSComp.txt:971) Possible incorrect indentation: this token is offside of context started at position %s. Try indenting this token further or using standard formatting conventions. (Originally from src/fsharp/FSComp.txt:987) The '|' tokens separating rules of this pattern match are misaligned by one column. Consider realigning your code or using further indentation. (Originally from src/fsharp/FSComp.txt:988) The indentation of this 'in' token is incorrect with respect to the corresponding 'let' (Originally from src/fsharp/FSComp.txt:986) Syntax error. Wrong nested #endif, unexpected tokens before it. (Originally from src/fsharp/FSComp.txt:1038) Unexpected character '%s' (Originally from src/fsharp/FSComp.txt:1007) This token is reserved for future use (Originally from src/fsharp/FSComp.txt:1028) This Unicode encoding is only valid in string literals (Originally from src/fsharp/FSComp.txt:1027) TABs are not allowed in F# code unless the #indent \"off\" option is used (Originally from src/fsharp/FSComp.txt:1029) This number is outside the allowable range for 32-bit unsigned integers (Originally from src/fsharp/FSComp.txt:1016) This number is outside the allowable range for 32-bit signed integers (Originally from src/fsharp/FSComp.txt:1015) This number is outside the allowable range for 64-bit unsigned integers (Originally from src/fsharp/FSComp.txt:1018) This number is outside the allowable range for 64-bit signed integers (Originally from src/fsharp/FSComp.txt:1017) This number is outside the allowable range for 16-bit unsigned integers (Originally from src/fsharp/FSComp.txt:1014) This number is outside the allowable range for 16-bit signed integers (Originally from src/fsharp/FSComp.txt:1013) This number is outside the allowable range for unsigned native integers (Originally from src/fsharp/FSComp.txt:1020) This number is outside the allowable range for signed native integers (Originally from src/fsharp/FSComp.txt:1019) This number is outside the allowable range for this integer type (Originally from src/fsharp/FSComp.txt:1002) This number is outside the allowable range for 8-bit unsigned integers (Originally from src/fsharp/FSComp.txt:1012) This number is outside the allowable range for hexadecimal 8-bit signed integers (Originally from src/fsharp/FSComp.txt:1011) This number is outside the allowable range for 8-bit signed integers (Originally from src/fsharp/FSComp.txt:1010) This number is outside the allowable range for 32-bit floats (Originally from src/fsharp/FSComp.txt:1023) This number is outside the allowable range for decimal literals (Originally from src/fsharp/FSComp.txt:1022) \U%s is not a valid Unicode character escape sequence (Originally from src/fsharp/FSComp.txt:1111) This is not a valid numeric literal. Valid numeric literals include 1, 0x1, 0o1, 0b1, 1l (int), 1u (uint32), 1L (int64), 1UL (uint64), 1s (int16), 1y (sbyte), 1uy (byte), 1.0 (float), 1.0f (float32), 1.0m (decimal), 1I (BigInteger). (Originally from src/fsharp/FSComp.txt:1024) Invalid line number: '%s' (Originally from src/fsharp/FSComp.txt:1030) Invalid floating point number (Originally from src/fsharp/FSComp.txt:1021) This is not a valid character literal (Originally from src/fsharp/FSComp.txt:1026) This is not a valid byte literal (Originally from src/fsharp/FSComp.txt:1025) Consider using a file with extension '.ml' or '.mli' instead (Originally from src/fsharp/FSComp.txt:1084) Identifiers followed by '%s' are reserved for future use (Originally from src/fsharp/FSComp.txt:1009) #if directive should be immediately followed by an identifier (Originally from src/fsharp/FSComp.txt:1037) #if directive must appear as the first non-whitespace character on a line (Originally from src/fsharp/FSComp.txt:1031) #endif has no matching #if (Originally from src/fsharp/FSComp.txt:1035) #endif required for #else (Originally from src/fsharp/FSComp.txt:1033) #endif directive must appear as the first non-whitespace character on a line (Originally from src/fsharp/FSComp.txt:1036) #else has no matching #if (Originally from src/fsharp/FSComp.txt:1032) #else directive must appear as the first non-whitespace character on a line (Originally from src/fsharp/FSComp.txt:1034) #! may only appear as the first line at the start of a file. (Originally from src/fsharp/FSComp.txt:1039) '%s' is not permitted as a character in operator names and is reserved for future use (Originally from src/fsharp/FSComp.txt:1006) This byte array literal contains characters that do not encode as a single byte (Originally from src/fsharp/FSComp.txt:1008) Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters. (Originally from src/fsharp/FSComp.txt:1371) Used in a computation expression to append the result of a given computation expression to a collection of results for the containing computation expression. (Originally from src/fsharp/FSComp.txt:1437) Used in a sequence expression to produce a value for a sequence. (Originally from src/fsharp/FSComp.txt:1436) Used together with the match keyword in pattern matching expressions. Also used in object expressions, record copying expressions, and type extensions to introduce member definitions, and to introduce exception handlers. (Originally from src/fsharp/FSComp.txt:1435) Introduces a looping construct. (Originally from src/fsharp/FSComp.txt:1434) Used for Boolean conditions (when guards) on pattern matches and to introduce a constraint clause for a generic type parameter. (Originally from src/fsharp/FSComp.txt:1433) Indicates the .NET void type. Used when interoperating with other .NET languages. (Originally from src/fsharp/FSComp.txt:1432) Used in a signature to indicate a value, or in a type to declare a member, in limited situations. (Originally from src/fsharp/FSComp.txt:1431) Used instead of let! in computation expressions for computation expression results that implement IDisposable. (Originally from src/fsharp/FSComp.txt:1430) Used instead of let for values that implement IDisposable (Originally from src/fsharp/FSComp.txt:1429) Used to convert to a type that is higher in the inheritance chain. (Originally from src/fsharp/FSComp.txt:1428) Delimits a untyped code quotation. (Originally from src/fsharp/FSComp.txt:1443) Delimits a typed code quotation. (Originally from src/fsharp/FSComp.txt:1442) Used to declare a class, record, structure, discriminated union, enumeration type, unit of measure, or type abbreviation. (Originally from src/fsharp/FSComp.txt:1427) Used to introduce a block of code that might generate an exception. Used together with with or finally. (Originally from src/fsharp/FSComp.txt:1426) Used as a Boolean literal. (Originally from src/fsharp/FSComp.txt:1388) Used in for loops to indicate a range. (Originally from src/fsharp/FSComp.txt:1425) Used in conditional expressions. Also used to perform side effects after object construction. (Originally from src/fsharp/FSComp.txt:1424) Used to declare a structure type. Also used in generic parameter constraints. Used for OCaml compatibility in module definitions. (Originally from src/fsharp/FSComp.txt:1423) Used to indicate a method or property that can be called without an instance of a type, or a value member that is shared among all instances of a type. (Originally from src/fsharp/FSComp.txt:1422) Used in query expressions to specify what fields or columns to extract. Note that this is a contextual keyword, which means that it is not actually a reserved word and it only acts like a keyword in appropriate context. (Originally from src/fsharp/FSComp.txt:1421) In function types, delimits arguments and return values. Yields an expression (in sequence expressions); equivalent to the yield keyword. Used in match expressions (Originally from src/fsharp/FSComp.txt:1438) Used to provide a value for the result of the containing computation expression, where that value itself comes from the result another computation expression. (Originally from src/fsharp/FSComp.txt:1420) Used to provide a value for the result of the containing computation expression. (Originally from src/fsharp/FSComp.txt:1419) Used to indicate that a function is recursive. (Originally from src/fsharp/FSComp.txt:1418) Allows access to a member from outside the type. (Originally from src/fsharp/FSComp.txt:1417) Restricts access to a member to code in the same type or module. (Originally from src/fsharp/FSComp.txt:1416) Used to implement a version of an abstract or virtual method that differs from the base version. (Originally from src/fsharp/FSComp.txt:1415) Used with Boolean conditions as a Boolean or operator. Equivalent to ||. Also used in member constraints. (Originally from src/fsharp/FSComp.txt:1414) Used to make the contents of a namespace or module available without qualification. (Originally from src/fsharp/FSComp.txt:1413) Used in discriminated unions to indicate the type of categories of values, and in delegate and exception declarations. (Originally from src/fsharp/FSComp.txt:1412) Indicates the absence of an object. Also used in generic parameter constraints. (Originally from src/fsharp/FSComp.txt:1411) Not actually a keyword. However, not struct in combination is used as a generic parameter constraint. (Originally from src/fsharp/FSComp.txt:1410) Used to declare, define, or invoke a constructor that creates or that can create an object. Also used in generic parameter constraints to indicate that a type must have a certain constructor. (Originally from src/fsharp/FSComp.txt:1409) Used to associate a name with a group of related types and modules, to logically separate it from other code. (Originally from src/fsharp/FSComp.txt:1408) Used to declare a variable, that is, a value that can be changed. (Originally from src/fsharp/FSComp.txt:1407) Used to associate a name with a group of related types, values, and functions, to logically separate it from other code. (Originally from src/fsharp/FSComp.txt:1406) Used to declare a property or method in an object type. (Originally from src/fsharp/FSComp.txt:1405) Used in computation expressions to pattern match directly over the result of another computation expression. (Originally from src/fsharp/FSComp.txt:1404) Used to branch by comparing a value to a pattern. (Originally from src/fsharp/FSComp.txt:1403) Used in computation expressions to bind a name to the result of another computation expression. (Originally from src/fsharp/FSComp.txt:1402) Used to associate, or bind, a name to a value or function. (Originally from src/fsharp/FSComp.txt:1401) Assigns a value to a variable. (Originally from src/fsharp/FSComp.txt:1439) Used to specify a computation that is to be performed only when a result is needed. (Originally from src/fsharp/FSComp.txt:1400) Used to specify that a member is visible inside an assembly but not outside it. (Originally from src/fsharp/FSComp.txt:1399) Used to declare and implement interfaces. (Originally from src/fsharp/FSComp.txt:1398) Used to indicate a function that should be integrated directly into the caller's code. (Originally from src/fsharp/FSComp.txt:1397) Used to specify a base class or base interface. (Originally from src/fsharp/FSComp.txt:1396) Used for sequence expressions and, in verbose syntax, to separate expressions from bindings. (Originally from src/fsharp/FSComp.txt:1395) Used in conditional branching constructs. (Originally from src/fsharp/FSComp.txt:1394) Used to reference the top-level .NET namespace. (Originally from src/fsharp/FSComp.txt:1393) Used as a shorter alternative to the fun keyword and a match expression in a lambda expression that has pattern matching on a single argument. (Originally from src/fsharp/FSComp.txt:1392) Used in lambda expressions, also known as anonymous functions. (Originally from src/fsharp/FSComp.txt:1391) Used in looping constructs. (Originally from src/fsharp/FSComp.txt:1390) Used together with try to introduce a block of code that executes regardless of whether an exception occurs. (Originally from src/fsharp/FSComp.txt:1389) Indicates that a declared program element is defined in another binary or assembly. (Originally from src/fsharp/FSComp.txt:1387) Used to declare an exception type. (Originally from src/fsharp/FSComp.txt:1386) In type definitions and type extensions, indicates the end of a section of member definitions. In verbose syntax, used to specify the end of a code block that starts with the begin keyword. (Originally from src/fsharp/FSComp.txt:1385) Used in conditional branching. (Originally from src/fsharp/FSComp.txt:1384) Used in conditional branching. A short form of else if. (Originally from src/fsharp/FSComp.txt:1383) Converts a type to a type that is lower in the hierarchy. (Originally from src/fsharp/FSComp.txt:1441) In a for expression, used when counting in reverse. (Originally from src/fsharp/FSComp.txt:1382) Used to convert to a type that is lower in the inheritance chain. (Originally from src/fsharp/FSComp.txt:1381) In verbose syntax, indicates the end of a block of code in a looping expression. (Originally from src/fsharp/FSComp.txt:1380) Used in looping constructs or to execute imperative code. (Originally from src/fsharp/FSComp.txt:1379) Used to declare a delegate. (Originally from src/fsharp/FSComp.txt:1378) Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method. (Originally from src/fsharp/FSComp.txt:1377) In verbose syntax, indicates the start of a class definition. (Originally from src/fsharp/FSComp.txt:1376) Converts a type to type that is higher in the hierarchy. (Originally from src/fsharp/FSComp.txt:1440) In verbose syntax, indicates the start of a code block. (Originally from src/fsharp/FSComp.txt:1375) Used as the name of the base class object. (Originally from src/fsharp/FSComp.txt:1374) Used to verify code during debugging. (Originally from src/fsharp/FSComp.txt:1373) Used to give the current class object an object name. Also used to give a name to a whole pattern within a pattern match. (Originally from src/fsharp/FSComp.txt:1372) Indicates a method that either has no implementation in the type in which it is declared or that is virtual and has a default implementation. (Originally from src/fsharp/FSComp.txt:1370) %s '%s' not found in type '%s' from assembly '%s'. A possible cause may be a version incompatibility. You may need to explicitly reference the correct version of this assembly to allow all referenced components to use the correct version. (Originally from src/fsharp/FSComp.txt:1445) %s '%s' not found in assembly '%s'. A possible cause may be a version incompatibility. You may need to explicitly reference the correct version of this assembly to allow all referenced components to use the correct version. (Originally from src/fsharp/FSComp.txt:1444) The 'anycpu32bitpreferred' platform can only be used with EXE targets. You must use 'anycpu' instead. (Originally from src/fsharp/FSComp.txt:1289) invalid namespace for provided type (Originally from src/fsharp/FSComp.txt:1195) invalid full name for provided type (Originally from src/fsharp/FSComp.txt:1196) Invalid provided literal value '%s' (Originally from src/fsharp/FSComp.txt:1288) This expression returns a value of type '%s' but is implicitly discarded. Consider using 'let' to bind the result to a name, e.g. 'let result = expression'. If you intended to use the expression as a value in the sequence then use an explicit 'yield!'. (Originally from src/fsharp/FSComp.txt:1456) This expression returns a value of type '%s' but is implicitly discarded. Consider using 'let' to bind the result to a name, e.g. 'let result = expression'. If you intended to use the expression as a value in the sequence then use an explicit 'yield'. (Originally from src/fsharp/FSComp.txt:1455) The type '%s' is required here and is unavailable. You must add a reference to assembly '%s'. (Originally from src/fsharp/FSComp.txt:974) A reference to the type '%s' in assembly '%s' was found, but the type could not be found in that assembly (Originally from src/fsharp/FSComp.txt:975) 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. (Originally from src/fsharp/FSComp.txt:977) Internal error or badly formed metadata: not enough type parameters were in scope while importing (Originally from src/fsharp/FSComp.txt:976) Invalid number of generic arguments to type '%s' in provided type. Expected '%d' arguments, given '%d'. (Originally from src/fsharp/FSComp.txt:1265) Invalid value unit-of-measure parameter '%s' (Originally from src/fsharp/FSComp.txt:1267) Invalid value '%s' for unit-of-measure parameter '%s' (Originally from src/fsharp/FSComp.txt:1266) An imported assembly uses the type '%s' but that type is not public (Originally from src/fsharp/FSComp.txt:978) Invalid argument to 'methodhandleof' during codegen (Originally from src/fsharp/FSComp.txt:1227) MDB generation failed. Could not find compatible member %s (Originally from src/fsharp/FSComp.txt:1093) The name of the MDB file must be <assembly-file-name>.mdb. The --pdb option will be ignored. (Originally from src/fsharp/FSComp.txt:1092) Unexpected error creating debug information file '%s' (Originally from src/fsharp/FSComp.txt:1001) Cannot generate MDB debug information. Failed to load the 'MonoSymbolWriter' type from the 'Mono.CompilerServices.SymbolWriter.dll' assembly. (Originally from src/fsharp/FSComp.txt:1094) The file '%s' changed on disk unexpectedly, please reload. (Originally from src/fsharp/FSComp.txt:1457) Compiler error: unexpected unrealized value (Originally from src/fsharp/FSComp.txt:830) Unexpected GetSet annotation on a property (Originally from src/fsharp/FSComp.txt:833) Undefined value '%s' (Originally from src/fsharp/FSComp.txt:817) This type cannot be used for a literal field (Originally from src/fsharp/FSComp.txt:832) The StructLayout attribute could not be decoded (Originally from src/fsharp/FSComp.txt:835) GenSetStorage: %s was represented as a static method but was not an appropriate lambda expression (Originally from src/fsharp/FSComp.txt:828) The signature for this external function contains type parameters. Constrain the argument and return types to indicate the types of the corresponding C function. (Originally from src/fsharp/FSComp.txt:825) RSA key expected (Originally from src/fsharp/FSComp.txt:1122) Private key expected (Originally from src/fsharp/FSComp.txt:1121) No signature directory (Originally from src/fsharp/FSComp.txt:1127) Invalid signature size (Originally from src/fsharp/FSComp.txt:1126) Invalid RSAParameters structure - '{0}' expected (Originally from src/fsharp/FSComp.txt:1124) Invalid Public Key blob (Originally from src/fsharp/FSComp.txt:1128) Invalid Magic value in CLR Header (Originally from src/fsharp/FSComp.txt:1119) Invalid bit Length (Originally from src/fsharp/FSComp.txt:1123) Invalid algId - 'Exponent' expected (Originally from src/fsharp/FSComp.txt:1125) Bad image format (Originally from src/fsharp/FSComp.txt:1120) Reflected definitions cannot contain uses of the prefix splice operator '%%' (Originally from src/fsharp/FSComp.txt:837) Mutable variables cannot escape their method (Originally from src/fsharp/FSComp.txt:829) The MarshalAs attribute could not be decoded (Originally from src/fsharp/FSComp.txt:824) Main module of program is empty: nothing will happen when it is run (Originally from src/fsharp/FSComp.txt:831) Literal fields cannot be set (Originally from src/fsharp/FSComp.txt:827) Label %s not found (Originally from src/fsharp/FSComp.txt:818) Incorrect number of type arguments to local call (Originally from src/fsharp/FSComp.txt:819) The FieldOffset attribute could not be decoded (Originally from src/fsharp/FSComp.txt:834) The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit) (Originally from src/fsharp/FSComp.txt:1087) The type '%s' has been marked as having an Explicit layout, but the field '%s' has not been marked with the 'FieldOffset' attribute (Originally from src/fsharp/FSComp.txt:1079) Dynamic invocation of %s is not supported (Originally from src/fsharp/FSComp.txt:820) The DllImport attribute could not be decoded (Originally from src/fsharp/FSComp.txt:826) The DefaultAugmentation attribute could not be decoded (Originally from src/fsharp/FSComp.txt:836) Custom marshallers cannot be specified in F# code. Consider using a C# helper function. (Originally from src/fsharp/FSComp.txt:823) This operation involves taking the address of a value '%s' represented using a local variable or other special representation. This is invalid. (Originally from src/fsharp/FSComp.txt:822) Taking the address of a literal field is invalid (Originally from src/fsharp/FSComp.txt:821) The 'if' expression needs to have type '%s' to satisfy context type requirements. It currently has type '%s'. (Originally from src/fsharp/FSComp.txt:24) If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines). Cannot find FSharp.Core.dll in compiler's directory (Originally from src/fsharp/FSComp.txt:1342) Conflicting options specified: 'win32manifest' and 'win32res'. Only one of these can be used. (Originally from src/fsharp/FSComp.txt:1134) Exiting - too many errors (Originally from src/fsharp/FSComp.txt:1130) System.Runtime.InteropServices assembly is required to use UnknownWrapper\DispatchWrapper classes. (Originally from src/fsharp/FSComp.txt:1324) Static linking may not be used on an assembly referencing mscorlib (e.g. a .NET Framework assembly) when generating an assembly that references System.Runtime (e.g. a .NET Core or Portable assembly). (Originally from src/fsharp/FSComp.txt:1153) Static linking may not include a mixed managed/unmanaged DLL (Originally from src/fsharp/FSComp.txt:1138) Static linking may not include a .EXE (Originally from src/fsharp/FSComp.txt:1137) Passing a .resx file (%s) as a source file to the compiler is deprecated. Use resgen.exe to transform the .resx file into a .resources file to pass as a --resource option. If you are using MSBuild, this can be done via an <EmbeddedResource> item in the .fsproj project file. (Originally from src/fsharp/FSComp.txt:1152) The resident compilation service was not used because a problem occured in communicating with the server. (Originally from src/fsharp/FSComp.txt:1150) The assembly '%s' is listed on the command line. Assemblies should be referenced using a command line flag such as '-r'. (Originally from src/fsharp/FSComp.txt:1149) Code in this assembly makes uses of quotation literals. Static linking may not include components that make use of quotation literals unless all assemblies are compiled with at least F# 4.0. (Originally from src/fsharp/FSComp.txt:1136) The code in assembly '%s' makes uses of quotation literals. Static linking may not include components that make use of quotation literals unless all assemblies are compiled with at least F# 4.0. (Originally from src/fsharp/FSComp.txt:1135) A problem occurred writing the binary '%s': %s (Originally from src/fsharp/FSComp.txt:1143) --pathmap can only be used with portable PDBs (--debug:portable or --debug:embedded) (Originally from src/fsharp/FSComp.txt:1156) No implementation files specified (Originally from src/fsharp/FSComp.txt:1132) Option '--keycontainer' overrides attribute 'System.Reflection.AssemblyNameAttribute' given in a source file or added module (Originally from src/fsharp/FSComp.txt:1148) Option '--keyfile' overrides attribute 'System.Reflection.AssemblyKeyFileAttribute' given in a source file or added module (Originally from src/fsharp/FSComp.txt:1147) The key file '%s' could not be opened (Originally from src/fsharp/FSComp.txt:1142) Ignoring mixed managed/unmanaged assembly '%s' during static linking (Originally from src/fsharp/FSComp.txt:1139) Deterministic builds only support portable PDBs (--debug:portable or --debug:embedded) (Originally from src/fsharp/FSComp.txt:1155) Option '--delaysign' overrides attribute 'System.Reflection.AssemblyDelaySignAttribute' given in a source file or added module (Originally from src/fsharp/FSComp.txt:1146) The attribute %s specified version '%s', but this value is invalid and has been ignored (Originally from src/fsharp/FSComp.txt:1133) Assembly '%s' was referenced transitively and the assembly could not be resolved automatically. Static linking will assume this DLL has no dependencies on the F# library or other statically linked DLLs. Consider adding an explicit reference to this DLL. (Originally from src/fsharp/FSComp.txt:1140) An %s specified version '%s', but this value is a wildcard, and you have requested a deterministic build, these are in conflict. (Originally from src/fsharp/FSComp.txt:1154) The 'AssemblyVersionAttribute' has been ignored because a version was given using a command line option (Originally from src/fsharp/FSComp.txt:1144) Assembly '%s' not found in dependency set of target binary. Statically linked roots should be specified using an assembly name, without a DLL or EXE extension. If this assembly was referenced explicitly then it is possible the assembly was not actually required by the generated binary, in which case it should not be statically linked. (Originally from src/fsharp/FSComp.txt:1141) Error emitting 'System.Reflection.AssemblyCultureAttribute' attribute -- 'Executables cannot be satellite assemblies, Culture should always be empty' (Originally from src/fsharp/FSComp.txt:1145) From the end slicing with requires language version 5.0, use /langversion:preview. (Originally from src/fsharp/FSComp.txt:1485) - %s (Originally from src/fsharp/FSComp.txt:1498) Prefix flag (' ' or '+') set twice (Originally from src/fsharp/FSComp.txt:225) Precision missing after the '.' (Originally from src/fsharp/FSComp.txt:230) Positional specifiers are not permitted in format strings (Originally from src/fsharp/FSComp.txt:222) Missing format specifier (Originally from src/fsharp/FSComp.txt:223) 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. (Originally from src/fsharp/FSComp.txt:233) The # formatting modifier is invalid in F# (Originally from src/fsharp/FSComp.txt:226) 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. (Originally from src/fsharp/FSComp.txt:234) '%s' format does not support precision (Originally from src/fsharp/FSComp.txt:231) '%s' flag set twice (Originally from src/fsharp/FSComp.txt:224) '%s' format does not support '0' flag (Originally from src/fsharp/FSComp.txt:229) '%s' does not support prefix '%s' flag (Originally from src/fsharp/FSComp.txt:235) Bad width in format specifier (Originally from src/fsharp/FSComp.txt:228) Bad precision in format specifier (Originally from src/fsharp/FSComp.txt:227) Bad format specifier: '%s' (Originally from src/fsharp/FSComp.txt:236) 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. (Originally from src/fsharp/FSComp.txt:232) All branches of a pattern match expression must return values of the same type as the first branch, which here is '%s'. This branch returns a value of type '%s'. (Originally from src/fsharp/FSComp.txt:26) The record, struct or class field '%s' is not accessible from this code location (Originally from src/fsharp/FSComp.txt:962) wild card in for loop (Originally from src/fsharp/FSComp.txt:1500) single underscore pattern (Originally from src/fsharp/FSComp.txt:1499) whitespace relexation (Originally from src/fsharp/FSComp.txt:1501) package management (Originally from src/fsharp/FSComp.txt:1506) open static classes (Originally from src/fsharp/FSComp.txt:1504) nullable optional interop (Originally from src/fsharp/FSComp.txt:1510) nameof (Originally from src/fsharp/FSComp.txt:1502) implicit yield (Originally from src/fsharp/FSComp.txt:1503) from-end slicing (Originally from src/fsharp/FSComp.txt:1507) fixed-index slice 3d/4d (Originally from src/fsharp/FSComp.txt:1508) dotless float32 literal (Originally from src/fsharp/FSComp.txt:1505) default interface member consumption (Originally from src/fsharp/FSComp.txt:1511) applicative computation expressions (Originally from src/fsharp/FSComp.txt:1509) %s for F# %s (Originally from src/fsharp/FSComp.txt:1493) Expression does not have a name. (Originally from src/fsharp/FSComp.txt:1480) This construct is experimental (Originally from src/fsharp/FSComp.txt:964) 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<_,_>'. (Originally from src/fsharp/FSComp.txt:957) Unsupported expression '%s' from type provider. If you are the author of this type provider, consider adjusting it to provide a different provided expression. (Originally from src/fsharp/FSComp.txt:1177) Invalid member '%s' on provided type '%s'. Only properties, methods and constructors are allowed (Originally from src/fsharp/FSComp.txt:1169) Unsupported constant type '%s'. Quotations provided by type providers can only contain simple constants. The implementation of the type provider may need to be adjusted by moving a value declared outside a provided quotation literal to be a 'let' binding inside the quotation literal. (Originally from src/fsharp/FSComp.txt:1176) Unknown static argument kind '%s' when resolving a reference to a provided type or method '%s' (Originally from src/fsharp/FSComp.txt:1194) Unexpected 'null' return value from provided type '%s' member '%s' (Originally from src/fsharp/FSComp.txt:1189) Unexpected exception from provided type '%s' member '%s': %s (Originally from src/fsharp/FSComp.txt:1175) Unexpected exception from member '%s' of provided type '%s' member '%s': %s (Originally from src/fsharp/FSComp.txt:1190) The type provider constructor has thrown an exception: %s (Originally from src/fsharp/FSComp.txt:1199) Too many static parameters. Expected at most %d parameters, but got %d unnamed and %d named parameters. (Originally from src/fsharp/FSComp.txt:1287) The static parameter '%s' of the provided type or method '%s' requires a value. Static parameters to type providers may be optionally specified using named arguments, e.g. '%s<%s=...>'. (Originally from src/fsharp/FSComp.txt:1219) The static parameter '%s' has already been given a value (Originally from src/fsharp/FSComp.txt:1221) The type provider returned 'null', which is not a valid return value from '%s' (Originally from src/fsharp/FSComp.txt:1198) Assembly attribute '%s' refers to a designer assembly '%s' which cannot be loaded or doesn't exist. %s (Originally from src/fsharp/FSComp.txt:1181) The type provider '%s' reported an error in the context of provided type '%s', member '%s'. The error: %s (Originally from src/fsharp/FSComp.txt:1212) The type provider '%s' reported an error: %s (Originally from src/fsharp/FSComp.txt:1183) The type provider does not have a valid constructor. A constructor taking either no arguments or one argument of type 'TypeProviderConfig' was expected. (Originally from src/fsharp/FSComp.txt:1182) The '%s' of a provided type was null or empty. (Originally from src/fsharp/FSComp.txt:1214) An exception occurred when accessing the '%s' of a provided type: %s (Originally from src/fsharp/FSComp.txt:1213) A reference to a provided type was missing a value for the static parameter '%s'. You may need to recompile one or more referenced assemblies. (Originally from src/fsharp/FSComp.txt:1228) A reference to a provided type had an invalid value '%s' for a static parameter. You may need to recompile one or more referenced assemblies. (Originally from src/fsharp/FSComp.txt:1229) Expected provided type with path '%s' but provided type has path '%s' (Originally from src/fsharp/FSComp.txt:1188) Expected provided type named '%s' but provided type has 'Name' with value '%s' (Originally from src/fsharp/FSComp.txt:1178) The type provider '%s' returned an invalid type from 'ApplyStaticArguments'. A type with name '%s' was expected, but a type with name '%s' was returned. (Originally from src/fsharp/FSComp.txt:1201) The type provider '%s' returned an invalid method from 'ApplyStaticArgumentsForMethod'. A method with name '%s' was expected, but a method with name '%s' was returned. (Originally from src/fsharp/FSComp.txt:1202) Property '%s' on provided type '%s' is neither readable nor writable as it has CanRead=false and CanWrite=false (Originally from src/fsharp/FSComp.txt:1268) Property '%s' on provided type '%s' has CanWrite=false but GetSetMethod() returned a method (Originally from src/fsharp/FSComp.txt:1173) Property '%s' on provided type '%s' has CanRead=false but GetGetMethod() returned a method (Originally from src/fsharp/FSComp.txt:1171) Property '%s' on provided type '%s' has CanWrite=true but there was no value from GetSetMethod() (Originally from src/fsharp/FSComp.txt:1172) Property '%s' on provided type '%s' has CanRead=true but there was no value from GetGetMethod() (Originally from src/fsharp/FSComp.txt:1170) One or more errors seen during provided type setup (Originally from src/fsharp/FSComp.txt:1174) Type provider '%s' returned null from GetInvokerExpression. (Originally from src/fsharp/FSComp.txt:1200) The provided type '%s' returned a member with a null or empty member name (Originally from src/fsharp/FSComp.txt:1159) The provided type '%s' has member '%s' which has declaring type '%s'. Expected declaring type to be the same as provided type. (Originally from src/fsharp/FSComp.txt:1162) The provided type '%s' member info '%s' has null declaring type (Originally from src/fsharp/FSComp.txt:1161) The provided type '%s' returned a null member (Originally from src/fsharp/FSComp.txt:1160) No static parameter exists with name '%s' (Originally from src/fsharp/FSComp.txt:1220) Nested provided types do not take static arguments or generic parameters (Originally from src/fsharp/FSComp.txt:1191) Provided type '%s' has 'IsGenericType' as true, but generic types are not supported. (Originally from src/fsharp/FSComp.txt:1166) Provided type '%s' has 'IsArray' as true, but array types are not supported. (Originally from src/fsharp/FSComp.txt:1167) Multiple static parameters exist with name '%s' (Originally from src/fsharp/FSComp.txt:1222) This provided method requires static parameters (Originally from src/fsharp/FSComp.txt:1344) Invalid member '%s' on provided type '%s'. Provided type members must be public, and not be generic, virtual, or abstract. (Originally from src/fsharp/FSComp.txt:1168) Assembly '%s' hase TypeProviderAssembly attribute with invalid value '%s'. The value should be a valid assembly name (Originally from src/fsharp/FSComp.txt:1207) Invalid static argument to provided type. Expected an argument of kind '%s'. (Originally from src/fsharp/FSComp.txt:1192) The type provider '%s' provided a method with a name '%s' and metadata token '%d', which is not reported among its methods of its declaring type '%s' (Originally from src/fsharp/FSComp.txt:1185) The type provider '%s' provided a constructor which is not reported among the constructors of its declaring type '%s' (Originally from src/fsharp/FSComp.txt:1186) The type provider '%s' used an invalid parameter in the ParameterExpression: %s (Originally from src/fsharp/FSComp.txt:1184) Character '%s' is not allowed in provided type name '%s' (Originally from src/fsharp/FSComp.txt:1215) Character '%s' is not allowed in provided namespace name '%s' (Originally from src/fsharp/FSComp.txt:1158) Referenced assembly '%s' has assembly level attribute '%s' but no public type provider classes were found (Originally from src/fsharp/FSComp.txt:1163) Event '%s' on provided type '%s' has no value from GetRemoveMethod() (Originally from src/fsharp/FSComp.txt:1180) Event '%s' on provided type '%s' has no value from GetAddMethod() (Originally from src/fsharp/FSComp.txt:1179) An error occured applying the static arguments to a provided type (Originally from src/fsharp/FSComp.txt:1193) An error occured applying the static arguments to a provided method (Originally from src/fsharp/FSComp.txt:1327) The provider '%s' returned a non-generated type '%s' in the context of a set of generated types. Consider adjusting the type provider to only return generated types. (Originally from src/fsharp/FSComp.txt:1291) Type '%s' from type provider '%s' has an empty namespace. Use 'null' for the global namespace. (Originally from src/fsharp/FSComp.txt:1164) Empty namespace found from the type provider '%s'. Use 'null' for the global namespace. (Originally from src/fsharp/FSComp.txt:1165) A direct reference to the generated type '%s' is not permitted. Instead, use a type definition, e.g. 'type TypeAlias = <path>'. This indicates that a type provider adds generated types to your assembly. (Originally from src/fsharp/FSComp.txt:1187) Named static arguments must come after all unnamed static arguments (Originally from src/fsharp/FSComp.txt:1218) A type provider implemented GetStaticParametersForMethod, but ApplyStaticArgumentsForMethod was not implemented or invalid (Originally from src/fsharp/FSComp.txt:1326) Erased to (Originally from src/fsharp/FSComp.txt:1296) All branches of an 'if' expression must return values of the same type as the first branch, which here is '%s'. This branch returns a value of type '%s'. (Originally from src/fsharp/FSComp.txt:25) System.Environment.Exit did not exit (Originally from src/fsharp/FSComp.txt:237) The treatment of this operator is now handled directly by the F# compiler and its meaning cannot be redefined (Originally from src/fsharp/FSComp.txt:238) The documentation file has no .xml suffix (Originally from src/fsharp/FSComp.txt:1131) is (Originally from src/fsharp/FSComp.txt:1446) (description unavailable...) (Originally from src/fsharp/FSComp.txt:1303) The '!' operator is used to dereference a ref cell. Consider using 'not expr' here. (Originally from src/fsharp/FSComp.txt:29) Delegates are not allowed to have curried signatures (Originally from src/fsharp/FSComp.txt:967) %s var in collection (Originally from src/fsharp/FSComp.txt:1234) %s var in collection %s (outerKey = innerKey). Note that parentheses are required after '%s' (Originally from src/fsharp/FSComp.txt:1232) %s var in collection %s (outerKey = innerKey) into group. Note that parentheses are required after '%s' (Originally from src/fsharp/FSComp.txt:1233) None of the types '%s' support the operator '%s'. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'. (Originally from src/fsharp/FSComp.txt:310) None of the types '%s' support the operator '%s' (Originally from src/fsharp/FSComp.txt:308) 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. (Originally from src/fsharp/FSComp.txt:327) The type '%s' is not compatible with any of the types %s, arising from the use of a printf-style format string (Originally from src/fsharp/FSComp.txt:330) The type '%s' is not a CLI enum type (Originally from src/fsharp/FSComp.txt:324) The type '%s' is not a CLI delegate type (Originally from src/fsharp/FSComp.txt:326) Type instantiation length mismatch (Originally from src/fsharp/FSComp.txt:334) Type inference problem too complicated (maximum iteration depth reached). Consider adding further type annotations. (Originally from src/fsharp/FSComp.txt:303) The type '%s' has a non-standard delegate type (Originally from src/fsharp/FSComp.txt:325) The type '%s' does not support the operator '%s'. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'. (Originally from src/fsharp/FSComp.txt:311) The type '%s' does not support the operator '%s' (Originally from src/fsharp/FSComp.txt:309) 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 (Originally from src/fsharp/FSComp.txt:323) The type '%s' does not support the 'equality' constraint because it is a function type (Originally from src/fsharp/FSComp.txt:322) The type '%s' does not support the 'equality' constraint because it has the 'NoEquality' attribute (Originally from src/fsharp/FSComp.txt:321) The type '%s' does not support a conversion to the type '%s' (Originally from src/fsharp/FSComp.txt:312) 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 (Originally from src/fsharp/FSComp.txt:320) The type '%s' does not support the 'comparison' constraint. For example, it does not support the 'System.IComparable' interface (Originally from src/fsharp/FSComp.txt:319) The type '%s' does not support the 'comparison' constraint because it has the 'NoComparison' attribute (Originally from src/fsharp/FSComp.txt:318) The type '%s' does not have 'null' as a proper value (Originally from src/fsharp/FSComp.txt:316) The declared type parameter '%s' cannot be used here since the type parameter cannot be resolved at compile time (Originally from src/fsharp/FSComp.txt:301) The constraints 'struct' and 'not struct' are inconsistent (Originally from src/fsharp/FSComp.txt:315) The required signature is %s (Originally from src/fsharp/FSComp.txt:347) Argument '%s' doesn't match (Originally from src/fsharp/FSComp.txt:373) Argument at index %d doesn't match (Originally from src/fsharp/FSComp.txt:374) Optional arguments not permitted here (Originally from src/fsharp/FSComp.txt:335) The type '%s' does not have 'null' as a proper value. To create a null value for a Nullable type use 'System.Nullable()'. (Originally from src/fsharp/FSComp.txt:317) Known type parameter: %s (Originally from src/fsharp/FSComp.txt:367) Known type parameters: %s (Originally from src/fsharp/FSComp.txt:368) Known return type: %s (Originally from src/fsharp/FSComp.txt:369) Known type of argument: %s (Originally from src/fsharp/FSComp.txt:365) Known types of arguments: %s (Originally from src/fsharp/FSComp.txt:366) No overloads match for method '%s'. (Originally from src/fsharp/FSComp.txt:364) 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. (Originally from src/fsharp/FSComp.txt:362) No %s member or object constructor named '%s' takes %d arguments. Note the call to this member also provides %d named arguments. (Originally from src/fsharp/FSComp.txt:361) No %s member or object constructor named '%s' takes %d arguments (Originally from src/fsharp/FSComp.txt:360) Method or object constructor '%s' not found (Originally from src/fsharp/FSComp.txt:363) 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. (Originally from src/fsharp/FSComp.txt:370) %s is not an instance method (Originally from src/fsharp/FSComp.txt:344) %s is not a static method (Originally from src/fsharp/FSComp.txt:343) The type '%s' has a method '%s' (full name '%s'), but the method is static (Originally from src/fsharp/FSComp.txt:313) The type '%s' has a method '%s' (full name '%s'), but the method is not static (Originally from src/fsharp/FSComp.txt:314) 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 (Originally from src/fsharp/FSComp.txt:340) The member or object constructor '%s' takes %d type argument(s) but is here given %d. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:356) 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'. (Originally from src/fsharp/FSComp.txt:352) The member or object constructor '%s' takes %d argument(s) but is here given %d. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:353) The member or object constructor '%s' requires %d additional argument(s). The required signature is '%s'. Some names for missing arguments are %s. (Originally from src/fsharp/FSComp.txt:351) The member or object constructor '%s' requires %d argument(s). The required signature is '%s'. Some names for missing arguments are %s. (Originally from src/fsharp/FSComp.txt:350) The member or object constructor '%s' requires %d additional argument(s). The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:349) The member or object constructor '%s' requires %d argument(s). The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:348) The member or object constructor '%s' does not take %d argument(s). An overload was found taking %d arguments. (Originally from src/fsharp/FSComp.txt:359) 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. (Originally from src/fsharp/FSComp.txt:357) %s is not a static member (Originally from src/fsharp/FSComp.txt:336) %s is not an instance member (Originally from src/fsharp/FSComp.txt:337) 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. (Originally from src/fsharp/FSComp.txt:342) The member or object constructor '%s' is not %s (Originally from src/fsharp/FSComp.txt:341) The member or object constructor '%s' has no argument or settable return property '%s'. %s. (Originally from src/fsharp/FSComp.txt:345) This indexer expects %d arguments but is here given %d (Originally from src/fsharp/FSComp.txt:305) Incorrect generic instantiation. No %s member named '%s' takes %d generic arguments. (Originally from src/fsharp/FSComp.txt:358) A generic construct requires that the type '%s' is an unmanaged type (Originally from src/fsharp/FSComp.txt:329) A generic construct requires that the type '%s' is a CLI or F# struct type (Originally from src/fsharp/FSComp.txt:328) A generic construct requires that the type '%s' have reference semantics, but it does not, i.e. it is a struct (Originally from src/fsharp/FSComp.txt:331) A generic construct requires that the type '%s' have a public default constructor (Originally from src/fsharp/FSComp.txt:333) A generic construct requires that the type '%s' be non-abstract (Originally from src/fsharp/FSComp.txt:332) Expected arguments to an instance member (Originally from src/fsharp/FSComp.txt:304) Expecting a type supporting the operator '%s' but given a tuple type (Originally from src/fsharp/FSComp.txt:307) Expecting a type supporting the operator '%s' but given a function type. You may be missing an argument to a function. (Originally from src/fsharp/FSComp.txt:306) 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 (','). (Originally from src/fsharp/FSComp.txt:355) The object constructor '%s' takes %d argument(s) but is here given %d. The required signature is '%s'. (Originally from src/fsharp/FSComp.txt:354) The object constructor '%s' has no argument or settable return property '%s'. %s. (Originally from src/fsharp/FSComp.txt:346) 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 '_'. (Originally from src/fsharp/FSComp.txt:302) Candidates:\n%s (Originally from src/fsharp/FSComp.txt:371) Available overloads:\n%s (Originally from src/fsharp/FSComp.txt:372) The argument types don't match (Originally from src/fsharp/FSComp.txt:339) Argument length mismatch (Originally from src/fsharp/FSComp.txt:338) Quotations cannot contain expressions that set union case fields (Originally from src/fsharp/FSComp.txt:293) Quotations cannot contain expressions that set fields in exception values (Originally from src/fsharp/FSComp.txt:294) Quotations cannot contain expressions that require byref pointers (Originally from src/fsharp/FSComp.txt:295) Quotations cannot contain expressions that fetch union case indexes (Originally from src/fsharp/FSComp.txt:292) Quotations cannot contain this kind of type (Originally from src/fsharp/FSComp.txt:300) Quotations cannot contain this kind of pattern match (Originally from src/fsharp/FSComp.txt:298) Quotations cannot contain this kind of constant (Originally from src/fsharp/FSComp.txt:297) Quotations cannot contain expressions that fetch static fields (Originally from src/fsharp/FSComp.txt:289) Quotations cannot contain object expressions (Originally from src/fsharp/FSComp.txt:287) Quotations cannot contain inline assembly code or pattern matching on arrays (Originally from src/fsharp/FSComp.txt:290) 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. (Originally from src/fsharp/FSComp.txt:286) Quotations cannot contain uses of generic expressions (Originally from src/fsharp/FSComp.txt:285) Quotations cannot contain descending for loops (Originally from src/fsharp/FSComp.txt:291) Quotations cannot contain array pattern matching (Originally from src/fsharp/FSComp.txt:299) Quotations cannot contain expressions that take the address of a field (Originally from src/fsharp/FSComp.txt:288) Quotations cannot contain expressions that make member constraint calls, or uses of operators that implicitly resolve to a member constraint call (Originally from src/fsharp/FSComp.txt:296) A quotation may not involve an assignment to or taking the address of a captured local variable (Originally from src/fsharp/FSComp.txt:1293) Inner generic functions are not permitted in quoted expressions. Consider adding some type constraints until this function is no longer generic. (Originally from src/fsharp/FSComp.txt:1102) 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. (Originally from src/fsharp/FSComp.txt:284) The dependency manager extension %s could not be loaded. Message: %s (Originally from src/fsharp/FSComp.txt:1479) The conversion from %s to %s is a compile-time safe upcast, not a downcast. Consider using the :> (upcast) operator instead of the :?> (downcast) operator. (Originally from src/fsharp/FSComp.txt:1346) The conversion from %s to %s is a compile-time safe upcast, not a downcast. Consider using 'upcast' instead of 'downcast'. (Originally from src/fsharp/FSComp.txt:1345) A ';' is used to separate field values in records. Consider replacing ',' with ';'. (Originally from src/fsharp/FSComp.txt:28) The variable '%s' is used in an invalid way (Originally from src/fsharp/FSComp.txt:242) 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 (Originally from src/fsharp/FSComp.txt:282) The value '%s' is unused (Originally from src/fsharp/FSComp.txt:1054) The recursive object reference '%s' is unused. The presence of a recursive object reference adds runtime initialization checks to members in this and derived types. Consider removing this recursive object reference. (Originally from src/fsharp/FSComp.txt:1055) default augmentation of the union case (Originally from src/fsharp/FSComp.txt:267) compiled form of the union case (Originally from src/fsharp/FSComp.txt:266) The type '%s' is less accessible than the value, member or type '%s' it is used in. (Originally from src/fsharp/FSComp.txt:243) A type variable has been constrained by multiple different class types. A type variable may only have one class constraint. (Originally from src/fsharp/FSComp.txt:1304) 'System.Void' can only be used as 'typeof<System.Void>' in F# (Originally from src/fsharp/FSComp.txt:244) Struct members cannot return the address of fields of the struct by reference (Originally from src/fsharp/FSComp.txt:1466) Expression-splicing operators may only be used within quotations (Originally from src/fsharp/FSComp.txt:247) A method return type would contain byrefs which is not permitted (Originally from src/fsharp/FSComp.txt:259) [<ReflectedDefinition>] terms cannot contain uses of the prefix splice operator '%%' (Originally from src/fsharp/FSComp.txt:264) 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. (Originally from src/fsharp/FSComp.txt:239) The property '%s' has the same name as a method in type '%s'. (Originally from src/fsharp/FSComp.txt:268) 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. (Originally from src/fsharp/FSComp.txt:270) 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. (Originally from src/fsharp/FSComp.txt:253) This value can't be assigned because the target '%s' may refer to non-stack-local memory, while the expression being assigned is assessed to potentially refer to stack-local memory. This is to help prevent pointers to stack-bound memory escaping their scope. (Originally from src/fsharp/FSComp.txt:1463) The Span or IsByRefLike variable '%s' cannot be used at this point. This is to ensure the address of the local value does not escape its scope. (Originally from src/fsharp/FSComp.txt:1468) A Span or IsByRefLike value returned from the expression cannot be used at ths point. This is to ensure the address of the local value does not escape its scope. (Originally from src/fsharp/FSComp.txt:1469) ReflectedDefinitionAttribute may not be applied to an instance member on a struct type, because the instance member takes an implicit 'this' byref parameter (Originally from src/fsharp/FSComp.txt:1096) First-class uses of the expression-splicing operator are not permitted (Originally from src/fsharp/FSComp.txt:248) First-class uses of the 'reraise' function is not permitted (Originally from src/fsharp/FSComp.txt:250) Using the 'nameof' operator as a first-class function value is not permitted. (Originally from src/fsharp/FSComp.txt:1481) First-class uses of the address-of operators are not permitted (Originally from src/fsharp/FSComp.txt:249) Type '%s' is illegal because in byref<T>, T cannot contain byref types. (Originally from src/fsharp/FSComp.txt:1276) The function or method call cannot be used at this point, because one argument that is a byref of a non-stack-local Span or IsByRefLike type is used with another argument that is a stack-local Span or IsByRefLike type. This is to ensure the address of the local value does not escape its scope. (Originally from src/fsharp/FSComp.txt:1467) The type abbreviation contains byrefs. This is not permitted by F#. (Originally from src/fsharp/FSComp.txt:283) The byref typed value '%s' cannot be used at this point (Originally from src/fsharp/FSComp.txt:251) A byref typed value would be stored here. Top-level let-bound byref values are not permitted. (Originally from src/fsharp/FSComp.txt:263) The address of a value returned from the expression cannot be used at this point. This is to ensure the address of the local value does not escape its scope. (Originally from src/fsharp/FSComp.txt:1462) The address of the variable '%s' or a related expression cannot be used at this point. This is to ensure the address of the local value does not escape its scope. (Originally from src/fsharp/FSComp.txt:1356) The address of the static field '%s' cannot be used at this point (Originally from src/fsharp/FSComp.txt:255) The address of the variable '%s' cannot be used at this point (Originally from src/fsharp/FSComp.txt:254) The address of an array element cannot be used at this point (Originally from src/fsharp/FSComp.txt:257) The address of the field '%s' cannot be used at this point (Originally from src/fsharp/FSComp.txt:256) This type implements the same interface at different generic instantiations '%s' and '%s'. This is not permitted in this version of F#. (Originally from src/fsharp/FSComp.txt:281) 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. (Originally from src/fsharp/FSComp.txt:262) 'base' values may only be used to make direct calls to the base implementations of overridden members (Originally from src/fsharp/FSComp.txt:252) The function or method has an invalid return type '%s'. This is not permitted by the rules of Common IL. (Originally from src/fsharp/FSComp.txt:1483) The parameter '%s' has an invalid type '%s'. This is not permitted by the rules of Common IL. (Originally from src/fsharp/FSComp.txt:1482) Invalid custom attribute value (not a constant or literal) (Originally from src/fsharp/FSComp.txt:260) 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. (Originally from src/fsharp/FSComp.txt:269) A property's getter and setter must have the same type. Property '%s' has getter of type '%s' but setter of type '%s'. (Originally from src/fsharp/FSComp.txt:1313) The type of a first-class function cannot contain byrefs (Originally from src/fsharp/FSComp.txt:258) Feature '%s' is not supported by target runtime. (Originally from src/fsharp/FSComp.txt:1490) Feature '%s' is not available in F# %s. Please use language version %s or greater. (Originally from src/fsharp/FSComp.txt:1489) A type instantiation involves a byref type. This is not permitted by the rules of Common IL. (Originally from src/fsharp/FSComp.txt:245) Calls to 'reraise' may only occur directly in a handler of a try-with (Originally from src/fsharp/FSComp.txt:246) A function labeled with the 'EntryPointAttribute' attribute must be the last declaration in the last file in the compilation sequence. (Originally from src/fsharp/FSComp.txt:265) 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. (Originally from src/fsharp/FSComp.txt:278) Duplicate property. The property '%s' has the same name and signature as another property in type '%s'. (Originally from src/fsharp/FSComp.txt:277) 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. (Originally from src/fsharp/FSComp.txt:274) 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. (Originally from src/fsharp/FSComp.txt:280) Duplicate method. The abstract method '%s' has the same name and signature as an abstract method in an inherited type. (Originally from src/fsharp/FSComp.txt:279) 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. (Originally from src/fsharp/FSComp.txt:275) Duplicate method. The method '%s' has the same name and signature as another method in type '%s'. (Originally from src/fsharp/FSComp.txt:273) Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition', 'byref', 'CallerLineNumber', 'CallerMemberName', or 'CallerFilePath' arguments (Originally from src/fsharp/FSComp.txt:276) A type would store a byref typed value. This is not permitted by Common IL. (Originally from src/fsharp/FSComp.txt:271) The byref-typed variable '%s' is used in an invalid way. Byrefs cannot be captured by closures or passed to inner functions. (Originally from src/fsharp/FSComp.txt:240) 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. (Originally from src/fsharp/FSComp.txt:241) The attribute type '%s' has 'AllowMultiple=false'. Multiple instances of this attribute cannot be attached to a single language element. (Originally from src/fsharp/FSComp.txt:261) Redundant arguments are being ignored in function '%s'. Expected %d but got %d arguments. (Originally from src/fsharp/FSComp.txt:1335) Type inference caused an inference type variable to escape its scope. Consider adding type annotations to make your code less generic. (Originally from src/fsharp/FSComp.txt:1334) Type inference caused the type variable %s to escape its scope. Consider adding an explicit type parameter declaration or adjusting your code to be less generic. (Originally from src/fsharp/FSComp.txt:1333) Lowercase literal '%s' is being shadowed by a new pattern with the same name. Only uppercase and module-prefixed literals can be used as named patterns. (Originally from src/fsharp/FSComp.txt:1336) The operator '%s' cannot be resolved. Consider opening the module 'Microsoft.FSharp.Linq.NullableOperators'. (Originally from src/fsharp/FSComp.txt:1307) Unrecognized option: '%s' (Originally from src/fsharp/FSComp.txt:71) The non-generic type '%s' does not expect any type arguments, but here is given %d type argument(s) (Originally from src/fsharp/FSComp.txt:30) Filename '%s' contains invalid character '%s' (Originally from src/fsharp/FSComp.txt:1100) 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. (Originally from src/fsharp/FSComp.txt:68) A signature for the file or module '%s' has already been specified (Originally from src/fsharp/FSComp.txt:65) The search directory '%s' could not be found (Originally from src/fsharp/FSComp.txt:43) F# Compiler for F# %s (Originally from src/fsharp/FSComp.txt:38) Microsoft (R) F# Compiler version %s (Originally from src/fsharp/FSComp.txt:37) Problem with filename '%s': %s (Originally from src/fsharp/FSComp.txt:39) Problem reading assembly '%s': %s (Originally from src/fsharp/FSComp.txt:1300) The '--pdb' option requires the '--debug' option to be used (Originally from src/fsharp/FSComp.txt:41) Option requires parameter: %s (Originally from src/fsharp/FSComp.txt:53) No inputs specified (Originally from src/fsharp/FSComp.txt:40) 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. (Originally from src/fsharp/FSComp.txt:52) 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. (Originally from src/fsharp/FSComp.txt:50) Invalid warning number '%s' (Originally from src/fsharp/FSComp.txt:34) Invalid version string '%s' (Originally from src/fsharp/FSComp.txt:35) Invalid version file '%s' (Originally from src/fsharp/FSComp.txt:36) The file extension of '%s' is not recognized. Source files must have extension .fs, .fsi, .fsx, .fsscript, .ml or .mli. (Originally from src/fsharp/FSComp.txt:55) The search directory '%s' is invalid (Originally from src/fsharp/FSComp.txt:42) Unrecognized privacy setting '%s' for managed resource, valid options are 'public' and 'private' (Originally from src/fsharp/FSComp.txt:46) Invalid module or namespace name (Originally from src/fsharp/FSComp.txt:72) Invalid directive. Expected '#time', '#time \"on\"' or '#time \"off\"'. (Originally from src/fsharp/FSComp.txt:63) Invalid directive. Expected '#r \"<file-or-assembly>\"'. (Originally from src/fsharp/FSComp.txt:61) Invalid directive. Expected '#load \"<file>\" ... \"<file>\"'. (Originally from src/fsharp/FSComp.txt:62) Invalid directive. Expected '#I \"<path>\"'. (Originally from src/fsharp/FSComp.txt:60) '%s' is not a valid filename (Originally from src/fsharp/FSComp.txt:44) '%s' is not a valid assembly name (Originally from src/fsharp/FSComp.txt:45) 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. (Originally from src/fsharp/FSComp.txt:49) 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. (Originally from src/fsharp/FSComp.txt:66) An implementation of the file or module '%s' has already been given (Originally from src/fsharp/FSComp.txt:67) FSharp.Core.sigdata not found alongside FSharp.Core. File expected in %s. Consider upgrading to a more recent version of FSharp.Core, where this file is no longer be required. (Originally from src/fsharp/FSComp.txt:1098) File '%s' not found alongside FSharp.Core. File expected in %s. Consider upgrading to a more recent version of FSharp.Core, where this file is no longer be required. (Originally from src/fsharp/FSComp.txt:1099) Error opening binary file '%s': %s (Originally from src/fsharp/FSComp.txt:58) Directives inside modules are ignored (Originally from src/fsharp/FSComp.txt:64) The F#-compiled DLL '%s' needs to be recompiled to be used with this version of F# (Originally from src/fsharp/FSComp.txt:59) Could not resolve assembly '%s' required by '%s' (Originally from src/fsharp/FSComp.txt:57) Could not resolve assembly '%s' (Originally from src/fsharp/FSComp.txt:56) Source file '%s' could not be found (Originally from src/fsharp/FSComp.txt:54) The file extensions '.ml' and '.mli' are for ML compatibility (Originally from src/fsharp/FSComp.txt:1083) Unable to read assembly '%s' (Originally from src/fsharp/FSComp.txt:47) Assembly resolution failure at or near this location (Originally from src/fsharp/FSComp.txt:48) '%s' is not a valid integer argument (Originally from src/fsharp/FSComp.txt:69) '%s' is not a valid floating point argument (Originally from src/fsharp/FSComp.txt:70) A type cannot have both the 'ReferenceEquality' and 'StructuralEquality' or 'StructuralComparison' attributes (Originally from src/fsharp/FSComp.txt:214) The 'StructuralEquality' attribute must be used in conjunction with the 'NoComparison' or 'StructuralComparison' attributes (Originally from src/fsharp/FSComp.txt:213) The 'StructuralComparison' attribute must be used in conjunction with the 'StructuralEquality' attribute (Originally from src/fsharp/FSComp.txt:212) A type with attribute 'ReferenceEquality' cannot have an explicit implementation of 'Object.Equals(obj)', 'System.IEquatable<_>' or 'System.Collections.IStructuralEquatable' (Originally from src/fsharp/FSComp.txt:216) Only record, union, exception and struct types may be augmented with the 'ReferenceEquality', 'StructuralEquality' and 'StructuralComparison' attributes (Originally from src/fsharp/FSComp.txt:215) The 'ReferenceEquality' attribute cannot be used on structs. Consider using the 'StructuralEquality' attribute instead, or implement an override for 'System.Object.Equals(obj)'. (Originally from src/fsharp/FSComp.txt:209) The 'NoEquality' attribute must be used in conjunction with the 'NoComparison' attribute (Originally from src/fsharp/FSComp.txt:211) 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 (Originally from src/fsharp/FSComp.txt:219) 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 (Originally from src/fsharp/FSComp.txt:220) This type uses an invalid mix of the attributes 'NoEquality', 'ReferenceEquality', 'StructuralEquality', 'NoComparison' and 'StructuralComparison' (Originally from src/fsharp/FSComp.txt:210) A type with attribute 'CustomEquality' must have an explicit implementation of at least one of 'Object.Equals(obj)', 'System.IEquatable<_>' or 'System.Collections.IStructuralEquatable' (Originally from src/fsharp/FSComp.txt:217) The 'CustomEquality' attribute must be used in conjunction with the 'NoComparison' or 'CustomComparison' attributes (Originally from src/fsharp/FSComp.txt:221) A type with attribute 'CustomComparison' must have an explicit implementation of at least one of 'System.IComparable' or 'System.Collections.IStructuralComparable' (Originally from src/fsharp/FSComp.txt:218) Error while parsing embedded IL type (Originally from src/fsharp/FSComp.txt:206) Error while parsing embedded IL (Originally from src/fsharp/FSComp.txt:205) Invalid expression on left of assignment (Originally from src/fsharp/FSComp.txt:208) This indexer notation has been removed from the F# language (Originally from src/fsharp/FSComp.txt:207) .NET Framework (Originally from src/fsharp/FSComp.txt:953) Global Assembly Cache (Originally from src/fsharp/FSComp.txt:954) Found by AssemblyFolders registry key (Originally from src/fsharp/FSComp.txt:951) Found by AssemblyFoldersEx registry key (Originally from src/fsharp/FSComp.txt:952) All elements of an array must be of the same type as the first element, which here is '%s'. This element has type '%s'. (Originally from src/fsharp/FSComp.txt:22) Add . for indexer access. (Originally from src/fsharp/FSComp.txt:20) Active pattern '%s' is not a function (Originally from src/fsharp/FSComp.txt:1085) Active pattern '%s' has a result type containing type variables that are not determined by the input. The common cause is a when a result case is not mentioned, e.g. 'let (|A|B|) (x:int) = A x'. This can be fixed with a type constraint, e.g. 'let (|A|B|) (x:int) : Choice<int,unit> = A x' (Originally from src/fsharp/FSComp.txt:1086) The mutable local '%s' is implicitly allocated as a reference cell because it has been captured by a closure. This warning is for informational purposes only to indicate where implicit allocations are performed. (Originally from src/fsharp/FSComp.txt:1325) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is virtual and the other isn't (Originally from src/fsharp/FSComp.txt:114) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe types differ (Originally from src/fsharp/FSComp.txt:106) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is static and the other isn't (Originally from src/fsharp/FSComp.txt:113) 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 (Originally from src/fsharp/FSComp.txt:119) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe respective type parameter counts differ (Originally from src/fsharp/FSComp.txt:105) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is marked as an override and the other isn't (Originally from src/fsharp/FSComp.txt:117) 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. (Originally from src/fsharp/FSComp.txt:104) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is a constructor/property and the other is not (Originally from src/fsharp/FSComp.txt:118) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe names differ (Originally from src/fsharp/FSComp.txt:98) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe literal constant values and/or attributes differ (Originally from src/fsharp/FSComp.txt:103) 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 (Originally from src/fsharp/FSComp.txt:120) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe inline flags differ (Originally from src/fsharp/FSComp.txt:102) 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 (Originally from src/fsharp/FSComp.txt:109) 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. (Originally from src/fsharp/FSComp.txt:110) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is final and the other isn't (Originally from src/fsharp/FSComp.txt:116) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is an extension member and the other is not (Originally from src/fsharp/FSComp.txt:107) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe CLI member names differ (Originally from src/fsharp/FSComp.txt:112) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe display names differ (Originally from src/fsharp/FSComp.txt:100) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe compiled names differ (Originally from src/fsharp/FSComp.txt:99) Module '%s' contains\n %s \nbut its signature specifies\n %s \nThe mutability attributes differ (Originally from src/fsharp/FSComp.txt:97) Module '%s' contains\n %s \nbut its signature specifies\n %s \nAn arity was not inferred for this value (Originally from src/fsharp/FSComp.txt:108) 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. (Originally from src/fsharp/FSComp.txt:111) 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 (Originally from src/fsharp/FSComp.txt:101) Module '%s' contains\n %s \nbut its signature specifies\n %s \nOne is abstract and the other isn't (Originally from src/fsharp/FSComp.txt:115) Call this method once to validate that all known resources are valid; throws if not The module contains the constructor\n %s \nbut its signature specifies\n %s \nThe types of the fields differ (Originally from src/fsharp/FSComp.txt:155) The module contains the constructor\n %s \nbut its signature specifies\n %s \nThe names differ (Originally from src/fsharp/FSComp.txt:153) The module contains the constructor\n %s \nbut its signature specifies\n %s \nThe respective number of data fields differ (Originally from src/fsharp/FSComp.txt:154) 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 (Originally from src/fsharp/FSComp.txt:156) Invalid recursive reference to an abstract slot (Originally from src/fsharp/FSComp.txt:956) The module contains the field\n %s \nbut its signature specifies\n %s \nThe types differ (Originally from src/fsharp/FSComp.txt:162) The module contains the field\n %s \nbut its signature specifies\n %s \nThe 'static' modifiers differ (Originally from src/fsharp/FSComp.txt:159) The module contains the field\n %s \nbut its signature specifies\n %s \nThe names differ (Originally from src/fsharp/FSComp.txt:157) The module contains the field\n %s \nbut its signature specifies\n %s \nThe 'mutable' modifiers differ (Originally from src/fsharp/FSComp.txt:160) The module contains the field\n %s \nbut its signature specifies\n %s \nThe 'literal' modifiers differ (Originally from src/fsharp/FSComp.txt:161) 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 (Originally from src/fsharp/FSComp.txt:158) 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. (Originally from src/fsharp/FSComp.txt:180) 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 (Originally from src/fsharp/FSComp.txt:177) 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. (Originally from src/fsharp/FSComp.txt:184) 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. (Originally from src/fsharp/FSComp.txt:182) 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. (Originally from src/fsharp/FSComp.txt:183) 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. (Originally from src/fsharp/FSComp.txt:181) 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 (Originally from src/fsharp/FSComp.txt:178) 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. (Originally from src/fsharp/FSComp.txt:179) The %s definitions for type '%s' in the signature and implementation are not compatible because the types have different base types (Originally from src/fsharp/FSComp.txt:133) The %s definitions for type '%s' in the signature and implementation are not compatible because a type representation is being hidden by a signature (Originally from src/fsharp/FSComp.txt:139) The %s definitions for type '%s' in the signature and implementation are not compatible because the types are of different kinds (Originally from src/fsharp/FSComp.txt:140) 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 (Originally from src/fsharp/FSComp.txt:128) 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 (Originally from src/fsharp/FSComp.txt:127) 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. (Originally from src/fsharp/FSComp.txt:132) 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) (Originally from src/fsharp/FSComp.txt:135) 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 (Originally from src/fsharp/FSComp.txt:149) 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 (Originally from src/fsharp/FSComp.txt:152) The %s definitions for type '%s' in the signature and implementation are not compatible because the representations differ (Originally from src/fsharp/FSComp.txt:142) The %s definitions for type '%s' in the signature and implementation are not compatible because the respective type parameter counts differ (Originally from src/fsharp/FSComp.txt:122) The %s definitions for type '%s' in the signature and implementation are not compatible because the number of %ss differ (Originally from src/fsharp/FSComp.txt:134) 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. (Originally from src/fsharp/FSComp.txt:121) 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 (Originally from src/fsharp/FSComp.txt:124) 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. (Originally from src/fsharp/FSComp.txt:129) 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 (Originally from src/fsharp/FSComp.txt:126) 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 (Originally from src/fsharp/FSComp.txt:125) 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. (Originally from src/fsharp/FSComp.txt:130) 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. (Originally from src/fsharp/FSComp.txt:131) 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 (Originally from src/fsharp/FSComp.txt:137) 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) (Originally from src/fsharp/FSComp.txt:136) The %s definitions for type '%s' in the signature and implementation are not compatible because the IL representations differ (Originally from src/fsharp/FSComp.txt:141) 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 (Originally from src/fsharp/FSComp.txt:143) 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 (Originally from src/fsharp/FSComp.txt:145) 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 (Originally from src/fsharp/FSComp.txt:144) 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'. (Originally from src/fsharp/FSComp.txt:146) 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 (Originally from src/fsharp/FSComp.txt:138) 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 (Originally from src/fsharp/FSComp.txt:123) 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 (Originally from src/fsharp/FSComp.txt:148) 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 (Originally from src/fsharp/FSComp.txt:147) The %s definitions for type '%s' in the signature and implementation are not compatible because the abbreviations differ: %s versus %s (Originally from src/fsharp/FSComp.txt:150) 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. (Originally from src/fsharp/FSComp.txt:151) The default value does not have the same type as the argument. The DefaultParameterValue attribute and any Optional attribute will be ignored. Note: 'null' needs to be annotated with the correct type, e.g. 'DefaultParameterValue(null:obj)'. (Originally from src/fsharp/FSComp.txt:1358) The CallerMemberNameAttribute applied to parameter '%s' will have no effect. It is overridden by the CallerFilePathAttribute. (Originally from src/fsharp/FSComp.txt:1353) The argument names in the signature '%s' and implementation '%s' do not match. The argument name from the signature file will be used. This may cause problems when debugging or profiling. (Originally from src/fsharp/FSComp.txt:1452) If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines). Package manager key '%s' was not registered in %s. Currently registered: %s (Originally from src/fsharp/Interactive.DependencyManager\InteractiveDependencyManager.txt:2) %s (Originally from src/fsharp/Interactive.DependencyManager\InteractiveDependencyManager.txt:3) If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines). The dependency manager extension %s could not be loaded. Message: %s (Originally from src/fsharp/Interactive.DependencyManager\InteractiveDependencyManager.txt:4) Call this method once to validate that all known resources are valid; throws if not Stopped due to error\n (Originally from src/fsharp/fsi\FSIstrings.txt:2) Prevents references from being locked by the F# Interactive process (Originally from src/fsharp/fsi\FSIstrings.txt:54) If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines). If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines). Use the given file on startup as initial input (Originally from src/fsharp/fsi\FSIstrings.txt:11) Usage: %s <options> [script.fsx [<arguments>]] (Originally from src/fsharp/fsi\FSIstrings.txt:3) - Unexpected ThreadAbortException (Ctrl-C) during event handling: Trying to restart... (Originally from src/fsharp/fsi\FSIstrings.txt:49) --> Timing now on (Originally from src/fsharp/fsi\FSIstrings.txt:47) --> Timing now off (Originally from src/fsharp/fsi\FSIstrings.txt:48) Real: %s, CPU: %s, GC %s (Originally from src/fsharp/fsi\FSIstrings.txt:26) gen (Originally from src/fsharp/fsi\FSIstrings.txt:27) Treat remaining arguments as command line arguments, accessed using fsi.CommandLineArgs (Originally from src/fsharp/fsi\FSIstrings.txt:13) Support TAB completion in console (on by default) (Originally from src/fsharp/fsi\FSIstrings.txt:18) Suppress fsi writing to stdout (Originally from src/fsharp/fsi\FSIstrings.txt:17) F# Interactive for F# %s (Originally from src/fsharp/fsi\FSIstrings.txt:53) Microsoft (R) F# Interactive version %s (Originally from src/fsharp/fsi\FSIstrings.txt:52) Operation failed. The error text has been printed in the error stream. To return the corresponding FSharpErrorInfo use the EvalInteractionNonThrowing, EvalScriptNonThrowing or EvalExpressionNonThrowing (Originally from src/fsharp/fsi\FSIstrings.txt:56) Operation could not be completed due to earlier error (Originally from src/fsharp/fsi\FSIstrings.txt:55) - MISCELLANEOUS - (Originally from src/fsharp/fsi\FSIstrings.txt:8) Loading (Originally from src/fsharp/fsi\FSIstrings.txt:38) #load the given file on startup (Originally from src/fsharp/fsi\FSIstrings.txt:12) Warning: line too long, ignoring some characters\n (Originally from src/fsharp/fsi\FSIstrings.txt:25) - LANGUAGE - (Originally from src/fsharp/fsi\FSIstrings.txt:7) Invalid directive '#%s %s' (Originally from src/fsharp/fsi\FSIstrings.txt:24) '%s' is not a valid assembly name (Originally from src/fsharp/fsi\FSIstrings.txt:22) See '%s' for options (Originally from src/fsharp/fsi\FSIstrings.txt:37) F# Interactive command line options: (Originally from src/fsharp/fsi\FSIstrings.txt:36) F# Interactive directives: (Originally from src/fsharp/fsi\FSIstrings.txt:29) Toggle timing on/off (Originally from src/fsharp/fsi\FSIstrings.txt:33) Reference (dynamically load) the given DLL (Originally from src/fsharp/fsi\FSIstrings.txt:30) Exit (Originally from src/fsharp/fsi\FSIstrings.txt:35) Load the given file(s) as if compiled and referenced (Originally from src/fsharp/fsi\FSIstrings.txt:32) Display help (Originally from src/fsharp/fsi\FSIstrings.txt:34) Add the given search path for referenced DLLs (Originally from src/fsharp/fsi\FSIstrings.txt:31) \n- Interrupt\n (Originally from src/fsharp/fsi\FSIstrings.txt:39) - INPUT FILES - (Originally from src/fsharp/fsi\FSIstrings.txt:4) Display this usage message (Short form: -?) (Originally from src/fsharp/fsi\FSIstrings.txt:14) Execute interactions on a Windows Forms event loop (on by default) (Originally from src/fsharp/fsi\FSIstrings.txt:16) Failed to resolve assembly '%s' (Originally from src/fsharp/fsi\FSIstrings.txt:50) \n- Exit...\n (Originally from src/fsharp/fsi\FSIstrings.txt:40) Exit fsi after loading the files or running the .fsx script given on the command line (Originally from src/fsharp/fsi\FSIstrings.txt:15) Exception raised when starting remoting server.\n%s (Originally from src/fsharp/fsi\FSIstrings.txt:10) \n\nException raised during pretty printing.\nPlease report this so it can be fixed.\nTrace: %s\n (Originally from src/fsharp/fsi\FSIstrings.txt:28) - ERRORS AND WARNINGS - (Originally from src/fsharp/fsi\FSIstrings.txt:6) Emit debug information in quotations (Originally from src/fsharp/fsi\FSIstrings.txt:19) Directory '%s' doesn't exist (Originally from src/fsharp/fsi\FSIstrings.txt:23) --> Referenced '%s' (an assembly with a different timestamp has already been referenced from this location, reset fsi to load the updated assembly) (Originally from src/fsharp/fsi\FSIstrings.txt:45) --> Referenced '%s' (file may be locked by F# Interactive process) (Originally from src/fsharp/fsi\FSIstrings.txt:44) --> Referenced '%s' (Originally from src/fsharp/fsi\FSIstrings.txt:43) --> Added '%s' to library include path (Originally from src/fsharp/fsi\FSIstrings.txt:46) Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was:\n\t%s (Originally from src/fsharp/fsi\FSIstrings.txt:42) A problem occurred starting the F# Interactive process. This may be due to a known problem with background process console support for Unicode-enabled applications on some Windows systems. Try selecting Tools->Options->F# Interactive for Visual Studio and enter '--fsi-server-no-unicode'. (Originally from src/fsharp/fsi\FSIstrings.txt:21) - CODE GENERATION - (Originally from src/fsharp/fsi\FSIstrings.txt:5) Binding session to '%s'... (Originally from src/fsharp/fsi\FSIstrings.txt:51) For help type #help;; (Originally from src/fsharp/fsi\FSIstrings.txt:20) - ADVANCED - (Originally from src/fsharp/fsi\FSIstrings.txt:9) - Aborting main thread... (Originally from src/fsharp/fsi\FSIstrings.txt:41) Call this method once to validate that all known resources are valid; throws if not This operation is O(n) anyway, so executing ToList() here is OK This operation is O(1), unless a push happens, which is rare. Iterable functional collection with O(1) append-1 time. Useful for data structures where elements get added at the end but the collection must occasionally be iterated. Iteration is slower and may allocate because a suffix of elements is stored in reverse order. The type doesn't support structural hashing or comparison. A record of options to control structural formatting. For F# Interactive properties matching those of this value can be accessed via the 'fsi' value. Floating Point format given in the same format accepted by System.Double.ToString, e.g. f6 or g15. If ShowProperties is set the printing process will evaluate properties of the values being displayed. This may cause additional computation. The ShowIEnumerable is set the printing process will force the evaluation of IEnumerable objects to a small, finite depth, as determined by the printing parameters. This may lead to additional computation being performed during printing. <example> From F# Interactive the default settings can be adjusted using, for example, <pre> open FSharp.Compiler.Interactive.Settings;; setPrintWidth 120;; </pre> </example> The maximum number of rows for which to generate layout for table-like structures. -1 if no maximum. The maximum number of elements for which to generate layout for list-like structures, or columns in table-like structures. -1 if no maximum. Return to the layout-generation environment to layout any otherwise uninterpreted object Data representing structured layouts of terms. The representation of this data type is only for the consumption of formatting engines. Data representing joints in structured layouts of terms. The representation of this data type is only for the consumption of formatting engines. Convert any value to a layout using the given formatting options. The layout can then be processed using formatting display engines such as those in the LayoutOps module. any_to_string and output_any are built using any_to_layout with default format options. Output any value to a channel using the same set of formatting rules as any_to_string Convert any value to a string using a standard formatter Data is typically formatted in a structured format, e.g. lists are formatted using the "[1;2]" notation. The details of the format are not specified and may change from version to version and according to the flags given to the F# compiler. The format is intended to be human-readable, not machine readable. If alternative generic formats are required you should develop your own formatter, using the code in the implementation of this file as a starting point. Data from other .NET languages is formatted using a virtual call to Object.ToString() on the boxed version of the input. For limiting layout of list-like sequences (lists,arrays,etc). unfold a list of items using (project and z) making layout list via itemL. If reach maxLength (before exhausting) then truncate. See tagL Layout like an F# list. Layout like an F# option. Layout list vertically. Layout two vertically. Form tuple of layouts. Wrap braces around layout. Wrap square brackets around layout. Wrap round brackets around Layout. Join layouts into a list separated using the given Layout. Join layouts into a semi-colon separated list. Join layouts into a space separated list. Join layouts into a comma separated list. Join broken with ident=2 Join broken with ident=1 Join broken with ident=0 Join, possible break with indent=2 Join, possible break with indent=1 Join, possible break with indent=0 Join, unbreakable. An string which is left parenthesis (no space on the right). An string which is right parenthesis (no space on the left). An string which requires no spaces either side. An string leaf An uninterpreted leaf, to be interpreted into a string by the layout engine. This allows leaf layouts for numbers, strings and other atoms to be customized according to culture. Is it the empty layout? The empty layout A layout is a sequence of strings which have been joined together. The strings are classified as words, separators and left and right parenthesis. This classification determines where spaces are inserted. A joint is either unbreakable, breakable or broken. If a joint is broken the RHS layout occurs on the next line with optional indentation. A layout can be squashed to for given width which forces breaks as required. Interpret tables for a unicode lexer generated by <c>fslex.exe</c>. Create the tables from raw data The type of tables for an unicode lexer generated by <c>fslex.exe</c>. The start position for the lexeme. True if the refill of the buffer ever failed , or if explicitly set to True. The end position for the lexeme. The start position for the lexeme. The matched string. True if the refill of the buffer ever failed , or if explicitly set to True. The end position for the lexeme. Dynamically typed, non-lexically scoped parameter table. True if the refill of the buffer ever failed , or if explicitly set to True. Fast helper to turn the matched characters into a string, avoiding an intermediate array. Create a lex buffer backed by source text. Create a lex buffer that reads character or byte inputs by using the given function. Create a lex buffer suitable for Unicode lexing that reads characters from the given array. Important: does take ownership of the array. Input buffers consumed by lexers generated by <c>fslex.exe</c>. The type must be generic to match the code generated by FsLex and FsYacc (if you would like to fix this, please submit a PR to the FsLexYacc repository allowing for optional emit of a non-generic type reference). Return absolute offset of the start of the line marked by the position. The character number in the input stream. The line number for the position in the input stream, assuming fresh positions have been updated using for the new line. The line number in the input stream, assuming fresh positions have been updated for the new line by modifying the EndPos property of the LexBuffer. The file index for the file associated with the input stream, use <c>fileOfFileIndex</c> in range.fs to decode Given a position just beyond the end of a line, return a position at the start of the next line. Get an arbitrary position, with the empty string as filename. Same line, column -1. Return the column number marked by the position, i.e. the difference between the <c>AbsoluteOffset</c> and the <c>StartOfLineAbsoluteOffset</c> Gives a position shifted by specified number of characters. Given a position at the start of a token of length n, return a position just beyond the end of the token. Apply a #line directive. Position information stored for lexing tokens The tag of the error terminal. The total number of terminals. This function is used to hold the user specified "parse_error" or "parse_error_rich" functions. This table is logically part of the Goto table. The sparse table offsets for the productions active for each state. The sparse table for the productions active for each state. The sparse goto table row offsets. The sparse goto table. The immediate action table. The number of symbols for each reduction. The sparse action table row offsets. The sparse action table elements. A function to compute the data carried by a token. A function to compute the tag of a token. The token number indicating the end of input. The reduction table. Interpret the parser table taking input from the given lexer, using the given lex buffer, and the given start state. Returns an object indicating the final synthesized value for the parse. Tables generated by fsyacc The type of the tables contained in a file produced by the <c>fsyacc.exe</c> parser generator. The stack of state indexes active at the parse error . The token that would cause a shift at the parse error. The stack of productions that would be reduced at the parse error. The tokens that would cause a reduction at the parse error. The state active at the parse error. The message associated with the parse error. The token that caused the parse error. The context provided when a parse error occurs. Get the start of the range of positions matched by the production. Get the full range of positions matched by the production. Get the end of the range of positions matched by the production. Return the LexBuffer for this parser instance. Raise an error in this parse context. Get the start position for the terminal or non-terminal at a given index matched by the production. Get the start and end position for the terminal or non-terminal at a given index matched by the production. Get the end position for the terminal or non-terminal at a given index matched by the production. Get the value produced by the terminal or non-terminal at the given position. Indicates a parse error has occurred and parse recovery is in progress. Indicates an accept action has occurred. The default implementation of the parse_error function. The default implementation of the parse_error_rich function. Helpers used by generated parsers. Map a directory name with its replacement. Prefixes are compared case sensitively. Map a file path with its replacement. Prefixes are compared case sensitively. Add a path mapping to the map. Split an array of pairs into two arrays. Combine the two arrays into an array of pairs. The two arrays must have equal lengths, otherwise an <c>ArgumentException</c> is raised.. Return the index of the first element in the array that satisfies the given predicate. Return the index of the first element in the array that satisfies the given predicate. Return an array containing the given element. Like <c>foldBack</c>, but return both the intermediary and final results. Like <c>fold</c>, but return the intermediary and final results. Build a new collection whose elements are the results of applying the given function to the corresponding elements of the two collections pairwise. The two input arrays must have the same lengths, otherwise an <c>ArgumentException</c> is raised. Apply the given function to pair of elements drawn from matching indices in two arrays, also passing the index of the elements. The two arrays must have the same lengths, otherwise an <c>ArgumentException</c> is raised. Return True if the given array is empty, otherwise False. Test elements of the two arrays pairwise to see if all pairs of elements satisfy the given predicate. Raise <c>ArgumentException</c> if the arrays have different lengths. Apply a function to pairs of elements drawn from the two collections, right-to-left, threading an accumulator argument through the computation. The two input arrays must have the same lengths, otherwise an <c>ArgumentException</c> is raised. Apply a function to pairs of elements drawn from the two collections, left-to-right, threading an accumulator argument through the computation. The two input arrays must have the same lengths, otherwise an <c>ArgumentException</c> is raised. Apply a function to each element of the array, threading an accumulator argument through the computation. If the input function is <c>f</c> and the elements are <c>i0...iN</c> then computes <c>f i0 (...(f iN-1 iN))</c>. Raises ArgumentException if the array has size zero. Apply a function to each element of the array, threading an accumulator argument through the computation. If the input function is <c>f</c> and the elements are <c>i0...iN</c> then computes <c>f (... (f i0 i1)...) iN</c>. Raises ArgumentException if the array has size zero. Return the index of the first element in the array that satisfies the given predicate. Raise <c>KeyNotFoundException</c> if none of the elements satisfy the predicate. Return the index of the first element in the array that satisfies the given predicate. Raise <c>KeyNotFoundException</c> if none of the elements satisfy the predicate. Test elements of the two arrays pairwise to see if any pair of element satisfies the given predicate. Raise ArgumentException if the arrays have different lengths. Return a view of the array as an enumerable object. Build a <c>ResizeArray</c> from the given elements. Return a fixed-length array containing the elements of the input <c>ResizeArray</c>. Sort the elements using the key extractor and generic comparison on the keys. Sort the elements using the given comparison function. Return a new array with the elements in reverse order. Apply the given function to successive elements, returning the first result where function returns Some(x) for some x. Return the first element for which the given function returns True. Return None if no such element exists. Return the first element for which the given function returns True. Raise <c>KeyNotFoundException</c> if no such element exists. Apply the given function to each element of the array. Return the array comprised of the results "x" for each element where the function returns <c>Some(x)</c>. Split the collection into two collections, containing the elements for which the given predicate returns True and False respectively. Return a new collection containing only the elements of the collection for which the given predicate returns True. Test if all elements of the array satisfy the given predicate. If the input function is <c>f</c> and the elements are <c>i0...iN</c> and "j0...jN" then computes <c>p i0 && ... && p iN</c>. Test if any element of the array satisfies the given predicate. If the input function is <c>f</c> and the elements are <c>i0...iN</c> then computes <c>p i0 or ... or p iN</c>. Build a new array whose elements are the results of applying the given function to each of the elements of the array. The integer index passed to the function indicates the index of element being transformed. Apply the given function to each element of the array. The integer passed to the function indicates the index of element. Build a new collection whose elements are the results of applying the given function to the corresponding elements of the two collections pairwise. The two input arrays must have the same lengths. Apply the given function to two arrays simultaneously. The two arrays must have the same lengths, otherwise an Invalid_argument exception is raised. Build a new array whose elements are the results of applying the given function to each of the elements of the array. Apply the given function to each element of the array. Apply a function to each element of the array, threading an accumulator argument through the computation. If the input function is <c>f</c> and the elements are <c>i0...iN</c> then computes <c>f i0 (...(f iN s))</c>. Apply a function to each element of the collection, threading an accumulator argument through the computation. If the input function is <c>f</c> and the elements are <c>i0...iN</c> then computes <c>f (... (f s i0)...) iN</c> Build an array from the given list. Build a list from the given array. Read a range of elements from the first array and write them into the second. Fill a range of the collection with the given element. Build a new array that contains the elements of the given array. Build a new array that contains the given subrange specified by starting index and length. Build a new array that contains the elements of each of the given list of arrays. Build a new array that contains the elements of the first array followed by the elements of the second array. Create an array by calling the given generator on each index. Create an array whose elements are all initially the given value. Set the value of an element in the collection. You can also use the syntax <c>arr.[idx] <- e</c>. Fetch an element from the collection. You can also use the syntax <c>arr.[idx]</c>. Return the length of the collection. You can also use property <c>arr.Length</c>. Generic operations on the type System.Collections.Generic.List, which is called ResizeArray in the F# libraries. Calculates the edit distance between two strings. The edit distance is a metric that allows to measure the amount of difference between two strings and shows how many edit operations (insert, delete, substitution) are needed to transform one string into the other. Computes the restricted Damerau-Levenstein edit distance, also known as the "optimal string alignment" distance. - read more at https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance - Implementation taken from http://www.navision-blog.de/2008/11/01/damerau-levenshtein-distance-in-fsharp-part-ii/ Calculates the Jaro-Winkler edit distance between two strings. The edit distance is a metric that allows to measure the amount of similarity between two strings. Given an offset and a radius from that offset, does mChar exist in that part of str? Functions to compute the edit distance between two strings Trim the quotes and spaces from either end of a string Get the filename without extension of the given path. Get the filename of the given path. Return True if the filename has a "." extension. "directoryName" " decomposes a filename into a directory name. chopExtension f removes the extension from the given filename. Raises ArgumentException if no extension is present. checkSuffix f s returns True if filename "f" ends in suffix "s", e.g. checkSuffix "abc.fs" ".fs" returns true. Some filename operations. Lookup or set the given element in the table. Set replaces all existing bindings for a value with a single bindings. Raise <c>KeyNotFoundException</c> if the element is not found. Lookup or set the given element in the table. Set replaces all existing bindings for a value with a single bindings. Raise <c>KeyNotFoundException</c> if the element is not found. The total number of keys in the hash table. Lookup the given element in the table, returning the result as an Option. Replace the latest binding if any for the given element. Remove the latest binding if any for the given element from the table. Apply the given function to each binding in the hash table. Apply the given function to each element in the collection threading the accumulating parameter through the sequence of function applications. Find all bindings for the given element in the table, if any. Make a shallow copy of the collection. Test if the collection contains any bindings for the given element. Clear all elements from the collection. Add a binding for the element to the table. Build a map that contains the bindings of the given IEnumerable. Create a new empty mutable HashMultiMap with an internal bucket array of the given approximate size and with the given key hash/equality functions. Create a new empty mutable HashMultiMap with the given key hash/equality functions. Hash tables, by default based on F# structural "hash" and (=) functions. The table may map a single key to multiple bindings. Get the value for the given key or <c>None</c> if not still valid. Get the value for the given key or None, but only if entry is still valid Set the given key. Resize Remove the given value from the mru cache. Get the similar (subsumable) value for the given key or <c>None</c> if not already available. Clear out the cache. Simple priority caching for a small number of key/value associations. This cache may age-out results that have been Set by the caller. Because of this, the caller must be able to tolerate values that aren't what was originally passed to the Set function. Concurrency: This collection is thread-safe, though concurrent use may result in different threads seeing different live sets of cached items, and may result in the onDiscard action being called multiple times. In practice this means the collection is only safe for concurrent access if there is no discard action to execute. - areSimilar: Keep at most once association for two similar keys (as given by areSimilar) Lookup the value without making it the most recent. Returns the original key value because the areSame function may have unified two different keys. Lookup a value and make it the most recent. Returns the original key value because the areSame function may have unified two different keys. Lookup a value and make it the most recent. Return <c>None</c> if it wasn't there. Resize Remove the given value from the collection. Add an element to the collection. Make it the most recent. Remove all elements. Simple aging lookup table. When a member is accessed it's moved to the top of the list and when there are too many elements the least-recently-accessed element falls of the end. - areSimilar: Keep at most once association for two similar keys (as given by areSimilar) Lookup an element in the map. Raise <c>KeyNotFoundException</c> if no binding exists in the map. Return True if there are no bindings in the map. The number of bindings in the map. Lookup an element in the map, returning a Some value if the element is in the domain of the map and None if not. The elements of the set as a list. The elements of the set as an array. Remove an element from the domain of the map. No exception is raised if the element is not present. Build two new maps, one containing the bindings for which the given predicate returns True, and another for the remaining bindings. Build a new collection whose elements are the results of applying the given function to each of the elements of the collection. Build a new collection whose elements are the results of applying the given function to each of the elements of the collection. The index passed to the function indicates the index of element being transformed. Apply the given function to each binding in the dictionary. Return True if the given predicate returns true for all of the bindings in the map. Always returns true if the map is empty. Given the start and end points of a key range, Fold over the bindings in the map that are in the range, and the end points are included if present (the range is considered a closed interval). Fold over the bindings in the map. Fold over the bindings in the map. Search the map looking for the first element where the given function returns a Some value. Build a new map containing the bindings for which the given predicate returns True. Return True if the given predicate returns true for one of the bindings in the map. Always returns false if the map is empty. The empty map, and use the given comparer comparison function for all operations associated with any maps built from this map. Build a map that contains the bindings of the given <c>IEnumerable</c> and where comparison of elements is based on the given comparison function. Test is an element is in the domain of the map. Return a new map with the binding added to the given map. Immutable maps. A constraint tag carries information about the class of key-comparers being used. Return a new set with the elements of the second set removed from the first. Compute the union of the two sets. Returns the lowest element in the set according to the ordering being used for the set. Returns the highest element in the set according to the ordering being used for the set. A useful shortcut for <c>Set.isEmpty</c>. See the <c>Set</c> module for further operations on sets. Return the number of elements in the set. The number of elements in the set. Compute the union of the two sets. The elements of the set as a list. The elements of the set as an array. A singleton set based on the given comparison operator. A useful shortcut for <c>Set.remove</c>. Note this operation produces a new set and does not mutate the original set. The new set will share many storage nodes with the original. See the <c>Set</c> module for further operations on sets. Build two new sets, one containing the elements for which the given predicate returns True, and another with the remaining elements. Apply the given function to each binding in the collection. Evaluates to True if all elements of the first set are in the second. Evaluates to True if all elements of the second set are in the first. Compute the intersection of the two sets. Test if all elements of the collection satisfy the given predicate. If the input function is f and the elements are i0...iN and j0...jN then computes p i0 && ... && p iN. Apply the given accumulating function to all the elements of the set. Return a new collection containing only the elements of the collection for which the given predicate returns True. Test if any element of the collection satisfies the given predicate. If the input function is f and the elements are i0...iN then computes p i0 or ... or p iN. Compares two sets and returns True if they are equal or False otherwise. The empty set based on the given comparer. Return a new set with the elements of the second set removed from the first. A set based on the given comparer containing the given initial elements. A useful shortcut for <c>Set.contains</c>. See the <c>Set</c> module for further operations on sets. Compares a and b and returns 1 if a > b, -1 if b < a and 0 if a = b. A useful shortcut for <c>Set.add</c>. Note this operation produces a new set and does not mutate the original set. The new set will share many storage nodes with the original. See the <c>Set</c> module for further operations on sets. Immutable sets where a constraint tag carries information about the class of key-comparer being used. The F# version reported in the banner Convert string into Option string where null and String.Empty result in None Construct a new DependencyProvider Handle Assembly resolution Signature for ResolutionProbe callback host implements this, it's job is to return a list of assembly paths to probe. Construct a new DependencyProvider Signature for Native library resolution probe callback host implements this, it's job is to return a list of package roots to probe. TryFindDependencyManagerInPath - given a #r "key:sometext" go and find a DependencyManager that satisfies the key Fetch a dependencymanager that supports a specific key Resolve reference for a list of package manager lines Remove the dependency mager with the specified key Returns a formatted error message for the host to present Construct a new DependencyProvider Construct a new DependencyProvider Provides DependencyManagement functions. Class is IDisposable Todo describe this API Name of the dependency manager Key that identifies the types of dependencies that this DependencyManager operates on E.g nuget: indicates that this DM is for nuget packages paket: indicates that this DM is for paket scripts, which manage nuget packages, github source dependencies etc ... Resolve the dependencies, for the given set of arguments, go find the .dll references, scripts and additional include values. Wraps access to a DependencyManager implementation Succeded? The resolution output log The resolution error log (process stderr) The source code file paths The roots to package directories The resolution paths The results of ResolveDependencies Test to report for the name of the type provider that produced the value The ILScopeRef of the runtime assembly reference for type provider that produced the value A type provider that produced the value Apply an operation and 'untaint' the result. This can be used if the return type is guaranteed not to be implemented by a type provider Apply an operation and 'untaint' the result. The result must be marshallable. Any exception will be attributed to the type provider with an error located at the given range Apply an operation. Any exception will be attributed to the type provider with an error located at the given range Apply an operation that returns an option. Unwrap option. Any exception will be attributed to the type provider with an error located at the given range Apply an operation. No exception may be raised by 'f' Apply an operation that returns an array. Unwrap array. Any exception will be attributed to the type provider with an error located at the given range. String is method name of thing-returning-array, to diagnostically attribute if it is null Apply an operation. Any exception will be attributed to the type provider with an error located at the given range Apply an operation. Any exception will be attributed to the type provider with an error located at the given range Apply an operation. Any exception will be attributed to the type provider with an error located at the given range Apply an operation. Any exception will be attributed to the type provider with an error located at the given range Conditionally coerce the value Create an initial tainted value Assert that the value is of 'U and coerce the value. If coercion fails, the failure will be blamed on a type provider This struct wraps a value produced by a type provider to properly attribute any failures. creates new instance of TypeProviderError with specified type\method names creates new instance of TypeProviderError based on current instance information(message) provides uniform way to process aggregated errors creates new instance of TypeProviderError that represents collection of errors creates new instance of TypeProviderError that represents one error Stores and transports aggregated list of errors reported by the type provider The TcConfig passed in to the builder creation. The full set of source files including those from options Raised just after the whole project has finished type checking. At this point, accessing the overall analysis results for the project will be quick. Raised when a type provider invalidates the build. Raised just after a file is parsed Raised just after a file is checked Raised just before a file is type-checked, to invalidate the state of the file in VS and force VS to request a new direct typecheck of the file. The incremental builder also typechecks the file (error and intellisense results from the background builder are not used by VS). The list of files the build depends on Tries to get the current successful TcImports. This is only used in testing. Do not use it for other stuff. Perform one step in the F# build. Return true if the background work is finished. Await the untyped parse results for a particular slot in the vector of parse results. This may be a marginally long-running operation (parses are relatively quick, only one file needs to be parsed) Get the logical time stamp that is associated with the output of the project if it were gully built immediately Get the preceding typecheck state of a slot, without checking if it is up-to-date w.r.t. the timestamps on files and referenced DLLs prior to this one. Return None if the result is not available. This is a very quick operation. This is safe for use from non-compiler threads but the objects returned must in many cases be accessed only from the compiler thread. Get the preceding typecheck state of a slot. Compute the entire type check of the project up to the necessary point if the result is not available. This may be a long-running operation. Get the final typecheck result. If 'generateTypedImplFiles' was set on Create then the TypedAssemblyAfterOptimization will contain implementations. This may be a long-running operation. Get the typecheck result after the end of the last file. The typecheck of the project is not 'completed'. This may be a long-running operation. Get the typecheck state after checking a file. Compute the entire type check of the project up to the necessary point if the result is not available. This may be a long-running operation. Get the preceding typecheck state of a slot, but only if it is up-to-date w.r.t. the timestamps on files and referenced DLLs prior to this one. Return None if the result is not available. This is a relatively quick operation. This is safe for use from non-compiler threads Manages an incremental build graph for the build of an F# project If enabled, holds semantic classification information for Item(symbol)s in a file. If enabled, stores a linear list of ranges and strings that identify an Item(symbol) in a file. Used for background find all references. Represents latest inferred signature contents. Represents latest complete typechecked implementation file, including its typechecked signature if any. Empty for a signature file. Represents the collected attributes to apply to the module of assembly generates Disambiguation table for module names Represents open declarations Represents the collected uses of symbols from type checking Represents the collected name resolutions from type checking Represents the collected errors from type checking This field is None if a major unrecovered error occurred when preparing the initial state This field is None if a major unrecovered error occurred when preparing the initial state Represents the state in the incremental graph associated with checking a file Lookup the global static cache for building the FrameworkTcImports Position of the last dot. The column number at the end of full partial name. Last part of long ident. Qualifying idents, prior to the last dot, not including the last part. Empty partial long name. Qualified long name. Get the list of valid versions Get the list of valid options Get the specified LanguageVersion as a string Get the specified LanguageVersion Has preview been explicitly specified Does the selected LanguageVersion support the specified feature Get a version string associated with the given feature. Get a string name for the given feature. Get the list of valid versions Create a LanguageVersion management object LanguageVersion management LanguageFeature enumeration Coordinating compiler operations - configuration, loading initial context, reporting errors etc. is this the developer-debug build? Get the result and Commit(...). Get the reified result. When using .NET 4.0 you can replace this type by <see cref="Task{T}"/> Represents the reified result of an asynchronous computation. Treat a list of key-value pairs as a lookup collection. This function looks up a value based on a match from the supplied predicate function and returns None if value does not exist. Treat a list of key-value pairs as a lookup collection. This function looks up a value based on a match from the supplied predicate function. Throw <c>System.ArgumentNullException()</c> if string argument is <c>null</c>. Throw <c>System.ArgumentOutOfRangeException()</c> is string argument is empty. Throw <c>System.ArgumentNullException()</c> if array argument is <c>null</c>. Throw <c>System.ArgumentOutOfRangeException()</c> is array argument is empty. Throw <c>System.ArgumentNullException()</c> if argument is <c>null</c>. Throw <c>System.InvalidOperationException()</c> if argument is <c>None</c>. If there is a value (e.g. <c>Some(value)</c>) then value is returned. Rational arithmetic, used for exponents on units-of-measure Represents a range using zero-based line counting (used by Visual Studio) Represents a position using zero-based line counting (used by Visual Studio) Represents a line number when using zero-based line counting (used by Visual Studio) The range where all values are zero The empty range that is located at the start position of the range The start line of the range The start column of the range The start position of the range Synthetic marks ranges which are produced by intermediate compilation phases. This bit signifies that the range covers something that should not be visible to language service operations like dot-completion. The file name for the file of the range The file index for the range The empty range that is located at the end position of the range The line number for the end position of the range The column number for the end position of the range The end position of the range Convert a range to string Convert a range to be synthetic Represents a range within a known file The line number for the position The maximum number of bits needed to store an encoded position The encoding of the position as a 64-bit integer The column number for the position Decode a position fro a 64-bit integer Represents a position in a file An index into a global tables of filenames Convert a range to a string Convert a position to a string A range associated with a dummy file for the command line arguments A range associated with a dummy file called "startup" The zero range The zero position Make a dummy range for a file Test to see if a range occurs fully before a position Test to see if a range contains a position Test to see if one range contains another range Union two ranges, taking their first occurring start position and last occurring end position Compare positions for greater-than-or-equal-to Compare positions for equality Compare positions for greater-than Compare positions for less-than Output a range Output a position not a total order, but enough to sort on ranges Reduce a range so it only covers a line This view hides the use of file indexes and just uses filenames This view of range marks uses file indexes explicitly Ordering on positions Create a position for the given line and column Convert an index into a file path Convert a file path to an index Equality comparer for range. Convert a range from one-based line counting (used internally in the F# compiler and in F# error messages) to zero-based line counting (used by Visual Studio) Convert a range from one-based line counting (used internally in the F# compiler and in F# error messages) to zero-based line counting (used by Visual Studio) Convert a position from one-based line counting (used internally in the F# compiler and in F# error messages) to zero-based line counting (used by Visual Studio) Convert a position from zero-based line counting (used by Visual Studio) to one-based line counting (used internally in the F# compiler and in F# error messages) Convert a line number from one-based line counting (used internally in the F# compiler and in F# error messages) to zero-based line counting (used by Visual Studio) Convert a line number from zero-based line counting (used by Visual Studio) to one-based line counting (used internally in the F# compiler and in F# error messages) Type holds thread-static globals for use by the compile. This is the textual subcategory to display in error and warning messages (shows only under --vserrors): file1.fs(72): subcategory warning FS0072: This is a warning message Return true if the textual phase given is from the compile part of the build process. This set needs to be equal to the set of subcategories that the language service can produce. the language service knows about. Construct a phased error Closed enumeration of build phases. Represents the style being used to format errors fixes given string by replacing all control chars with spaces. NOTE: newlines are recognized and replaced with stringThatIsAProxyForANewlineInFlatErrors (ASCII 29, the 'group separator'), which is decoded by the IDE with 'NewlineifyErrorString' back into newlines, so that multi-line errors can be displayed in QuickInfo Keep the warnings, propagate the error to the exception continuation. Stop on first error. Accumulate warnings and continue. Stop on first error. Report index Stop on first error. Accumulate warnings and continue. Stop on first error. Accumulate warnings and continue. The bind in the monad. Stop on first error. Accumulate warnings and continue. Simulates an error. For test purposes only. Raises a special exception and returns 'T - can be caught later at an errorRecovery point. Raises a warning with error recovery and returns unit. Raises an exception with error recovery and returns unit. NOTE: The change will be undone when the returned "unwind" object disposes NOTE: The change will be undone when the returned "unwind" object disposes Thrown when we stop processing the F# Interactive entry or #load. Thrown when immediate, local error recovery is not possible. This indicates we've reported an error but need to make a non-local transfer of control. Error recovery may catch this and continue (see 'errorRecovery') The exception that caused the report is carried as data because in some situations (LazyWithContext) we may need to re-report the original error when a lazy thunk is re-evaluated. Thrown when we want to add some range information to a .NET exception Reraise an exception if it is one we want to report to Watson. Instruct the exception not to reset itself when thrown again. Literal build phase subcategory strings. Demangles a suggestion We report a candidate if its edit distance is <= the threshold. The threshold is set to about a quarter of the number of characters. Functions to format error message details Get the Reference Assemblies directory for the .NET Framework (on Windows) This is added to the default resolution path for design-time compilations. Perform assembly resolution on the given references under the given conditions Get the "v4.5.1"-style moniker for the highest installed .NET Framework version. This is the value passed back to Resolve if no explicit "mscorlib" has been given. Note: If an explicit "mscorlib" is given, then --noframework is being used, and the whole ReferenceResolver logic is essentially unused. However in the future an option may be added to allow an explicit specification of a .NET Framework version to use for scripts. Round-tripped baggage Prepare textual information about where the assembly was resolved from, used for tooltip output Item specification. Indicates a script or source being dynamically compiled and executed. Uses implementation assemblies. Indicates a script or source being edited or compiled. Uses reference assemblies (not implementation assemblies). The prefix of the names used for the fake namespace path added to all dynamic code entries in FSI.EXE Reuses generated exception field name objects for common field numbers Reuses generated union case field name objects for common field numbers Mangle the static parameters for a provided type or method Mangle the static parameters for a provided type or method Demangle the static parameters Determines if the specified name is a valid name for an active pattern. Return a string array delimited by the given separator up to the maximum number. Note that a quoted string is not going to be mangled into pieces. Return a string array delimited by the given separator. Note that a quoted string is not going to be mangled into pieces. Try to chop "get_" or "set_" from a string. If the string does not start with "get_" or "set_", this function raises an exception. Try to chop "get_" or "set_" from a string Is this character a part of a long identifier? The characters that are allowed to be in an identifier. The characters that are allowed to be the first character of an identifier. Decompiles a mangled operator name back into an operator. For example, "op_DereferencePercent" becomes "!%". This function accepts mangled names for both built-in and custom operators. Decompiles the mangled name of a custom operator back into an operator. For example, "op_DereferencePercent" becomes "!%". This function should only be used for mangled names of custom operators if a mangled name potentially represents a built-in operator, use the 'DecompileOpName' function instead. Compiles an operator into a mangled operator name. For example, "!%" becomes "op_DereferencePercent". This function accepts both built-in and custom operators. Compiles a custom operator into a mangled operator name. For example, "!%" becomes "op_DereferencePercent". This function should only be used for custom operators if an operator is or potentially may be a built-in operator, use the 'CompileOpName' function instead. Returns `true` if given string is an operator display name, e.g. ( |>> ) Returns `true` if given string is an operator or double backticked name, e.g. ( |>> ) or ( long identifier ). (where ( long identifier ) is the display name for ``long identifier``). The set of characters usable in custom operators. Prefix for compiled (mangled) operator names. Some general F# utilities for mangling / unmangling / manipulating names. Anything to do with special names of identifiers and other lexical rules Diagnostics from the AbsIL toolkit. You can reset the diagnostics stream to point elsewhere, or turn it off altogether by setting it to 'None'. The logging channel initially points to stderr. All functions call flush() automatically. REVIEW: review if we should just switch to System.Diagnostics A utility type provided for completeness A utility type provided for completeness Decompose a type definition according to its kind. Helpers for codegen: scopes for allocating new temporary variables. Is the given assembly possibly a primary assembly? In practice, a primary assembly is an assembly that contains the System.Object type definition and has no referenced assemblies. However, we must consider assemblies that forward the System.Object type definition to be possible primary assemblies. Therefore, this will return true if the given assembly is the real primary assembly or an assembly that forwards the System.Object type definition. Assembly equivalency ignores the version here. A table of common references to items in primary assembly (System.Runtime or mscorlib). If a particular version of System.Runtime.dll has been loaded then you should reference items from it via an ILGlobals for that specific version built using mkILGlobals. e.g. win86 resources, as the exact contents of a .res or .obj file. Must be unlinked manually. One module in the "current" assembly, either a main-module or an auxiliary module. The main module will have a manifest. An assembly is built by joining together a "main" module plus several auxiliary modules. Represents a native resource to be written in an output file Represents a native resource to be read from the PE file Records whether the entrypoint resides in another module. Records the types implemented by this assembly in auxiliary modules. This is the public key used to sign this assembly (the signature itself is stored elsewhere: see the binary format, and may not have been written if delay signing is used). (member Name, member PublicKey) forms the full public name of the assembly. This is the ID of the algorithm used for the hashes of auxiliary files in the assembly. These hashes are stored in the <c>ILModuleRef.Hash</c> fields of this assembly. These are not cryptographic hashes: they are simple file hashes. The algorithm is normally <c>0x00008004</c> indicating the SHA1 hash algorithm. The main module of an assembly is a module plus some manifest information. Table of resources in a module. Read the bytes from a resource local to an assembly. Will fail for non-local resources. "Manifest ILResources" are chunks of resource data, being one of: - the data section of the current module (byte[] of resource given directly). - in an external file in this assembly (offset given in the ILResourceLocation field). - as a resources in another assembly of the same name. Represents a manifest resource in a different assembly Represents a manifest resource in an associated file Represents a manifest resource that can be read or written to a PE file [Namespace.]Name these are only found in the ILExportedTypesAndForwarders table in the manifest these are only found in the "Nested" field of ILExportedTypeOrForwarder objects Realise the actual full typedef Represents a prefix of information for ILTypeDef. The information is enough to perform name resolution for the F# compiler, probe attributes for ExtensionAttribute etc. This is key to the on-demand exploration of .NET metadata. This information has to be "Goldilocks" - not too much, not too little, just right. Class or interface generated for COM interop. Some classes are marked "HasSecurity" even if there are no permissions attached, e.g. if they use SuppressUnmanagedCodeSecurityAttribute Functional update Functional creation of a value, immediate Functional creation of a value, using delayed reading via a metadata index, for ilread.fs Represents IL Type Definitions. Get some information about the type defs, but do not force the read of the type defs themselves. Calls to <c>FindByName</c> will result in any laziness in the overall set of ILTypeDefs being read in in addition to the details for the type found, but the remaining individual type definitions will not be read. Tables of named type definitions. A categorization of type definitions into "kinds" Type Access. Default Unicode encoding for P/Invoke within a type. Indicate the initialization semantics of a type. Type Layout information. Method Impls Table of properties in an IL type definition. Functional update of the value Functional creation of a value, immediate Functional creation of a value, using delayed reading via a metadata index, for ilread.fs Property definitions Table of those events in a type definition. Functional update of the value Functional creation of a value, immediate Functional creation of a value, using delayed reading via a metadata index, for ilread.fs Event definitions. Tables of fields. Logically equivalent to a list of fields but the table is kept in a form to allow efficient looking up fields by name. The explicit offset in bytes when explicit layout is used. Functional update of the value Functional creation of a value, immediate Functional creation of a value using delayed reading via a metadata index Field definitions. Tables of methods. Logically equivalent to a list of methods but the table is kept in a form optimized for looking up methods by name and arity. Indicates an instance methods that is virtual or abstract or implements an interface slot. The method is exported to unmanaged code using COM interop. Indicates a static method. Indicates this is an instance methods that is not virtual. SafeHandle finalizer must be run. Indicates a .ctor method. Indicates a .cctor method. Some methods are marked "HasSecurity" even if there are no permissions attached, e.g. if they use SuppressUnmanagedCodeSecurityAttribute Functional update of the value Functional creation of a value, immediate Functional creation of a value, with delayed reading of some elements via a metadata index IL Method definitions. Do not use this Do not use this Indicates the type argument must have a public nullary constructor. Indicates the type argument must be a value type, but not Nullable. Indicates the type argument must be a reference type. Variance of type parameters, only applicable to generic parameters for generic interfaces and delegates. At most one is the parent type, the others are interface types. Generic parameters. Formal generic parameter declarations may include the bounds, if any, on the generic parameter. [OverridesSpec] - refer to a method declaration in a superclass or interface. PInvoke attributes. Represents the efficiency-oriented storage of ILSecurityDecls in another item. Abstract type equivalent to ILSecurityDecl list - use helpers below to construct/destruct these. Method return values. Marshalling map for parameters. COM Interop only. Method parameters and return values. Represents the efficiency-oriented storage of ILAttributes in another item. Attribute with args in decoded form. Attribute with args encoded to a binary blob according to ECMA-335 II.21 and II.23.3. 'decodeILAttribData' is used to parse the byte[] blob to ILAttribElem's as best as possible. Attribute instance constructor. Decoded arguments. May be empty in encoded attribute form. Custom attribute. Named args: values and flags indicating if they are fields or properties. Represents a custom attribute parameter of type 'string'. These may be null, in which case they are encoded in a special way as indicated by Ecma-335 Partition II. Member Access IL method bodies Local variables optional idx of parameter giving size plus optional additive i.e. num elems Native Types, for marshalling to the native C interface. These are taken directly from the ILASM syntax, see ECMA Spec (Partition II, 7.4). Field Init Indicates that a particular local variable has a particular source language name within a given set of ranges. This does not effect local variable numbering, which is global over the whole method. The instruction set. ILCode labels. In structured code each code label refers to a basic block somewhere in the code of the method. Field specs. The data given for a ldfld, stfld etc. instruction. Functional creation The information at the callsite of a method Formal identities of fields. Functional creation Formal identities of methods. Actual generic parameters are always types. Custom modifiers. Reference a generic arg. ILCode pointers. Managed pointers. Unmanaged pointers. Nb. the type is used by tools and for binding only, not by the verifier. Reference types. Also may be used for parents of members even if for members in value types. Unboxed types, including builtin types. Array types Used only in return and pointer types. The type being modified. Which type is being referred to? Where is the type, i.e. is it in this module, in another module in this assembly or in another assembly? The name of the type. This also contains the namespace if Enclosing is empty. The type instantiation if the type is generic, otherwise empty The name of the type in the assembly using the '.' notation for nested types. The list of enclosing type names for a nested type. If non-nil then the first of these also contains the namespace. Create an ILTypeSpec. Type specs and types. Where is the type, i.e. is it in this module, in another module in this assembly or in another assembly? The name of the type. This also contains the namespace if Enclosing is empty. The name of the type in the assembly using the '.' notation for nested types. The list of enclosing type names for a nested type. If non-nil then the first of these also contains the namespace. The name of the type in the assembly using the '+' notation for nested types. Create a ILTypeRef. Type refs, i.e. references to types in some .NET assembly Bounds for a single dimensional, zero based array Lower-bound/size pairs Array shapes. For most purposes the rank is the only thing that matters. no 'this' pointer is passed accepts an explicit 'this' pointer accepts an implicit 'this' pointer A reference to a type in the primary assembly A reference to a type in another assembly A reference to a type in a module in the same assembly A reference to the type in the current module CLI says this indicates if the assembly can be retargeted (at runtime) to be from a different publisher. The fully qualified name of the assembly reference, e.g. mscorlib, Version=1.0.3705 etc. Debug info. Values of type "source" can be attached at sequence points and some other locations. Represents guids Find the full set of assemblies referenced by a module. Get a version number from a CLR version string, e.g. 1.0.3705.0 Get a public key token from a public key. Discriminating different important built-in types. This is a 'vendor neutral' way of referencing mscorlib. Instantiate type variables that occur within types and other items. Instantiate type variables that occur within types and other items. Unscoping. Clears every scope information, use for looking up IL method references only. Rescoping. The first argument tells the function how to reference the original scope from the new scope. Rescoping. The first argument tells the function how to reference the original scope from the new scope. Rescoping. The first argument tells the function how to reference the original scope from the new scope. Rescoping. The first argument tells the function how to reference the original scope from the new scope. Rescoping. The first argument tells the function how to reference the original scope from the new scope. Generate references to existing type definitions, method definitions etc. Useful for generating references, e.g. to a class we're processing Also used to reference type definitions that we've generated. [ILScopeRef] is normally ILScopeRef.Local, unless we've generated the ILTypeDef in an auxiliary module or are generating multiple assemblies at once. Making modules. Create table of types which is loaded/computed on-demand, and whose individual elements are also loaded/computed on-demand. Any call to tdefs.AsList will result in the laziness being forced. Operations can examine the custom attributes and name of each type in order to decide whether to proceed with examining the other details of the type. Note that individual type definitions may contain further delays in their method, field and other tables. Making tables of custom attributes, etc. The toplevel "class" for a module or assembly. Given a delegate type definition which lies in a particular scope, make a reference to its constructor. Derived functions for making some simple constructors Injecting initialization code into a class. Add some code to the end of the .cctor for a type. Create a .cctor if one doesn't exist already. Injecting code into existing code blocks. A branch will be added from the given instructions to the (unique) entry of the code, and the first instruction will be the new entry of the method. The instructions should be non-branching. Make a type definition for a value type used to point to raw data. These are useful when generating array initialization code according to the ldtoken field valuetype '<PrivateImplementationDetails>'/'$$struct0x6000127-1' '<PrivateImplementationDetails>'::'$$method0x6000127-1' call void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class System.Array,valuetype System.RuntimeFieldHandle) idiom. Make a type definition. Make field definitions. Make method definitions. Make a formal generic parameters. Derived functions for making return, parameter and local variable objects for use in method definitions. Derived functions for making some common patterns of instructions. Make some code that is a straight line sequence of instructions. The function will add a "return" if the last instruction is not an exiting instruction. Making code. Make custom attributes. Make generalized versions of possibly-generic types, e.g. Given the ILTypeDef for List, return the type "List<T>". Construct references to fields. Construct references to constructors. Construct references to static, non-generic methods. Construct references to static methods. Construct references to instance methods. Construct references to instance methods. Construct references to methods on a given type . Make method references and specs. Make types. Make type specs. Make type refs. Generate simple references to assemblies and modules. Not all custom attribute data can be decoded without binding types. In particular enums must be bound in order to discover the size of the underlying integer. The following assumes enums have size int32. When writing a binary the fake "toplevel" type definition (called <Module>) must come first. This function puts it first, and creates it in the returned list as an empty typedef if it doesn't already exist. Build the table of commonly used references given functions to find types in system assemblies splitTypeNameRight is like splitILTypeName except the namespace is kept as a whole string, rather than split at dots. The <c>splitILTypeName</c> utility helps you split a string representing a type name into the leading namespace elements (if any), the names of any nested types and the type name itself. This function memoizes and interns the splitting of the namespace portion of the type name. Find the method definition corresponding to the given property or event operation. These are always in the same class as the property or event. This is useful especially if your code is not using the Ilbind API to bind references. The "unlinked" view of .NET metadata and code. Central to the Abstract IL library Printer for the abstract syntax. Morph all type references throughout an entire module. Morph each scope reference inside a type signature. A set of "IL rewrites" ("morphs"). These map each sub-construct of particular ILTypeDefs. The morphing functions are passed some details about the context in which the item being morphed occurs, e.g. the module being morphed itself, the ILTypeDef (possibly nested) where the item occurs, the ILMethodDef (if any) where the item occurs. etc. Maps with a specific comparison function Sets with a specific comparison function Imperative buffers and streams of byte[] Creates a ByteMemory object that is backed by a raw pointer. Use with care. Creates a ByteMemory object that has a backing memory mapped file from a file on-disk. Creates a ByteMemory object that is backed by a byte array. Creates a ByteMemory object that is backed by a byte array with the specified offset and length. Create another ByteMemory object that has a backing memory mapped file based on another ByteMemory's contents. Get a stream representation of the backing memory. Disposing this will not free up any of the backing memory. Get a stream representation of the backing memory. Disposing this will not free up any of the backing memory. Stream cannot be written to. May be backed by managed or unmanaged memory, or memory mapped file. Immutable map collection, with explicit flattening to a backing dictionary Can the specified object be tested for equality? Interface that defines methods for comparing objects using partial equality relation A helper to ensure we rethrow the "original" exception This field holds either the function to run or a LazyWithContextFailure object recording the exception raised from running the function. It is null if the thunk has been evaluated successfully. This field holds the result of a successful computation. It's initial value is Unchecked.defaultof Just like "Lazy" but EVERY forcer must provide an instance of "ctxt", e.g. to help track errors on forcing back to at least one sensible user location memoize tables (all entries cached, never collected) Generates unique stamps Computations that can cooperatively yield by returning a continuation - Any yield of a NotYetDone should typically be "abandonable" without adverse consequences. No resource release will be called when the computation is abandoned. - Computations suspend via a NotYetDone may use local state (mutables), where these are captured by the NotYetDone closure. Computations do not need to be restartable. - The key thing is that you can take an Eventually value and run it with Eventually.repeatedlyProgressUntilDoneOrTimeShareOverOrCanceled - Cancellation results in a suspended computation rather than complete abandonment Represents a cancellable computation with explicit representation of a cancelled result. A cancellable computation is passed may be cancelled via a CancellationToken, which is propagated implicitly. If cancellation occurs, it is propagated as data rather than by raising an OperationCanceledException. Encapsulates a lock associated with a particular token-type representing the acquisition of that lock. A base type for various types of tokens that must be passed when a lock is taken. Each different static lock should declare a new subtype of this type. Represents a token that indicates execution on a any of several potential user threads calling the F# compiler services. Represents a token that indicates execution on the compilation thread, i.e. - we have full access to the (partially mutable) TAST and TcImports data structures - compiler execution may result in type provider invocations when resolving types and members - we can access various caches in the SourceCodeServices Like other execution tokens this should be passed via argument passing and not captured/stored beyond the lifetime of stack-based calls. This is not checked, it is a discipline within the compiler code. Represents a permission active at this point in execution An efficient lazy for inline storage in a class type. Results in fewer thunks. Get an initialization hole Represents a place in the compiler codebase where we assume we are executing on a compilation thread Represents a place in the compiler codebase where we are passed a CompilationThreadToken unnecessarily. This represents code that may potentially not need to be executed on the compilation thread. Represents a place where we are stating that execution on the compilation thread is required. The reason why will be documented in a comment in the code at the callsite. Per the docs the threshold for the Large Object Heap is 85000 bytes: https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/large-object-heap#how-an-object-ends-up-on-the-large-object-heap-and-how-gc-handles-them We set the limit to be 80k to account for larger pointer sizes for when F# is running 64-bit. Returns true if the list contains exactly 1 element. Otherwise false. Returns true if the list has less than 2 elements. Otherwise false. A shim over File.Exists A shim over File.ReadAllBytes Used to determine if a file will not be subject to deletion during the lifetime of a typical client process. A shim over Path.IsPathRooted A shim over Path.IsInvalidPath A shim over Path.GetTempPath Utc time of the last modification Take in a filename with an absolute path, and return the same filename but canonicalized with respect to extra path separators (e.g. C:\\\\foo.txt) and '..' portions A shim over FileStream with FileMode.Open, FileAccess.Write, FileShare.Read A shim over FileStream with FileMode.Open, FileAccess.Read, FileShare.ReadWrite A shim over FileStream with FileMode.Create, FileAccess.Write, FileShare.Read A shim over File.Delete Used to load type providers and located assemblies in F# Interactive Used to load a dependency for F# Interactive and in an unused corner-case of type provider loading For every entry in m2 find an entry in m1 and fold Union entries by identical key, using the provided function to union sets of values Not a very useful function - only called in one place - should be changed Intern tables to save space. Keep running the asynchronous computation bit by bit. The runner gets called each time the computation is restarted. Can be cancelled as an Async in the normal way. Keep running the computation bit by bit until a time limit is reached. The runner gets called each time the computation is restarted If cancellation happens, the operation is left half-complete, ready to resume. Implement try/with for a cancellable computation Implement try/finally for a cancellable computation Catch exceptions in a computation Represents a canceled computation Bind the cancellation token associated with the computation Run the computation in a mode where it may not be cancelled. The computation never results in a ValueOrCancelled.Cancelled. Delay a cancellable computation Iterate a cancellable computation over a collection Fold a cancellable computation along a sequence of inputs Return a simple value as the result of a cancellable computation Map the result of a cancellable computation Bind the result of a cancellable computation Run a cancellable computation using the given cancellation token Splits a string into substrings based on the strings in the array separators Remove all trailing and leading whitespace from the string return null if the string is null chunk the provided input into arrays that are smaller than the LOH limit in order to prevent long-term storage of those values Split a large ResizeArray into a series of array chunks that are each under the Large Object Heap limit. This is done to help prevent a stop-the-world collection of the single large array, instead allowing for a greater probability of smaller collections. Stop-the-world is still possible, just less likely. Split a ResizeArray into an array of smaller chunks. This requires `items/chunkSize` Array copies of length `chunkSize` if `items/chunkSize % 0 = 0`, otherwise `items/chunkSize + 1` Array copies. Returns true if one array has trailing elements equal to another's. Returns true if one array has another as its subset from index 0. check if subArray is found in the wholeArray starting at the provided index Returns all heads of a given array. For [|1;2;3|] it returns [|[|1; 2; 3|]; [|1; 2|]; [|1|]|] Optimized arrays equality. ~100x faster than `array1 = array2` on strings. ~2x faster for floats ~0.8x slower for ints Returns a new array with an element replaced with a given value. Async implementation of Array.map. pass an array byref to reverse it in place each int will be 0 <= x <= 255 each int must be 0 <= x <= 255 returned int will be 0 <= x <= 255 Various constants and utilities used when parsing the ILASM format for IL Unmanaged resource file linker - for native resources (not managed ones). The function may be called twice, once with a zero-RVA and arbitrary buffer, and once with the real buffer. The size of the required buffer is returned. Functions associated with writing binaries which vary between supported implementations of the CLI Common Language Runtime, e.g. between the SSCLI, Mono and the Microsoft CLR. The implementation of the functions can be found in ilsupp-*.fs This function maps production indexes returned in syntax errors to strings representing the non terminal that would be produced by that production Compiler use only. Code and constants shared between binary reader/writer. Represents a reader of the metadata of a .NET binary. May also give some values (e.g. IL code) from the PE file if it was provided. A function to call to try to get an object that acts as a snapshot of the metadata section of a .NET binary, and from which we can read the metadata. Only used when metadataOnly=true. Only open a metadata reader for the metadata portion of the .NET binary without keeping alive any data associated with the PE reader - IL code will not be available (mdBody in ILMethodDef will return NotAvailable) - Managed resources will be reported back as ILResourceLocation.LocalIn (as always) - Native resources will not be available (none will be returned) - Static data associated with fields will not be available Used to implement a Binary file over native memory, used by Roslyn integration Open a binary reader based on the given bytes. Open a binary reader, except first copy the entire contents of the binary into memory, close the file and ensure any subsequent reads happen from the in-memory store. PDB files may not be read with this option. Binary reader. Read a .NET binary and concert it to Abstract IL data structures. NOTE: - The metadata in the loaded modules will be relative to those modules, e.g. ILScopeRef.Local will mean "local to that module". You must use [rescopeILType] etc. if you want to include (i.e. copy) the metadata into your own module. - PDB (debug info) reading/folding: The PDB reader is invoked if you give a PDB path This indicates if you want to search for PDB files and have the reader fold them in. You cannot currently name the pdb file directly - you can only name the path. Giving "None" says "do not read the PDB file even if one exists". The debug info appears primarily as I_seqpoint annotations in the instruction streams. Unfortunately the PDB information does not, for example, tell you how to map back from a class definition to a source code line number - you will need to explicitly search for a sequence point in the code for one of the methods of the class. That is not particularly satisfactory, and it may be a good idea to build a small library which extracts the information you need. the local index the name corresponds to 28 is the size of the IMAGE_DEBUG_DIRECTORY in ntimage.h Takes the output file name and returns debug file name. The ILPdbWriter Write a binary to the file system. Extra configuration parameters can also be specified. The IL Binary writer. The (local) emitter env (state). Some of these fields are effectively global accumulators and could be placed as hash tables in the global environment. The global environment. Emit the tail. prefix if necessary Emit the align. prefix Emit the volatile. prefix Emit comparison instructions. convConstructorSpec (like convMethodSpec) Get a constructor on a non-TypeBuilder type Uses the .CreateType() for emitted type if available. Uses TypeBuilder/TypeBuilderInstantiation for emitted types. Convert an Abstract IL type reference to Reflection.Emit System.Type value. Debug info for generated code for classunions. Generate the helpers? Are the representation helpers public? Is the representation public? IlxClosureApps - i.e. types being applied at a callsite. The name used for the field in parameter or IL field position. ILX extensions to Abstract IL types and instructions F# Scope references for FSharp.Core.dll Compiler use only. Erase closures Used to emit instructions (an interface to the IlxGen.fs code generator) Emit the instruction sequence for a "switchdata" operation Emit the instruction sequence for a "lddatatag" operation Emit the instruction sequence for a "castdata" operation Make the IL type for a union type alternative Make the type definition for a union type Make the instruction sequence for a "brisnotdata" operation Make the instruction sequence for a "stdata" operation Make the instruction sequence for a "lddataa" operation Make the instruction sequence for a "lddata" operation Make the instruction sequence for a "isdata" operation Make the instruction sequence for a "newdata" operation Will not dispose of the stream reader. Render a Layout yielding an 'a using a 'b (hidden state) type Render layout to collector of TaggedText Render layout to StringBuilder Render layout to channel Render layout to string Run a render on a Layout non-optional break ident=2 non-optional break ident=1 non-optional break ident=0 optional break, indent=4 optional break, indent=3 optional break, indent=2 optional break, indent=0 never break "glue" DSL to create structured layout objects with optional breaks and render them Represents the XmlDoc fragments as collected from the lexer during parsing Used to collect XML documentation during lexing and parsing. This code runs for .XML generation and thus influences cross-project xmldoc tooltips; for within-project tooltips, see XmlDocumentation.fs in the language service Represents the final form of collected XmlDoc lines A parsed signature file A parsed implementation file Gets the syntax range of this constuct Represents the syntax tree for a parsed implementation or signature file Represents the full syntax tree, file name and other parsing information for a signature file Represents the full syntax tree, file name and other parsing information for an implementation file The name of the file Gets the syntax range of this constuct The identifier for the name of the file Represents a qualifying name for anonymous module specifications and implementations, A pragma to turn a warning off Represents a scoped pragma Represents a parsed signature file made up of fragments Represents a parsed implementation file made up of fragments Represents a parsed syntax tree for an F# Interactive interaction A signature file namespace fragment A signature file which is a module, 'module N' A signature file which is an anonymous module, e.g. the signature file for the final file in an application Represents the syntax tree for the contents of a parsed signature file An implementation file fragment which declares a namespace fragment An implementation file is a named module definition, 'module N' An implementation file which is an anonymous module definition, e.g. a script Represents the syntax tree for the contents of a parsed implementation file Represents a parsed hash directive Represents the definition of a module or namespace in a signature file Gets the syntax range of this constuct Represents the definition of a module or namespace A namespace is declared 'global' A namespace is explicitly declared A module is anonymously named, e.g. a script A module is explicitly named 'module N' Indicates if this is a module definition Represents the kind of a module or namespace definition A namespace fragment within a namespace in a signature file A hash directive within a module or namespace in a signature file An 'open' definition within a module or namespace in a signature file An exception definition within a module or namespace in a signature file A set of one or more type definitions within a module or namespace in a signature file A 'val' definition within a module or namespace in a signature file, corresponding to a 'let' definition in the implementation A nested module definition within a module or namespace in a signature file A module abbreviation definition within a module or namespace in a signature file Gets the syntax range of this constuct Represents a definition within a module or namespace in a signature file Represents the right hand side of an exception definition in a signature file A namespace fragment within a module A hash directive within a module An attribute definition within a module, for assembly and .NET module attributes An 'open' definition within a module An 'exception' definition within a module One or more 'type' definitions within a module A 'do expr' within a module A 'let' definition within a module A nested module definition 'module X = ...' A module abbreviation definition 'module X = A.B.C' Gets the syntax range of this constuct Represents a definition within a module An auto-property definition, F# syntax: 'member val X = expr' A nested type definition, a feature that is not implemented A 'val' definition within a class An 'inherit' definition within a class An interface implementation definition within a class An abstract slot definition within a class or interface A 'let' definition within a class An implicit inherit definition, 'inherit <typ>(args...) as base' An implicit constructor definition A 'member' definition within a type An 'open' definition within a type Gets the syntax range of this constuct Represents a definition element within a type definition, e.g. 'member ... ' Gets the syntax range of this constuct Represents a type or exception declaration 'type C = ... ' plus any additional member definitions for the type An exception definition A simple type definition (record, union, abbreviation) An object model type definition (class or interface) Gets the syntax range of this constuct Represents the right hand side of a type or exception declaration 'type C = ... ' plus any additional member definitions for the type Gets the syntax range of this constuct Represents the right hand side of an exception declaration 'exception E = ... ' plus any member definitions for the exception Gets the syntax range of this constuct Represents the right hand side of an exception declaration 'exception E = ... ' Represents the syntactic elements associated with the "return" of a function or method. Represents the names and other metadata for the type parameters for a member or function Represents the argument names and other metadata for a parameter for a member or function SynValInfo(curriedArgInfos, returnInfo) The argument names and other metadata for a member or function Represents the syntax tree for a 'val' definition in an abstract slot or a signature file Gets the syntax range of this constuct Represents the syntax tree associated with the name of a type definition or module in signature or implementation. This includes the name, attributes, type parameters, constraints, documentation and accessibility for a type definition or module. For modules, entries such as the type parameters are always empty. Represents the syntax tree for a field declaration in a record or class The information for a type definition in a signature Represents the syntax tree for a type definition in a signature Indicates the right right-hand-side is a record, union or other simple type. Indicates the right right-hand-side is a class, struct, interface or other object-model type Gets the syntax range of this constuct Represents the syntax tree for the right-hand-side of a type definition in a signature. Note: in practice, using a discriminated union to make a distinction between "simple" types and "object oriented" types is not particularly useful. Full type spec given by 'UnionCase: ty1 * tyN -> rty'. Only used in FSharp.Core, otherwise a warning. Normal style declaration Represents the syntax tree for the right-hand-side of union definition, excluding members, in either a signature or implementation. Gets the syntax range of this constuct Represents the syntax tree for one case in a union definition. Gets the syntax range of this constuct Represents the syntax tree for one case in an enum definition. An exception definition, "exception E = ..." An abstract definition, "type X" A type abbreviation, "type X = A.B.C" A type defined by using an IL assembly representation. Only used in FSharp.Core. F# syntax: "type X = (# "..."#) An object oriented type definition. This is not a parse-tree form, but represents the core type representation which the type checker splits out from the "ObjectModel" cases of type definitions. A record type definition, type X = { A: int; B: int } An enum type definition, type X = A = 1 | B = 2 A union type definition, type X = A | B Gets the syntax range of this constuct Represents the syntax tree for the core of a simple type definition, in either signature or implementation. Represents the kind of a type definition whether explicit or inferred A nested type definition in a signature file (an unimplemented feature) A 'val' definition in a type in a signature file An 'inherit' definition in a type in a signature file An interface definition in a type in a signature file A member definition in a type in a signature file Represents the syntax tree for a member signature (used in signature files, abstract member declarations and member constraints) An artificial member kind used prior to the point where a get/set property is split into two distinct members. The member kind is property setter The member kind is property getter The member kind is not yet determined The member is a object model constructor The member is a class initializer Note the member kind is actually computed partially by a syntax tree transformation in tc.fs The kind of the member The member is 'final' The member is an 'override' or explicit interface implementation The member is a dispatch slot The member is an instance member (non-static) Represents the flags for a 'member' declaration Represents the return information in a binding for a 'let' or 'member' declaration Represents a binding for a 'let' or 'member' declaration Represents extra information about the declaration of a value The syntax range of the list of attributes The list of attributes List of attributes enclosed in [< ... >]. The syntax range of the attribute Is this attribute being applied to a property getter or setter? Target specifier, e.g. "assembly", "module", etc. The argument of the attribute, perhaps a tuple The name of the type for the attribute Represents an attribute Gets the syntax range of part of this constuct Gets the syntax range of this constuct Represents a clause in a 'match' expression Represents a set of bindings that implement an interface A pattern arising from a parse error Used internally in the type checker Deprecated character range: ranges &lt;@ expr @&gt;, used for active pattern arguments A type test pattern ':? type ' '?id' -- for optional argument names The 'null' pattern A record pattern An array or a list as a pattern A parentehsized pattern A tuple pattern A long identifier pattern possibly with argument patterns A conjunctive pattern 'pat1 & pat2' A disjunctive pattern 'pat1 | pat2' An attributed pattern, used in argument or declaration position A typed pattern 'pat : type' A named pattern 'pat as ident' A wildcard '_' in a pattern A constant in a pattern Gets the syntax range of this constuct Represents a syntax tree for an F# pattern Represents a syntax tree for argumments patterns Represents a simple set of variable bindings a, (a, b) or (a: Type, b: Type) at a lambda, function definition or other binding point, after the elimination of pattern matching from the construct, e.g. after changing a "function pat1 -> rule1 | ..." to a "fun v -> match v with ..." A static optimization conditional that activates for a struct A static optimization conditional that activates for a particular type instantiation Represents a syntax tree for a static optimization constraint in the F# core library We have decided to use an alternative name in the pattern and related expression We have not decided to use an alternative name in the pattern and related expression Represents the alternative identifier for a simple pattern An attributed simple pattern A type annotated simple pattern Indicates a simple pattern variable. altNameRefCell: Normally 'None' except for some compiler-generated variables in desugaring pattern matching. Pattern processing sets this reference for hidden variable introduced by desugaring pattern matching in arguments. The info indicates an alternative (compiler generated) identifier to be used because the name of the identifier is already bound. isCompilerGenerated: true if a compiler generated name isThisVar: true if 'this' variable in member isOptArg: true if a '?' is in front of the name Represents a syntax tree for simple F# patterns A one-element item indexer argument A two-element range indexer argument Gets the syntax range of this constuct Get the one or two expressions as a list Represents a syntax tree for an F# indexer expression argument 'use x = fixed expr' Inserted for error recovery when there is "expr." and missing tokens or error recovery after the dot Inserted for error recovery Inserted for error recovery Only used in FSharp.Core Only used in FSharp.Core Only used in FSharp.Core Only used in FSharp.Core F# syntax: do! expr Computation expressions only F# syntax: match! expr with pat1 -> expr | ... | patN -> exprN F# syntax: let! pat = expr in expr F# syntax: use! pat = expr in expr F# syntax: let! pat = expr and! ... and! ... and! pat = expr in expr Computation expressions only F# syntax: yield! expr F# syntax: return! expr Computation expressions only F# syntax: yield expr F# syntax: return expr Computation expressions only Used internally during type checking for translating computation expressions. Used in parser error recovery and internally during type checking for translating computation expressions. F# syntax: ... in ... Computation expressions only, based on JOIN_IN token from lex filter F# syntax: ((typar1 or ... or typarN): (member-dig) expr) F# syntax: &expr, &&expr F# syntax: null F# syntax: downcast expr F# syntax: upcast expr F# syntax: expr :?> type F# syntax: expr :> type F# syntax: expr :? type F# syntax: expr.Items (e1) <- e2, rarely used named-property-setter notation, e.g. (stringExpr).Chars(3) <- 'a' F# syntax: Type.Items(e1) <- e2, rarely used named-property-setter notation, e.g. Foo.Bar.Chars(3) <- 'a' F# syntax: expr.[expr, ..., expr] <- expr F# syntax: expr.[expr, ..., expr] F# syntax: expr <- expr F# syntax: expr.ident...ident <- expr F# syntax: expr.ident.ident F# syntax: ident.ident...ident <- expr F# syntax: ident.ident...ident isOptional: true if preceded by a '?' for an optional named parameter altNameRefCell: Normally 'None' except for some compiler-generated variables in desugaring pattern matching. See SynSimplePat.Id F# syntax: ident Optimized representation for SynExpr.LongIdent (false, [id], id.idRange) F# syntax: if expr then expr F# syntax: if expr then expr else expr F# syntax: expr; expr isTrueSeq: false indicates "let v = a in b; v" F# syntax: lazy expr F# syntax: try expr finally expr F# syntax: try expr with pat -> expr F# syntax: let pat = expr in expr F# syntax: let f pat1 .. patN = expr in expr F# syntax: let rec f pat1 .. patN = expr in expr F# syntax: use pat = expr in expr F# syntax: expr<type1, ..., typeN> F# syntax: f x flag: indicates if the application is syntactically atomic, e.g. f.[1] is atomic, but 'f x' is not isInfix is true for the first app of an infix operator, e.g. 1+2 becomes App(App(+, 1), 2), where the inner node is marked isInfix F# syntax: assert expr F# syntax: do expr F# syntax: match expr with pat1 -> expr | ... | patN -> exprN F# syntax: function pat1 -> expr | ... | patN -> exprN First bool indicates if lambda originates from a method. Patterns here are always "simple" Second bool indicates if this is a "later" part of an iterated sequence of lambdas F# syntax: fun pat -> expr F# syntax: { expr } F# syntax: [ expr ], [| expr |] F# syntax: 'for ... in ... do ...' F# syntax: 'for i = ... to ... do ...' F# syntax: 'while ... do ...' F# syntax: { new ... with ... } F# syntax: new C(...) The flag is true if known to be 'family' ('protected') scope F# syntax: { f1=e1; ...; fn=en } inherit includes location of separator (for tooling) copyOpt contains range of the following WITH part (for tooling) every field includes range of separator after the field (for tooling) F# syntax: [ e1; ...; en ], [| e1; ...; en |] F# syntax: {| id1=e1; ...; idN=eN |} F# syntax: struct {| id1=e1; ...; idN=eN |} F# syntax: e1, ..., eN F# syntax: expr: type F# syntax: 1, 1.3, () etc. F# syntax: <@ expr @>, <@@ expr @@> Quote(operator, isRaw, quotedSynExpr, isFromQueryExpression, m) F# syntax: (expr) Parenthesized expressions. Kept in AST to distinguish A.M((x, y)) from A.M(x, y), among other things. Get the Range ignoring any (parse error) extra trailing dots Attempt to get the range of the first token or initial portion only - this is ad-hoc, just a cheap way to improve a certain 'query custom operation' error range Gets the syntax range of this constuct Indicates if this expression arises from error recovery Represents a syntax tree for F# expressions F# syntax: ident=1 etc., used in static parameters to type providers F# syntax: const expr, used in static parameters to type providers F# syntax: 1, "abc" etc, used in parameters to type providers For the dimensionless units i.e. 1, and static parameters to provided types F# syntax: for units of measure e.g. m^3, kg^1/2 F# syntax: for units of measure e.g. m / s F# syntax: #type F# syntax: typ with constraints F# syntax: _ F# syntax: 'Var F# syntax: type -> type F# syntax: type[] F# syntax: {| id: type; ...; id: type |} F# syntax: struct {| id: type; ...; id: type |} F# syntax: type * ... * type F# syntax: struct (type * ... * type) F# syntax: type.A.B.C<type, ..., type> F# syntax: type<type, ..., type> or type type or (type, ..., type) type isPostfix: indicates a postfix type application e.g. "int list" or "(int, string) dict" F# syntax: A.B.C Gets the syntax range of this constuct Represents a syntax tree for F# types F# syntax is 'typar: delegate<'Args, unit> F# syntax is 'typar: enum<'UnderlyingType> F# syntax is ^T: (static member MemberName: ^T * int -> ^T) F# syntax is 'typar :> type F# syntax is default ^T: type F# syntax is 'typar: equality F# syntax is 'typar: comparison F# syntax is 'typar: null F# syntax is 'typar: unmanaged F# syntax: is 'typar: not struct F# syntax: is 'typar: struct The unchecked abstract syntax tree of F# type constraints Represents the explicit declaration of a type parameter A 'do' binding in a module. Must have type 'unit' A normal 'let' binding in a module A standalone expression in a module The kind associated with a binding - "let", "do" or a standalone expression Indicates if an expression is an atomic expression. An atomic expression has no whitespace unlessenclosed in parentheses, e.g. 1, "3", ident, ident.[expr] and (expr). If an atomic expression has type T, then the largest expression ending at the same range as the atomic expression also has type T. Represents a record field name plus a flag indicating if given record field name is syntactically correct and can be used in name resolution. Represents the location of the separator block + optional position of the semicolon (used for tooling support) Indicates if a for loop is 'for x in e1 -> e2', only valid in sequence expressions Indicates if a for loop is 'for x in e1 -> e2', only valid in sequence expressions Represents whether a debug point should be present for a 'let' binding, that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for the 'while' in a 'while...' loop, that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for the 'for' in a 'for...' loop, that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for the 'finally' in a 'try .. finally', that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for the 'with' in a 'try .. with', that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for a 'try', that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for either the first or second part of a sequential execution, that is whether the construct corresponds to a debug point in the original source. Represents whether a debug point should be present for the target of a decision tree, that is whether the construct corresponds to a debug point in the original source. A construct marked or assumed 'private' A construct marked or assumed 'internal' A construct marked or assumed 'public' Represents an accessibility modifier in F# syntax Represents an unchecked syntax tree of F# unit of measure exponents. A variable unit of measure An anonymous (inferred) unit of measure The '1' unit of measure A power of a unit of measure, e.g. 'kg ^ 2' A division of two units of measure, e.g. 'kg / m' A sequence of several units of measure, e.g. 'kg m m' A product of two units of measure, e.g. 'kg * m' A named unit of measure Represents an unchecked syntax tree of F# unit of measure annotations. Old comment: "we never iterate, so the const here is not another SynConst.Measure" Used internally in the typechecker once an array of unit16 constants is detected, to allow more efficient processing of large arrays of uint16 constants. F# syntax: verbatim or regular byte string, e.g. "abc"B. Also used internally in the typechecker once an array of unit16 constants is detected, to allow more efficient processing of large arrays of uint16 constants. F# syntax: verbatim or regular string, e.g. "abc" UserNum(value, suffix) F# syntax: 1Q, 1Z, 1R, 1N, 1G F# syntax: 23.4M F# syntax: 'a' F# syntax: 1.30, 1.40e10 etc. F# syntax: 1.30f, 1.40e10f etc. F# syntax: 13un F# syntax: 13n F# syntax: 13UL F# syntax: 13L F# syntax: 13u, 0x4000u, 0o0777u F# syntax: 13, 0x4000, 0o0777 F# syntax: 13us, 0x4000us, 0o0777us, 0b0111101us F# syntax: 13s, 0x4000s, 0o0777s, 0b0111101s F# syntax: 13uy, 0x40uy, 0oFFuy, 0b0111101uy F# syntax: 13y, 0xFFy, 0o077y, 0b0111101y F# syntax: true, false F# syntax: () Gets the syntax range of this constuct The unchecked abstract syntax tree of constants in F# types and expressions. Gets the syntax range of this constuct Represents a syntactic type parameter The construct is a statically inferred type inference variable '^T' The construct is a normal type inference variable Represents whether a type parameter has a static requirement or not (^T or 'T) The construct arises from error recovery The construct arises normally Indicates if the construct arises from error recovery Indicates if the construct ends in '.' due to error recovery Gets the syntax range for part of this constuct Gets the syntax range of this constuct Get the long ident for this construct Represents a long identifier with possible '.' at end. Typically dotms.Length = lid.Length-1, but they may be same if (incomplete) code ends in a dot, e.g. "Foo.Bar." The dots mostly matter for parsing, and are typically ignored by the typechecker, but if dotms.Length = lid.Length, then the parser must have reported an error, so the typechecker is allowed more freedom about typechecking these expressions. LongIdent can be empty list - it is used to denote that name of some AST element is absent (i.e. empty type name in inherit) Represents a long identifier e.g. 'A.B.C' Represents an identifier in F# code "fun (UnionCase x) (UnionCase y) -> body" ==> "fun tmp1 tmp2 -> let (UnionCase x) = tmp1 in let (UnionCase y) = tmp2 in body" Push non-simple parts of a patten match over onto the r.h.s. of a lambda. Return a simple pattern and a function to build a match on the r.h.s. if the pattern is complex Recognize the '()' in 'new()' Extract the argument for patterns corresponding to the declaration of 'new ... = ...' This affects placement of sequence points Match a long identifier, including the case for single identifiers which gets a more optimized node in the syntax tree. Infer the syntactic information for a 'let' or 'member' definition, based on the argument pattern, any declared return information (e.g. .NET attributes on the return element), and the r.h.s. expression in the case of 'let' definitions. For 'let' definitions, we infer syntactic argument information from the r.h.s. of a definition, if it is an immediate 'fun ... -> ...' or 'function ...' expression. This is noted in the F# language specification. This does not apply to member definitions. Transform a property declared using '[static] member P = expr' to a method taking a "unit" argument. This is similar to IncorporateEmptyTupledArgForPropertyGetter, but applies to member definitions rather than member signatures. Make sure only a solitary unit argument has unit elimination Infer the syntactic argument info for one or more arguments a pattern. Infer the syntactic argument info for one or more arguments one or more simple patterns. Infer the syntactic argument info for a single argument from a simple pattern. Get the argument attributes from the syntactic information for an argument. Get the argument counts for each curried argument group. Used in some adhoc places in tc.fs. Add a parameter entry to the syntactic value information to represent the value argument for a property setter. This is used for the implicit value argument in property setter signature specifications. Add a parameter entry to the syntactic value information to represent the 'this' argument. This is used for the implicit 'this' argument in member signature specifications. Add a parameter entry to the syntactic value information to represent the '()' argument to a property getter. This is used for the implicit '()' argument in property getter signature specifications. Check if there are any optional arguments in the syntactic argument information. Used when adjusting the types of optional arguments for function and member signatures. Check if one particular argument is an optional argument. Used when adjusting the types of optional arguments for function and member signatures. Determine if a syntactic information represents a member without arguments (which is implicitly a property getter) The 'argument' information for the 'this'/'self' parameter in the cases where it is not given explicitly The 'argument' information for a return value where no attributes are given for the return value (the normal case) The argument information for a '()' argument The argument information for a curried argument without a name The argument information for an argument without a name Operations related to the syntactic analysis of arguments of value, function and member definitions and signatures. The parser defines a number of tokens for whitespace and comments eliminated by the lexer. These carry a specification of a continuation for the lexer for continued processing after we've dealt with the whitespace. Specifies how the 'endline' function in the lexer should continue after it reaches end of line or eof. The options are to continue with 'token' function or to continue with 'skip' function. Helper for parsing the inline IL fragments. Reset the generator used for compiler-generated argument names. Get the generator used for compiler-generated argument names. Get the range corresponding to one of the r.h.s. symbols of a grammar rule while it is being reduced Get the range covering two of the r.h.s. symbols of a grammar rule while it is being reduced Get the range corresponding to the result of a grammar rule while it is being reduced Get an F# compiler range from a lexer range Get an F# compiler position from a lexer position The error raised by the parse_error_rich function, which is called by the parser engine when a syntax error occurs. The first object is the ParseErrorContext which contains a dump of information about the grammar at the point where the error occurred, e.g. what tokens are valid to shift next at that point in the grammar. This information is processed in CompileOps.fs. Called from the parser each time we parse a construct that marks the end of an XML doc comment range, e.g. a 'type' declaration. The markerRange is the range of the keyword that delimits the construct. Called from the lexer to save a single line of XML doc comment. XmlDoc F# lexer/parser state, held in the BufferLocalStore for the lexer. This is the only use of the lexer BufferLocalStore in the codebase. This function maps production indexes returned in syntax errors to strings representing the non terminal that would be produced by that production This function maps production indexes returned in syntax errors to strings representing the non terminal that would be produced by that production Keywords paired with their descriptions. Used in completion and quick info. Returns a token 'tok' with the same position as this token, except that it is shifted by specified number of characters from the left and from the right Note: positive value means shift to the right in both cases Returns a token 'tok' with the same position as this token Returns starting position of the token Returns end position of the token Used to save the state related to a token Treat as though this is read-only. Used to save some aspects of the lexbuffer state Determine the token that may align with the 'try' of a 'try/catch' or 'try/finally' without closing the construct Determine the tokens that may align with the 'if' of an 'if/then/elif/else' without closing the construct Used for warning strings, which should display columns as 1-based and display the lines after taking '# line' directives into account (i.e. do not use p.OriginalLine) LexFilter - process the token stream prior to parsing. Implements the offside rule and a couple of other lexical transformations. Compute the hash value for the tainted value Test whether the tainted value equals given value. Type providers are ignored (equal tainted values produced by different type providers are equal) Failure in call to equality operation will be blamed on type provider of first operand Test whether the tainted value equals given value. Failure in call to equality operation will be blamed on type provider of first operand Test whether the tainted value is null The table of remappings from type names in the provided assembly to type names in the statically linked, embedded assembly. Create a new static linking map, ready to populate with data. The table of information recording remappings from type names in the provided assembly to type names in the statically linked, embedded assembly, plus what types are nested in side what types. Represents the remapping information for a generated provided type and its nested types. There is one overall tree for each root 'type X = ... type generation expr...' specification. Convert the expression to a string for diagnostics Map the TyconRef objects, if any The context used to interpret information in the closure of System.Type, System.MethodInfo and other info objects coming from the type provider. At the moment this is the "Type --> ILTypeRef" and "Type --> Tycon" remapping context for generated types (it is empty for erased types). This is computed from while processing the [<Generate>] declaration related to the type. Immutable (after type generation for a [<Generate>] declaration populates the dictionaries). The 'obj' values are all TyconRef, but obj is used due to a forward reference being required. Not particularly pleasant, but better than intertwining the whole "ProvidedType" with the TAST structure. The folder for temporary files All referenced assemblies, including the type provider itself, and possibly other type providers. Whether or not the --showextensionresolution flag was supplied to the compiler. Output file name The folder from which an extension provider is resolving from. This is typically the project folder. Carries information about the type provider resolution environment. Check if this is a direct reference to a non-embedded generated type. This is not permitted at any name resolution. We check by seeing if the type is absent from the remapping context. Get the ILTypeRef for the provided type (including for nested types). Do not take into account any type relocations or static linking for generated types. Get the ILTypeRef for the provided type (including for nested types). Take into account any type relocations or static linking for generated types. Decompose the enclosing name of a type (including any class nestings) into a list of parts. e.g. System.Object -> ["System"; "Object"] Get the parts of a .NET namespace. Special rules: null means global, empty is not allowed. Try to resolve a type in the given extension type resolver Try to resolve a type in the given extension type resolver Try to apply a provided method to the given static arguments. Try to apply a provided type to the given static arguments. If successful also return a function to check the type name is as expected (this function is called by the caller of TryApplyProvidedType after other checks are made). Validate that the given provided type meets some of the rules for F# provided types Get the provided expression for a particular use of a method. Given an extension type resolver, supply a human-readable name suitable for error messages. Find and instantiate the set of ITypeProvider components for the given assembly reference Get the list of relative paths searched for type provider design-time components Raised when an type provider has thrown an exception. Raised when a type provider has thrown an exception. Indicates an F# 3.0+ reference to a named type in an assembly loaded by name Indicates an F# 4.0+ reference into the supplied table of type definition references, ultimately resolved by TypeRef/TypeDef data Code to pickle out quotations in the quotation binary format. Unique name generator for stamps attached to lambdas and object expressions A name generator used by IlxGen for static fields, some generated arguments and other things. REVIEW: this will mean the hosted compiler service is not deterministic. We should at least create a new one of these for each compilation. A global generator of stable compiler generated names A global generator of compiler generated names Generates compiler-generated names marked up with a source code location, but if given the same unique value then return precisely the same name. Each name generated also includes the StartLine number of the range passed in at the point of first generation. This type may be accessed concurrently, though in practice it is only used from the compilation thread. It is made concurrency-safe since a global instance of the type is allocated in tast.fs. Generates compiler-generated names. Each name generated also includes the StartLine number of the range passed in at the point of first generation. This type may be accessed concurrently, though in practice it is only used from the compilation thread. It is made concurrency-safe since a global instance of the type is allocated in tast.fs, and it is good policy to make all globally-allocated objects concurrency safe in case future versions of the compiler are used to host multiple concurrent instances of compilation. Unique name generator for stamps attached to to val_specs, tycon_specs etc. Defines the global environment for all type checking. Create a new Val node Create a new union case node Create a new type parameter node Create a new type definition node Create a new type parameter node for a declared type parameter Create a new TAST RecdField node for an F# class, struct or record field Create a new node for the representation information for a provided type definition Create a new entity node for a provided type definition Create a new node for the contents of a module or namespace Create a new entity node for a module or namespace Create a Val based on an existing one using the function 'f'. We require that we be given the parent for the new Val. Create a tycon based on an existing one using the function 'f'. We require that we be given the new parent for the new tycon. We pass the new tycon to 'f' in case it needs to reparent the contents of the tycon. Create a module Tycon based on an existing one using the function 'f'. We require that we be given the parent for the new module. We pass the new module to 'f' in case it needs to reparent the contents of the module. Create a new type definition node for a .NET type definition Create a new unfilled cache for free variable calculations Create a new TAST Entity node for an F# exception definition Create a new node for an empty module or namespace contents Create a new type definition node by cloning an existing one Create a new module or namespace node by cloning an existing one Create the new contents of an overall assembly Create a node for a union type Create the union case tables for a union type Create the field tables for a record or class type Key a Tycon or TyconRef by demangled name and arity Key a Tycon or TyconRef by both mangled and demangled name. Generic types can be accessed either by 'List' or 'List`1'. This lists both keys. Compute the definition location of a provided item A set of static methods for constructing types. See FreeTyvars above. The summary of union constructors used in the expression. These may be marked 'internal' or 'private' and we have to check various conditions associated with that. The summary of fields used in the expression. These may be made private by a signature or marked 'internal' or 'private' and we have to check various conditions associated with that. The summary of locally defined tycon representations used in the expression. These may be made private by a signature or marked 'internal' or 'private' and we have to check various conditions associated with that. Indicates if the expression contains a call to rethrow that is not bound under a (try-)with branch. Rethrow may only occur in such locations. Indicates if the expression contains a call to a protected member or a base call. Calls to protected members and direct calls to super classes can't escape, also code can't be inlined The summary of locally defined variables used in the expression. These may be hidden at let bindings etc. or made private by a signature or marked 'internal' or 'private', and we have to check various conditions associated with that. Represents the set of free variables in an expression Represents an amortized computation of the free variables in an expression The summary of type parameters used in the expression. These may not escape the enclosing generic construct and we have to check various conditions associated with that. The summary of values used as trait solutions The summary of locally defined type definitions used in the expression. These may be made private by a signature and we have to check various conditions associated with that. Represents a set of 'free' type-related elements, including named types, trait solutions, union cases and record fields. Represents a set of 'free' union cases. Used to collect the union cases referred to from an expression. Represents a set of 'free' record field definitions. Used to collect the record field definitions referred to from an expression. Represents a set of 'free' named type definitions. Used to collect the named type definitions referred to from a type or expression. Computed and cached by later phases (never cached type checking). Cached in expressions. Not pickled. Represents a set of free type parameters. Computed and cached by later phases (never cached type checking). Cached in expressions. Not pickled. Represents a set of free local values. Computed and cached by later phases (never cached type checking). Cached in expressions. Not pickled. Represents the information saved in the assembly signature data resource for an F# assembly The result of attempting to resolve an assembly name to a full ccu. UnresolvedCcu will contain the name of the assembly that could not be resolved. ccu.orphanfixup is true when a reference is missing in the transitive closure of static references that may potentially be required for the metadata of referenced DLLs. It is set to true if the "loader" used in the F# metadata-deserializer or the .NET metadata reader returns a failing value (e.g. None). Note: When used from Visual Studio, the loader will not automatically chase down transitively referenced DLLs - they must be in the explicit references in the project. Indicates that this DLL uses F# 2.0+ quotation literals somewhere. This is used to implement a restriction on static linking. Indicates that this DLL uses F# 2.0+ quotation literals somewhere. This is used to implement a restriction on static linking. The table of type forwarders for this assembly A unique stamp for this assembly A hint as to where does the code for the CCU live (e.g what was the tcConfig.implicitIncludeDir at compilation time for this DLL?) The table of type definitions at the "root" of the assembly The table of modules and namespaces at the "root" of the assembly The fully qualified assembly reference string to refer to this assembly. This is persisted in quotations Indicates if this assembly reference is unresolved Is this a provider-injected assembly Indicates that this DLL was compiled using the F# compiler and has F# metadata Holds the data indicating how this assembly/module is referenced from the code being compiled. Holds the filename for the assembly, if any Dereference the asssembly reference A handle to the full specification of the contents of the module contained in this ccu The short name of the asssembly being referenced Try to get the .NET Assembly, if known. May not be present for `IsFSharp` for in-memory cross-project references Try to resolve a path into the CCU by referencing the .NET/CLI type forwarder table of the CCU Used to make forward calls into the type/assembly loader when comparing member signatures during linking Used to make 'forward' calls into the loader during linking Fixup a CCU to record it as "orphaned", i.e. not available Fixup a CCU to have the given contents Ensure the ccu is derefable in advance. Supply a path to attach to any resulting error message. Create a CCU with the given name but where the contents have not yet been specified Create a CCU with the given name and contents A compilation unit is, more or less, the new material created in one invocation of the compiler. Due to static linking assemblies may hold more than one compilation unit (i.e. when two assemblies are merged into a compilation the resulting assembly will contain 3 CUs). Compilation units are also created for referenced .NET assemblies. References to items such as type constructors are via cross-compilation-unit thunks, which directly reference the data structures that define these modules. Thus, when saving out values to disk we only wish to save out the "current" part of the term graph. When reading values back in we "fixup" the links to previously referenced modules. All non-local accesses to the data structures are mediated by ccu-thunks. Ultimately, a ccu-thunk is either a (named) element of the data structure, or it is a delayed fixup, i.e. an invalid dangling reference that has not had an appropriate fixup applied. Represents a table of .NET CLI type forwarders for an assembly The table of .NET CLI type forwarders for this assembly A helper function used to link method signatures using type equality. This is effectively a forward call to the type equality logic in tastops.fs A helper function used to link method signatures using type equality. This is effectively a forward call to the type equality logic in tastops.fs A handle to the full specification of the contents of the module contained in this ccu Indicates that this DLL uses pre-F#-4.0 quotation literals somewhere. This is used to implement a restriction on static linking A helper function used to link method signatures using type equality. This is effectively a forward call to the type equality logic in tastops.fs Triggered when the contents of the CCU are invalidated Is the CCu an assembly injected by a type provider Indicates that this DLL was compiled using the F# compiler and has F# metadata A hint as to where does the code for the CCU live (e.g what was the tcConfig.implicitIncludeDir at compilation time for this DLL?) The fully qualified assembly reference string to refer to this assembly. This is persisted in quotations A unique stamp for this DLL Holds the data indicating how this assembly/module is referenced from the code being compiled. Holds the filename for the DLL, if any Represents a complete typechecked assembly, made up of multiple implementation files. Represents a complete typechecked implementation file, including its typechecked signature if any. TImplFile (qualifiedNameOfFile, pragmas, implementationExpressionWithSignature, hasExplicitEntryPoint, isScript) This is the body of the module/namespace A named module-or-namespace-fragment definition Indicates the module fragment is a 'rec' or 'non-rec' definition of types and modules Indicates the module fragment is an evaluation of expression for side-effects Indicates the module fragment is a 'let' definition Indicates the module fragment is made of several module fragments in succession Indicates the module is a module with a signature The contents of a module-or-namespace-fragment definition A type for a module-or-namespace-fragment and the actual definition of the module-or-namespace-fragment The first ModuleOrNamespaceType is the signature and is a binder. However the bindings are not used in the ModuleOrNamespaceExpr: it is only referenced from the 'outside' is for use by FCS only to report the "hidden" contents of the assembly prior to applying the signature. Represents a parameter to an abstract method slot. TSlotParam(nm, ty, inFlag, outFlag, optionalFlag, attribs) The name of the method The method type parameters of the slot The (instantiated) type which the slot is logically a part of The formal return type of the slot (regardless of the type or method instantiation) The formal parameters of the slot (regardless of the type or method instantiation) The class type parameters of the slot Represents an abstract method slot, or delegate signature. TSlotSig(methodName, declaringType, declaringTypeParameters, methodTypeParameters, slotParameters, returnTy) A representation of a method in an object expression. TObjExprMethod(slotsig, attribs, methTyparsOfOverridingMethod, methodParams, methodBodyExpr, m) Indicates the static optimization applies when a type is a struct Indicates the static optimization applies when a type equality holds Represents the kind of an F# core library static optimization construct A call to a base method, e.g. 'base.OnPaint(args)' A call to a constructor, e.g. 'new C() = new C(3)' A call to a constructor, e.g. 'inherit C()' A normal use of a value Indicates a use of a value represents a call to a method that may require a .NET 2.0 constrained call. A constrained call is only used for calls where Indicates how a value, function or member is being used at a particular usage point. let res = a in b;res a ; b Represents the kind of sequential operation, i.e. "normal" or "to a before returning b" In C syntax this is: *localv_ptr = e In C syntax this is: localv = e, note == *(&localv) = e == LAddrOf; LByrefSet In C syntax this is: *localv_ptr In C syntax this is: &localv Indicates what kind of pointer operation this is. Evaluate start once and end multiple times, loop up Evaluate start and end once, loop down Evaluate start and end once, loop up Represents the kind of looping operation. Marks the compiled form of a 'for ... in ... do ' expression Represents the kind of looping operation. If this is Some ty then it indicates that a .NET 2.0 constrained call is required, with the given type as the static type of the object argument. Normal record construction We're in an explicit constructor. The purpose of the record expression is to fill in the fields of a pre-created but uninitialized object Represents the kind of record construction operation. ILCall(useCallvirt, isProtected, valu, newobj, valUseFlags, isProp, noTailCall, mref, actualTypeInst, actualMethInst, retTy) IL method calls. value -- is the object a value type? isProp -- used for quotation reflection. noTailCall - DllImport? if so don't tailcall actualTypeInst -- instantiation of the enclosing type actualMethInst -- instantiation of the method retTy -- the types of pushed values, if any Operation nodes representing C-style operations on byrefs and mutable vals (l-values) Pseudo method calls. This is used for overloaded operations like op_Addition. Used for state machine compilation Used for state machine compilation Used for state machine compilation Represents a "rethrow" operation. May not be rebound, or used outside of try-finally, expecting a unit argument Conversion node, compiled via type-directed translation or to box/unbox Generate a ldflda on an 'a ref. IL assembly code - type list are the types pushed on the stack An operation representing a field-get from an F# tuple value. An operation representing a field-set on an F# exception value. An operation representing a field-get from an F# exception value. An operation representing a field-get from a union value. The value is not assumed to have been proven to be of the corresponding union case. An operation representing a field-get from a union value, where that value has been proven to be of the corresponding union case. An operation representing a field-get from a union value, where that value has been proven to be of the corresponding union case. An operation representing a coercion that proves a union value is of a particular union case. This is not a test, its simply added proof to enable us to generate verifiable code for field access on union types An operation representing getting an integer tag for a union value representing the union case number An operation representing getting the address of a record field An operation representing getting a record or class field An operation representing setting a record or class field Construct a record or object-model value. The ValRef is for self-referential class constructors, otherwise it indicates that we're in a constructor and the purpose of the expression is to fill in the fields of a pre-created but uninitialized object, and to assign the initialized version of the object into the optional mutable cell pointed to be the given value. An operation representing a lambda-encoded try/finally An operation representing a lambda-encoded try/catch An operation representing a lambda-encoded for loop An operation representing a lambda-encoded while loop. The special while loop marker is used to mark compilations of 'foreach' expressions Constant uint16 arrays (used for parser tables) Constant byte arrays (used for parser tables and other embedded data) An operation representing the creation of an array value An operation representing the get of a property from an anonymous record An operation representing the creation of an anonymous record An operation representing the creation of a tuple value An operation representing the creation of an exception value using an F# exception declaration An operation representing the creation of a union value of the particular union case An instance of a link node occurs for every use of a recursively bound variable. When type-checking the recursive bindings a dummy expression is stored in the mutable reference cell. After type checking the bindings this is replaced by a use of the variable, perhaps at an appropriate type instantiation. These are immediately eliminated on subsequent rewrites. Indicates a free choice of typars that arises due to minimization of polymorphism at let-rec bindings. These are resolved to a concrete instantiation on subsequent rewrites. Indicates the expression is a quoted expression tree. An intrinsic applied to some (strictly evaluated) arguments A few of intrinsics (TOp_try, TOp.While, TOp.For) expect arguments kept in a normal form involving lambdas If we statically know some information then in many cases we can use a more optimized expression This is primarily used by terms in the standard library, particularly those implementing overloaded operators. Matches are a more complicated form of "let" with multiple possible destinations and possibly multiple ways to get to each destination. The first range is that of the expression being matched, which is used as the range for all the decision making and binding that happens during the decision tree execution. Bind a value. Bind a recursive set of values. Applications. Applications combine type and term applications, and are normalized so that sequential applications are combined, so "(f x y)" becomes "f [[x];[y]]". The type attached to the function is the formal function type, used to ensure we don't build application nodes that over-apply when instantiating at function types. Type lambdas. These are used for the r.h.s. of polymorphic 'let' bindings and for expressions that implement first-class polymorphic values. Why multiple vspecs? A Expr.Lambda taking multiple arguments really accepts a tuple. But it is in a convenient form to be compile accepting multiple arguments, e.g. if compiled as a toplevel static method. Sequence expressions, used for "a;b", "let a = e in b;a" and "a then b" (the last an OO constructor). Reference a value. The flag is only relevant if the value is an object model member and indicates base calls and special uses of object constructors. A constant expression. Represents an expression in the typed abstract syntax Records the extra metadata stored about typars for type parameters compiled as "real" IL type parameters, specifically for values with ValReprInfo. Any information here is propagated from signature through to the compiled code. The name for the argument at this position, if any The attributes for the argument Records the "extra information" for an argument compiled as a real method argument, specifically the argument name and attributes. ValReprInfo (numTypars, args, result) Get the total number of arguments Get the number of type parameters of the value Get the number of curried arguments of the value Get the kind of each type parameter Indicates if the value has no arguments - neither type parameters nor value arguments Get the number of tupled arguments in each curried argument position Get the extra information about the arguments for the value Records the "extra information" for a value compiled as a method (rather than a closure or a local), including argument names, attributes etc. Get the index of the active pattern element within the overall active pattern Get a reference to the value for the active pattern being referred to Get the full information about the active pattern being referred to Represents a reference to an active pattern element. The integer indicates which choice in the target set is being selected by this item. The value being bound The expression the value is being bound to The information about whether to emit a sequence point for the binding A binding of a variable to an expression, as in a `let` binding or similar A collection of simultaneous bindings A target of a decision tree. Can be thought of as a little function, though is compiled as a local block. Used in error recovery Test.ActivePatternCase(activePatExpr, activePatResTys, activePatIdentity, idx, activePatInfo) Run the active pattern and bind a successful result to a variable in the remaining tree. activePatExpr -- The active pattern function being called, perhaps applied to some active pattern parameters. activePatResTys -- The result types (case types) of the active pattern. activePatIdentity -- The value and the types it is applied to. If there are any active pattern parameters then this is empty. idx -- The case number of the active pattern which the test relates to. activePatternInfo -- The extracted info for the active pattern. IsInst(source, target) Test if the input to a decision tree is an instance of the given type Test if the input to a decision tree is null Test if the input to a decision tree is the given constant value Test if the input to a decision tree is an array of the given length Test if the input to a decision tree matches the given union case Get the discriminator associated with the case Get the decision tree or a successful test Represents a test and a subsequent decision tree TDBind(binding, body) Bind the given value through the remaining cases of the dtree. These arise from active patterns and some optimizations to prevent repeated computations in decision trees. binding -- the value and the expression it is bound to body -- the rest of the decision tree TDSuccess(results, targets) Indicates the decision tree has terminated with success, transferring control to the given target with the given parameters. results -- the expressions to be bound to the variables at the target target -- the target number for the continuation TDSwitch(input, cases, default, range) Indicates a decision point in a decision tree. input -- The expression being tested. If switching over a struct union this must be the address of the expression being tested. cases -- The list of tests and their subsequent decision trees default -- The default decision tree, if any range -- (precise documentation needed) Decision trees. Pattern matching has been compiled down to a decision tree by this point. The right-hand-sides (actions) of a decision tree by this point. The right-hand-sides (actions) of the decision tree are labelled by integers that are unique for that particular tree. Constants in expressions AttribNamedArg(name, type, isField, value) AttribExpr(source, evaluated) We keep both source expression and evaluated expression around to help intellisense and signature printing Attrib(kind, unnamedArgs, propVal, appliedToAGetterOrSetter, targetsOpt, range) Indicates an attribute refers to a type defined in an imported F# assembly Indicates an attribute refers to a type defined in an imported .NET assembly Raising a measure to a rational power The unit of measure '1', e.g. float = float<1> An inverse of a units of measure expression A product of two units of measure A constant, leaf unit-of-measure such as 'kg' or 'm' A variable unit-of-measure Represents a unit of measure in the typed AST Some constant, e.g. true or false for tupInfo Get the ILTypeRef for the generated type implied by the anonymous type Create an AnonRecdTypeInfo from the basic data Represents the information identifying an anonymous record Indicates the type is a unit-of-measure expression being used as an argument to a type or member Indicates the type is a variable type, whether declared, generalized or an inference type parameter TType_ucase(unionCaseRef, typeInstantiation) Indicates the type is a non-F#-visible type representing a "proof" that a union value belongs to a particular union case These types are not user-visible and will never appear as an inferred type. They are the types given to the temporaries arising out of pattern matching on union values. TType_fun(domainType, rangeType). Indicates the type is a function type TType_tuple(elementTypes). Indicates the type is a tuple type. elementTypes must be of length 2 or greater. TType_anon Indicates the type is an anonymous record type whose compiled representation is located in the given assembly TType_app(tyconRef, typeInstantiation). Indicates the type is built from a named type and a number of type arguments TType_forall(typars, bodyTy). Indicates the type is a universal type, only used for types of values and members For now, used only as a discriminant in error message. See https://github.com/Microsoft/visualfsharp/issues/2561 Represents a type in the typed abstract syntax Get a reference to the type containing this union case Get the Entity for the type containing this union case Try to dereference the reference Get the signature range of the record field Dereference the reference Get the declaration range of the record field Get the attributes associated with the compiled property of the record field Get the name off the field Get the definition range of the record field Represents a reference to a field in a record, class or struct Dereference the reference to the union case Get a reference to the type containing this union case Get the Entity for the type containing this union case Try to dereference the reference Get the signature range of the union case Get the resulting type of the union case Get the range of the union case Get the index of the union case amongst the cases Get the definition range of the union case Get the name of this union case Get the attributes associated with the union case Get the fields of the union case Get a field of the union case by index Represents a reference to a case of a union type Indicates a reference to something bound in another CCU Indicates a reference to something bound in this CCU Get or set the signature for the value's XML documentation Get the declared documentation for the value Records the "extra information" for a value compiled as a method. This indicates the number of arguments in each position for a curried function. Get the type of the value including any generic type parameters The type of the value. May be a TType_forall for a generic value. May be a type variable or type containing type variables during type inference. Dereference the ValRef to a Val option. Get the actual parent entity for the value (a module or a type), i.e. the entity under which the value will appear in compiled code. For extension members this is the module where the extension member is declared. Get the type of the value after removing any generic type parameters A unique stamp within the context of this invocation of the compiler process The quotation expression associated with a value given the [<ReflectedDefinition>] tag Get the information about a recursive value used during type inference Get the public path to the value, if any? Should be set if and only if IsMemberOrModuleBinding is set. Get the name of the value, assuming it is compiled as a property. - If this is a property then this is 'Foo' - If this is an implementation of an abstract slot then this is the name of the property implemented by the abstract slot Indicates if this value allows the use of an explicit type instantiation (i.e. does it itself have explicit type arguments, or does it have a signature?) Get the number of 'this'/'self' object arguments for the member. Instance extension members return '1'. Indicates whether the inline declaration for the value indicate that the value must be inlined? Is this a member, if so some more data about the member. Get the apparent parent entity for a member Indicates if this is inferred to be a method or function that definitely makes no critical tailcalls? The value of a value or member marked with [<LiteralAttribute>] Indicates whether this value represents a property setter. Indicates whether this value represents a property getter. Indicates if this value was a member declared 'override' or an implementation of an interface slot Indicates if this value is declared 'mutable' Indicates if this is an F#-defined value in a module, or an extension member, but excluding compiler generated bindings from optimizations Is this a member definition or module definition? Indicates if this is a member Indicates if this is an F#-defined instance member. Note, the value may still be (a) an extension member or (b) and abstract slot without a true body. These cases are often causes of bugs in the compiler. Indicates if this is a member generated from the de-sugaring of 'let' function bindings in the implicit class syntax? Indicates if this is a constructor member generated from the de-sugaring of implicit constructor for a class type? Indicates if this is an F#-defined extension member Indicates if this member is an F#-defined dispatch slot. Indicates if this is an F#-defined 'new' constructor member Indicates whether this value was generated by the compiler. Note: this is true for the overrides generated by hash/compare augmentations Is this represented as a "top level" static binding (i.e. a static field, static member, instance member), rather than an "inner" binding that may result in a closure. Get the inline declaration on the value Dereference the ValRef to a Val. The parent type or module, if any (None for expression bindings and parameters) The name of the method in compiled code (with some exceptions where ilxgen.fs decides not to use a method impl) Indicates if this is a 'base' or 'this' value? Get the declared attributes for the value Get the apparent parent entity for the value, i.e. the entity under with which the value is associated. For extension members this is the nominal type the member extends. For other values it is just the actual parent. Get the value representing the accessibility of an F# type definition or module. References are either local or nonlocal Represents a type definition reference in the typed abstract syntax. Represents a module-or-namespace reference in the typed abstract syntax. Indicates a reference to something bound in another CCU Indicates a reference to something bound in this CCU The XML documentation sig-string of the entity, if any, to use to lookup an .xml doc file. This also acts as a cache for this sig-string computation. The XML documentation of the entity, if any. If the entity is backed by provided metadata then this _does_ include this documentation. If the entity is backed by Abstract IL metadata or comes from another F# assembly then it does not (because the documentation will get read from an XML file). Get the union cases and other union-type information for a type, if any Get the union cases for a type, if any, as a list Get the union cases for a type, if any The information about the r.h.s. of a type definition, if any. For example, the r.h.s. of a union or record type. Get the value representing the accessibility of the r.h.s. of an F# type definition. The kind of the type definition - is it a measure definition or a type definition? The logical contents of the entity when it is a type definition. Indicates if this entity is an F# type abbreviation definition Get the type parameters for an entity that is a type declaration, otherwise return the empty list. The on-demand analysis about whether the entity has the IsReadOnly attribute The on-demand analysis about whether the entity has the IsByRefLike attribute The on-demand analysis about whether the entity is assumed to be a readonly struct Dereference the TyconRef to a Tycon option. Get a list of all instance fields for F#-defined record, struct and class fields in this type definition, excluding compiler-generate fields. Get a list of all fields for F#-defined record, struct and class fields in this type definition, including static fields, but excluding compiler-generate fields. A unique stamp for this module, namespace or type definition within the context of this compilation. Note that because of signatures, there are situations where in a single compilation the "same" module, namespace or type may have two distinct Entity objects that have distinct stamps. The signature definition location of the namespace, module or type The resolved target of the reference The code location where the module, namespace or type is defined. Get a blob of data indicating how this type is nested in other namespaces, modules or types. Indicates if we have pre-determined that a type definition has a default constructor. The logical contents of the entity when it is a module or namespace fragment. Gets the immediate members of an F# type definition, excluding compiler-generated ones. Note: result is alphabetically sorted, then for each name the results are in declaration order Gets all immediate members of an F# type definition keyed by name, including compiler-generated ones. Note: result is a indexed table, and for each name the results are in reverse declaration order The name of the namespace, module or type, possibly with mangling, e.g. List`1, List or FailureException Indicate if this is a type whose r.h.s. is known to be a union type definition. Indicates if this entity is an F# type abbreviation definition Indicates if this is a struct or enum type definition, i.e. a value type definition Indicates if the entity is an erased provided type definition that incorporates a static instantiation (and therefore in some sense compiler generated) Indicates if the reference has been resolved Indicates if this is an F# type definition whose r.h.s. is known to be a record type definition. Indicates if the entity is a provided namespace fragment Indicates if the entity is a generated provided type definition, i.e. not erased. Indicates if the entity is an erased provided type definition Indicates if the entity is a provided namespace fragment Indicates the type prefers the "tycon<a, b>" syntax for display etc. Indicates if the entity is a namespace Indicates the "tycon blob" is actually a module Indicates if the entity is an F# module definition Indicates if this is an F# type definition which is one of the special types in FSharp.Core.dll like 'float<_>' which defines a measure type with a relation to an existing non-measure type as a representation. Indicates if the reference is a local reference Indicate if this is a type definition backed by Abstract IL metadata. Indicates if this is a .NET-defined struct or enum type definition, i.e. a value type definition Indicates if this is a .NET-defined enum type definition Indicates if this is an F# type definition whose r.h.s. definition is unknown (i.e. a traditional ML 'abstract' type in a signature, which in F# is called a 'unknown representation' type). Indicates if this is an F#-defined struct or enum type definition, i.e. a value type definition Indicates if this is an F# type definition whose r.h.s. is known to be some kind of F# object model definition Indicates if this is an F#-defined interface type definition Indicates if this is an F#-defined enum type definition Indicates if this is an F#-defined delegate type definition Indicates if the entity represents an F# exception declaration. Indicates if the entity is erased, either a measure definition, or an erased provided type definition Indicates if this is an enum type definition Indicates if this is an F# type definition which is one of the special types in FSharp.Core.dll which uses an assembly-code representation for the type, e.g. the primitive array type constructor. Gets the immediate interface definitions of an F# type definition. Further interfaces may be supported through class and interface inheritance. Gets the immediate interface types of an F# type definition. Further interfaces may be supported through class and interface inheritance. The identifier at the point of declaration of the type definition. Get the Abstract IL metadata for this type definition, assuming it is backed by Abstract IL metadata. Get the Abstract IL scope, nesting and metadata for this type definition, assuming it is backed by Abstract IL metadata. Indicates if we have pre-determined that a type definition has a self-referential constructor using 'as x' Gets any implicit hash/equals (with comparer argument) methods added to an F# record, union or struct type definition. Gets any implicit hash/equals methods added to an F# record, union or struct type definition. Gets any implicit CompareTo (with comparer argument) methods added to an F# record, union or struct type definition. Gets any implicit CompareTo methods added to an F# record, union or struct type definition. Get the blob of information associated with an F# object-model type definition, i.e. class, interface, struct etc. The information about the r.h.s. of an F# exception definition, if any. The display name of the namespace, module or type with <_, _, _> added for generic types, including static parameters The display name of the namespace, module or type with <'T, 'U, 'V> added for generic types, including static parameters The display name of the namespace, module or type, e.g. List instead of List`1, including static parameters The display name of the namespace, module or type, e.g. List instead of List`1, not including static parameters Dereference the TyconRef to a Tycon. Amortize the cost of doing this. This path should not allocate in the amortized case Demangle the module name, if FSharpModuleWithSuffix is used The implementation definition location of the namespace, module or type Gets the data indicating the compiled representation of a named type or module in terms of Abstract IL data structures. Gets the data indicating the compiled representation of a type or module in terms of Abstract IL data structures. Get the cache of the compiled ILTypeRef representation of this module or type. The compiled name of the namespace, module or type, e.g. FSharpList`1, ListModule or FailureException Get a blob of data indicating how this type is nested inside other namespaces, modules and types. Get a blob of data indicating how this type is nested inside other namespaces, modules and types. Is the destination assembly available? The F#-defined custom attributes of the entity, if any. If the entity is backed by Abstract IL or provided metadata then this does not include any attributes from those sources. Get a list of all instance fields for F#-defined record, struct and class fields in this type definition. including hidden fields from the compilation of implicit class constructions. Get a list of fields for all the F#-defined record, struct and class fields in this type definition, including static fields, 'val' declarations and hidden fields from the compilation of implicit class constructions. Get an array of fields for all the F#-defined record, struct and class fields in this type definition, including static fields, 'val' declarations and hidden fields from the compilation of implicit class constructions. Get a table of fields for all the F#-defined record, struct and class fields in this type definition, including static fields, 'val' declarations and hidden fields from the compilation of implicit class constructions. Get the value representing the accessibility of an F# type definition or module. Get the type parameters for an entity that is a type declaration, otherwise return the empty list. Lazy because it may read metadata, must provide a context "range" in case error occurs reading metadata. Set the on-demand analysis about whether the entity has the IsReadOnly attribute Set the on-demand analysis about whether the entity has the IsByRefLike attribute Set the on-demand analysis about whether the entity is assumed to be a readonly struct Resolve the reference Get a union case of a type by name Get a field by name. Get a field by index in definition order Get the path into the CCU referenced by the nonlocal reference. Get the details of the module or namespace fragment for the entity referred to by this non-local reference. Get the mangled name of the last item in the path of the nonlocal reference. Get the all-but-last names of the path of the nonlocal reference. Dereference the nonlocal reference, and raise an error if this fails. Get the CCU referenced by the nonlocal reference. Get the name of the assembly referenced by the nonlocal reference. Try to find the entity corresponding to the given path, using type-providers to link the data Try to find the entity corresponding to the given path in the given CCU Try to link a non-local entity reference to an actual entity Represents an index into the namespace/module structure of an assembly Represents the path information for a reference to a value or member in another assembly, disassociated from any particular reference. The name of the value, or the full signature of the member A reference to the entity containing the value or member. This will always be a non-local reference For debugging Get the thunk for the assembly referred to Get the name of the assembly referred to For debugging Gets updated with 'true' if an abstract slot is implemented in the file being typechecked. Internal only. Updated with the full implemented slotsig after interface implementation relation is checked The parent type. For an extension member this is the type being extended Represents the extra information stored for a member See vflags section further below for encoding/decodings here Mutable for unpickle linkage Mutable for unpickle linkage Mutable for unpickle linkage Get the signature for the value's XML documentation Get the signature for the value's XML documentation Get the declared documentation for the value Records the "extra information" for a value compiled as a method. This indicates the number of arguments in each position for a curried functions, and relates to the F# spec for arity analysis. For module-defined values, the currying is based on the number of lambdas, and in each position the elements are based on attempting to deconstruct the type of the argument as a tuple-type. The field is mutable because arities for recursive values are only inferred after the r.h.s. is analyzed, but the value itself is created before the r.h.s. is analyzed. TLR also sets this for inner bindings that it wants to represent as "top level" bindings. Get the type of the value including any generic type parameters The type of the value. May be a TType_forall for a generic value. May be a type variable or type containing type variables during type inference. Get the generic type parameters for the value Get the actual parent entity for the value (a module or a type), i.e. the entity under which the value will appear in compiled code. For extension members this is the module where the extension member is declared. Get the type of the value after removing any generic type parameters A unique stamp within the context of this invocation of the compiler process Range of the definition (signature) of the value, used by Visual Studio The quotation expression associated with a value given the [<ReflectedDefinition>] tag Get the information about the value used during type inference The place where the value was defined. Get the public path to the value, if any? Should be set if and only if IsMemberOrModuleBinding is set. The name of the property. - If this is a property then this is 'Foo' - If this is an implementation of an abstract slot then this is the name of the property implemented by the abstract slot Indicates if this value allows the use of an explicit type instantiation (i.e. does it itself have explicit type arguments, or does it have a signature?) Get the number of 'this'/'self' object arguments for the member. Instance extension members return '1'. Indicates whether the inline declaration for the value indicate that the value must be inlined? Is this a member, if so some more data about the member. Note, the value may still be (a) an extension member or (b) and abstract slot without a true body. These cases are often causes of bugs in the compiler. Get the apparent parent entity for a member Indicates if this is inferred to be a method or function that definitely makes no critical tailcalls? The name of the method. - If this is a property then this is 'get_Foo' or 'set_Foo' - If this is an implementation of an abstract slot then this is the name of the method implemented by the abstract slot - If this is an extension member then this will be the simple name The value of a value or member marked with [<LiteralAttribute>] Indicates if this value was a member declared 'override' or an implementation of an interface slot Indicates if this is declared 'mutable' Indicates if this is an F#-defined value in a module, or an extension member, but excluding compiler generated bindings from optimizations Is this a member definition or module definition? Indicates if this is a member Indicates if a value is linked to backing data yet. Only used during unpickling of F# metadata. Indicates if this is a member, excluding extension members Indicates if this is an F#-defined instance member. Note, the value may still be (a) an extension member or (b) and abstract slot without a true body. These cases are often causes of bugs in the compiler. Indicates if this is a member generated from the de-sugaring of 'let' function bindings in the implicit class syntax? Indicates if this is a constructor member generated from the de-sugaring of implicit constructor for a class type? Indicates if the value is pinned/fixed Indicates if this is an F#-defined extension member Indicates if this member is an F#-defined dispatch slot. Indicates if this is an F#-defined 'new' constructor member Indicates whether this value was generated by the compiler. Note: this is true for the overrides generated by hash/compare augmentations Indicates if this is something compiled into a module, i.e. a user-defined value, an extension member or a compiler-generated value Is this represented as a "top level" static binding (i.e. a static field, static member, instance member), rather than an "inner" binding that may result in a closure. This is implied by IsMemberOrModuleBinding, however not vice versa, for two reasons. Some optimizations mutate this value when they decide to change the representation of a binding to be IsCompiledAsTopLevel. Second, even immediately after type checking we expect some non-module, non-member bindings to be marked IsCompiledAsTopLevel, e.g. 'y' in 'let x = let y = 1 in y + y' (NOTE: check this, don't take it as gospel) Indicates if the backing field for a static value is suppressed. Indicates if this is a compiler-generated class constructor member Get the inline declaration on the value Indicates if the value will ignore byref scoping rules Indicates if this is ever referenced? - If this is a property then this is 'Foo' - If this is an implementation of an abstract slot then this is the name of the method implemented by the abstract slot - If this is an operator then this is '(+)' Range of the definition (implementation) of the value, used by Visual Studio The parent type or module, if any (None for expression bindings and parameters) The name of the method. - If this is a property then this is 'Foo' - If this is an implementation of an abstract slot then this is the name of the method implemented by the abstract slot - If this is an operator then this is 'op_Addition' Indicates if this is a 'base' or 'this' value? Get the declared attributes for the value Get the apparent parent entity for the value, i.e. the entity under with which the value is associated. For extension members this is the nominal type the member extends. For other values it is just the actual parent. How visible is this value, function or member? Set all the data on a value Create a new value with empty, unlinked data. Only used during unpickling of F# metadata. Create a new value with the given backing data. Only used during unpickling of F# metadata. Link a value based on empty, unlinked data to the given data. Only used during unpickling of F# metadata. The partial information used to index the methods of all those in a ModuleOrNamespace. The full information used to identify a specific overloaded method amongst all those in a ModuleOrNamespace. The name of the method in compiled code (with some exceptions where ilxgen.fs decides not to use a method impl) - If this is a property then this is 'get_Foo' or 'set_Foo' - If this is an implementation of an abstract slot then this may be a mangled name - If this is an extension member then this will be a mangled name - If this is an operator then this is 'op_Addition' Custom attributes attached to the value. These contain references to other values (i.e. constructors in types). Mutable to fixup these value references after copying a collection of values. XML documentation signature for the value Is the value actually an instance method/property/event that augments a type, and if so what name does it take in the IL? MUTABILITY: for unpickle linkage XML documentation attached to a value. MUTABILITY: for unpickle linkage How visible is this? MUTABILITY: for unpickle linkage What is the original, unoptimized, closed-term definition, if any? Used to implement [<ReflectedDefinition>] If this field is populated, this is the implementation range for an item in a signature, otherwise it is the signature range for an item in an implementation MUTABILITY: for unpickle linkage The full type of the value for the purposes of linking. May be None for non-members, since they can't be overloaded. The partial information used to index the value in a ModuleOrNamespace. The full information used to identify a specific overloaded method amongst all those in a ModuleOrNamespace. Indicates the total argument count of the member. Indicates the logical name of the member. Indicates if the member is an override. The name of the type with which the member is associated. None for non-member values. The partial information used to index the methods of all those in a ModuleOrNamespace. Indicates a trait is solved by a 'fake' instance of an operator, like '+' on integers ClosedExprSln expr Indicates a trait is solved by an erased provided expression ILMethSln(ty, extOpt, ilMethodRef, minst) Indicates a trait is solved by a .NET method. ty -- the type and its instantiation extOpt -- information about an extension member, if any ilMethodRef -- the method that solves the trait constraint minst -- the generic method instantiation Indicates a trait is solved by an F# anonymous record field. FSRecdFieldSln(tinst, rfref, isSetProp) Indicates a trait is solved by an F# record field. tinst -- the instantiation of the declaring type rfref -- the reference to the record field isSetProp -- indicates if this is a set of a record field FSMethSln(ty, vref, minst) Indicates a trait is solved by an F# method. ty -- the type and its instantiation vref -- the method that solves the trait constraint minst -- the generic method instantiation Represents the solution of a member constraint during inference. Indicates the signature of a member constraint. Contains a mutable solution cell to store the inferred solution of the constraint. Get or set the solution of the member constraint during inference Get or set the solution of the member constraint during inference Get the return type recorded in the member constraint. Get the member name associated with the member constraint. Get the argument types required of a member in order to solve the constraint Represents the specification of a member constraint that must be solved A constraint that a type is .NET unmanaged type A constraint that a type is a delegate from the given tuple of args to the given return type A constraint that a type does not have the Equality(false) attribute, or is not a structural type with this attribute, with special rules for some known structural container types A constraint that a type implements IComparable, with special rules for some known structural container types A constraint that a type is an enum with the given underlying A constraint that a type has a parameterless constructor A constraint that a type is a simple choice between one of the given ground types. Only arises from 'printf' format strings. See format.fs A constraint that a type is a reference type A constraint that a type is a non-Nullable value type These are part of .NET's model of generic constraints, and in order to generate verifiable code we must attach them to F# generalized type variables as well. A constraint that a type has a member with the given signature A constraint that a type has a 'null' value A constraint for a default value for an inference type variable should it be neither generalized nor solved A constraint that a type is a subtype of the given type Represents a constraint on a type parameter or type The optional data for the type parameter A cached TAST type used when this type variable is used as type. An inferred equivalence for a type inference variable. The unique stamp of the type parameter MUTABILITY: for linking when unpickling The flag data for the type parameter MUTABILITY: we set the names of generalized inference type parameters to make the look nice for IL code generation The identifier for the type parameter Get the XML documetnation for the type parameter Indicates if the type variable has a static "head type" requirement, i.e. ^a variables used in FSharp.Core and member constraints. The unique stamp of the type parameter The inferred equivalence for the type inference variable, if any. Indicates if the type variable can be solved or given new constraints. The status of a type variable generally always evolves towards being either rigid or solved. The range of the identifier for the type parameter definition The name of the type parameter Indicates whether a type variable can be instantiated by types or units-of-measure. Indicates if a type variable has been solved. Indicates if a type variable has been linked. Only used during unpickling of F# metadata. Indicates if the type inference variable was generated after an error when type checking expressions or patterns Indicates whether a type variable is erased in compiled .NET IL code, i.e. whether it is a unit-of-measure variable Indicates if the type variable is compiler generated, i.e. is an implicit type inference variable Indicates that whether this type parameter is a compat-flex type parameter (i.e. where "expr :> tp" only emits an optional warning) The identifier for a type parameter definition Get the IL name of the type parameter Indicates that whether or not a generic type definition satisfies the equality constraint is dependent on whether this type variable satisfies the equality constraint. Indicates if a type parameter is needed at runtime and may not be eliminated Indicates the display name of a type variable The inferred constraints for the type inference variable, if any Indicates that whether or not a generic type definition satisfies the comparison constraint is dependent on whether this type variable satisfies the comparison constraint. The declared attributes of the type parameter. Empty for type inference variables and parameters from .NET. Links a previously unlinked type variable to the given data. Only used during unpickling of F# metadata. Sets whether a type variable has a static requirement Sets the rigidity of a type variable Set whether this type parameter is a compat-flex type parameter (i.e. where "expr :> tp" only emits an optional warning) Sets the identifier associated with a type variable Set the IL name of the type parameter Sets whether the equality constraint of a type definition depends on this type variable Sets whether a type variable is required at runtime Adjusts the constraints associated with a type variable Sets whether a type variable is compiler generated Sets whether the comparison constraint of a type definition depends on this type variable Set the attributes on the type parameter Creates a type variable that contains empty data, and is not yet linked. Only used during unpickling of F# metadata. Creates a type variable based on the given data. Only used during unpickling of F# metadata. Links a previously unlinked type variable to the given data. Only used during unpickling of F# metadata. A declared generic type/measure parameter, or a type/measure inference variable. The declared attributes of the type parameter. Empty for type inference variables. The inferred constraints for the type parameter or inference variable. The documentation for the type parameter. Empty for inference variables. MUTABILITY: for linking when unpickling MUTABILITY: we set the names of generalized inference type parameters to make the look nice for IL code generation The storage for the IL name for the type parameter. Represents less-frequently-required data about a type parameter of type inference variable Indicates the construct can only be accessed from any code in the given type constructor, module or assembly. [] indicates global scope. Represents the constraint on access for a construct Represents a type or exception definition in the typed AST Represents a module or namespace definition in the typed AST Mutation used during compilation of FSharp.Core.dll Get a table of types defined within this module, namespace or type. The table is indexed by both name and, for generic types, also by mangled name. Get a list of types defined within this module, namespace or type. Get a list of type and exception definitions defined within this module, namespace or type. Get a table of nested module and namespace fragments indexed by demangled name (so 'ListModule' becomes 'List') Namespace or module-compiled-as-type? Get a list of module and namespace definitions defined within this module, namespace or type. Get a table of F# exception definitions indexed by demangled name, so 'FailureException' is indexed by 'Failure' Get a list of F# exception definitions defined within this module, namespace or type. Get a table of values indexed by logical name Get a table of values and members indexed by partial linkage key, which includes name, the mangled name of the parent type (if any), and the method argument count (if any). Compute a table of values and members indexed by logical name. Values, including members in F# types in this module-or-namespace-fragment. Get a table of entities indexed by both logical name Get a table of entities indexed by both logical and compiled names Type, mapping mangled name to Tycon, e.g. Get a table of the active patterns defined in this module. Get a table of types defined within this module, namespace or type. The table is indexed by both name and generic arity. This means that for generic types "List`1", the entry (List, 1) will be present. Try to find the member with the given linkage key in the given module. Return a new module or namespace type with a value added. Mutation used in hosting scenarios to hold the hosted types in this module or namespace Mutation used during compilation of FSharp.Core.dll Return a new module or namespace type with an entity added. Represents the contents of of a module of namespace Indicates that an exception is abstract, i.e. is in a signature file, and we do not know the representation Indicates that an exception carries the given record of values Indicates that an exception is shorthand for the given .NET exception type Indicates that an exception is an abbreviation for the given exception Represents the implementation of an F# exception definition. If this field is populated, this is the implementation range for an item in a signature, otherwise it is the signature range for an item in an implementation Name/declaration-location of the field Attributes attached to generated field Attributes attached to generated property Indicates the declared visibility of the field, not taking signatures into account The default initialization info, for static literals Indicates a compiler generated field, not visible to Intellisense or name resolution Indicates a volatile field Indicates a static field The type of the field, w.r.t. the generic parameters of the enclosing type constructor XML Documentation signature for the field Documentation for the field Is the field declared mutable in F#? Get or set the XML documentation signature for the field Get or set the XML documentation signature for the field XML Documentation signature for the field Get the signature location of the field Get the declaration location of the field Attributes attached to generated property Name of the field The default initialization info, for static literals Indicates if the field is zero-initialized Indicates a volatile field Indicates a static field Is the field declared mutable in F#? Indicates a compiler generated field, not visible to Intellisense or name resolution Name/declaration-location of the field The type of the field, w.r.t. the generic parameters of the enclosing type constructor Attributes attached to generated field Get the definition location of the field Indicates the declared visibility of the field, not taking signatures into account Represents a class, struct or record field in an F# type definition. This may represent a "field" in either a struct, class, record or union. Attributes, attached to the generated static method to make instances of the case Indicates the declared visibility of the union constructor, not taking signatures into account If this field is populated, this is the implementation range for an item in a signature, otherwise it is the signature range for an item in an implementation Name/range of the case XML documentation signature for the case Documentation for the case Return type constructed by the case. Normally exactly the type of the enclosing type, sometimes an abbreviation of it Data carried by the case. Get the signature location of the union case Get the full array of fields of the union case Get the full list of fields of the union case Get the declaration location of the union case Indicates if the union case has no fields Get the display name of the union case Get the definition location of the union case Get the name of the case in generated IL code. Get a field of the union case by name Get a field of the union case by position Represents a union case in an F# type definition The ILX data structure representing the discriminated union. The cases contained in the discriminated union. Get the union cases as a list Represents the union cases and related information in an F# type definition The cases of the discriminated union, indexed by name. The cases of the discriminated union, in declaration order. Get the union cases as a list Get a union case by index Represents union cases in an F# type definition The fields of the record, indexed by name. The fields of the record, in declaration order. Get all non-compiler-generated instance fields as a list Get all non-compiler-generated fields as a list Get all the fields as a list Get a field by name Get a field by index Represents record fields in an F# type definition The fields of the class, struct or enum The declared abstract slots of the class, interface or struct Indicates whether the type declaration is a class, interface, enum, delegate or struct Represents member values and class fields relating to the F# object model Indicates the type is an enumeration Indicates the type is a delegate with the given Invoke signature Indicates the type is a struct Indicates the type is an interface Indicates the type is a class (also used for units-of-measure) Indicates if the type definition is a value type Indicates the type is generated, but type-relocation is suppressed Indicates the type is erased A flag read from the provided type and used to compute basic properties of the type definition. Reading is delayed, since it looks at the .BaseType A type read from the provided type and used to compute basic properties of the type definition. Reading is delayed, since it does an import on the underlying type A flag read eagerly from the provided type and used to compute basic properties of the type definition. A flag read eagerly from the provided type and used to compute basic properties of the type definition. A flag read eagerly from the provided type and used to compute basic properties of the type definition. A flag read eagerly from the provided type and used to compute basic properties of the type definition. A flag read eagerly from the provided type and used to compute basic properties of the type definition. A flag read eagerly from the provided type and used to compute basic properties of the type definition. The base type of the type. We use it to compute the compiled representation of the type for erased types. Reading is delayed, since it does an import on the underlying type The underlying System.Type (wrapped as a ProvidedType to make sure we don't call random things on System.Type, and wrapped as Tainted to make sure we track which provider this came from, for reporting error messages) The parameters given to the provider that provided to this type. Indicates if the provided type is generated, i.e. not erased Gets the base type of an erased provided type The information kept about a provided type The 'NoRepr' value here has four meanings: (1) it indicates 'not yet known' during the first 2 phases of establishing type definitions (2) it indicates 'no representation', i.e. 'type X' in signatures (3) it is the setting used for exception definitions (!) (4) it is the setting used for modules and namespaces. It would be better to separate the "not yet known" and other cases out. The information for exception definitions should be folded into here. Indicates the representation information for a provided namespace. TProvidedTypeExtensionPoint Indicates the representation information for a provided type. Indicates the type is parameterized on a measure (e.g. float<_>) but erases to some other type (e.g. float) Indicates the type is implemented as IL assembly code using the given closed Abstract IL type Indicates the type is a type from a .NET assembly without F# metadata. Indicates the type is a discriminated union Indicates the type is a record Indicates the type is a class, struct, enum, delegate or interface The information for the contents of a type. Also used for a provided namespace. Set to true if the type is determined to be abstract Set to true at the end of the scope where proper augmentations are allowed Super type, if any Interface implementations - boolean indicates compiler-generated Properties, methods etc. as lookup table Properties, methods etc. in declaration order. The boolean flag for each indicates if the member is known to be an explicit interface implementation. This must be computed and saved prior to remapping assembly information. True if the type defined an Object.GetHashCode method. In this case we give a warning if we auto-generate a hash method since the semantics may not match up This is the value implementing the auto-generated comparison semantics if any. It is not present if the type defines its own implementation of IStructuralEquatable or if the type doesn't implement IComparable implicitly. This is the value implementing the auto-generated equality semantics if any. It is not present if the type defines its own implementation of Object.Equals or if the type doesn't override Object.Equals implicitly. This is the value implementing the auto-generated comparison semantics if any. It is not present if the type defines its own implementation of IStructuralComparable or if the type doesn't implement IComparable implicitly. This is the value implementing the auto-generated comparison semantics if any. It is not present if the type defines its own implementation of IComparable or if the type doesn't implement IComparable implicitly. An AbstractIL type representation that may include type variables An AbstractIL type representation that is just the name of a type. CompiledTypeRepr.ILAsmNamed (ilTypeRef, ilBoxity, ilTypeOpt) The ilTypeOpt is present for non-generic types. It is an ILType corresponding to the first two elements of the case. This prevents reallocation of the ILType each time we need to generate it. For generic types, it is None. Specifies the compiled representations of type and exception definitions. Basically just an ILTypeRef. Computed and cached by later phases. Stored in type and exception definitions. Not pickled. Store an optional ILType object for non-generic types. Represents the parent entity of a type definition, if any Used during codegen to hold the ILX representation indicating how to access the type The stable path to the type, e.g. Microsoft.FSharp.Core.FSharpFunc`2 The stable path to the type, e.g. Microsoft.FSharp.Core.FSharpFunc`2 This field is used when the 'tycon' is really a module definition. It holds statically nested type definitions and nested modules The methods and properties of the type The declared representation of the type, i.e. record, union, class etc. The declared attributes for the type The declaration location for the type constructor The name of the type, possibly with `n mangling The unique stamp of the "tycon blob". Note the same tycon in signature and implementation get different stamps The declared type parameters of the type The XML documentation sig-string of the entity, if any, to use to lookup an .xml doc file. This also acts as a cache for this sig-string computation. The XML documentation sig-string of the entity, if any, to use to lookup an .xml doc file. This also acts as a cache for this sig-string computation. The XML documentation of the entity, if any. If the entity is backed by provided metadata then this _does_ include this documentation. If the entity is backed by Abstract IL metadata or comes from another F# assembly then it does not (because the documentation will get read from an XML file). Get the union cases and other union-type information for a type, if any Get the union cases for a type, if any, as a list Get the union cases for a type, if any The information about the r.h.s. of a type definition, if any. For example, the r.h.s. of a union or record type. Get the value representing the accessibility of the r.h.s. of an F# type definition. The kind of the type definition - is it a measure definition or a type definition? The logical contents of the entity when it is a type definition. Get the type abbreviated by this type definition, if it is an F# type abbreviation definition Get the type parameters for an entity that is a type declaration, otherwise return the empty list. These two bits represents the on-demand analysis about whether the entity has the IsReadOnly attribute The on-demand analysis about whether the entity has the IsByRefLike attribute These two bits represents the on-demand analysis about whether the entity is assumed to be a readonly struct Get a list of all instance fields for F#-defined record, struct and class fields in this type definition, excluding compiler-generate fields. Get a list of all fields for F#-defined record, struct and class fields in this type definition, including static fields, but excluding compiler-generate fields. A unique stamp for this module, namespace or type definition within the context of this compilation. Note that because of signatures, there are situations where in a single compilation the "same" module, namespace or type may have two distinct Entity objects that have distinct stamps. The code location where the module, namespace or type is defined. Get a blob of data indicating how this type is nested in other namespaces, modules or types. Indicates if we have pre-determined that a type definition has a default constructor. The logical contents of the entity when it is a module or namespace fragment. Gets the immediate members of an F# type definition, excluding compiler-generated ones. Note: result is alphabetically sorted, then for each name the results are in declaration order Gets all immediate members of an F# type definition keyed by name, including compiler-generated ones. Note: result is a indexed table, and for each name the results are in reverse declaration order The name of the namespace, module or type, possibly with mangling, e.g. List`1, List or FailureException Indicate if this is a type whose r.h.s. is known to be a union type definition. Indicates if this entity is an F# type abbreviation definition Indicates if this is an F# type definition whose r.h.s. is known to be a record type definition that is a value type. Indicates if this is a struct or enum type definition, i.e. a value type definition Indicates if this is an F# type definition whose r.h.s. is known to be a record type definition. Indicates if the entity is a provided namespace fragment Indicates if the entity is a generated provided type definition, i.e. not erased. Indicates if the entity is an erased provided type definition Indicates if the entity is a provided type or namespace definition Indicates the type prefers the "tycon<a, b>" syntax for display etc. Indicates if the entity is a namespace Indicates the Entity is actually a module or namespace, not a type definition Indicates if the entity is an F# module definition Indicates if this is an F# type definition which is one of the special types in FSharp.Core.dll like 'float<_>' which defines a measure type with a relation to an existing non-measure type as a representation. Indicates if the entity is linked to backing data. Only used during unpickling of F# metadata. Indicate if this is a type definition backed by Abstract IL metadata. Indicates if this is a .NET-defined struct or enum type definition, i.e. a value type definition Indicates if this is a .NET-defined enum type definition Indicates if this is an F# type definition whose r.h.s. definition is unknown (i.e. a traditional ML 'abstract' type in a signature, which in F# is called a 'unknown representation' type). Indicates if this is an F#-defined struct or enum type definition, i.e. a value type definition Indicates if this is an F# type definition whose r.h.s. is known to be some kind of F# object model definition Indicates if this is an F#-defined interface type definition Indicates if this is an F#-defined enum type definition Indicates if this is an F#-defined delegate type definition Indicates if this is an F#-defined class type definition Indicates if the entity represents an F# exception declaration. Indicates if the entity is erased, either a measure definition, or an erased provided type definition Indicates if this is an enum type definition Indicates if this is an F# type definition which is one of the special types in FSharp.Core.dll which uses an assembly-code representation for the type, e.g. the primitive array type constructor. Gets the immediate interface definitions of an F# type definition. Further interfaces may be supported through class and interface inheritance. Gets the immediate interface types of an F# type definition. Further interfaces may be supported through class and interface inheritance. The identifier at the point of declaration of the type definition. Get the Abstract IL metadata for this type definition, assuming it is backed by Abstract IL metadata. Get the Abstract IL scope, nesting and metadata for this type definition, assuming it is backed by Abstract IL metadata. Indicates if we have pre-determined that a type definition has a self-referential constructor using 'as x' Gets any implicit hash/equals (with comparer argument) methods added to an F# record, union or struct type definition. Gets any implicit hash/equals methods added to an F# record, union or struct type definition. Gets any implicit CompareTo (with comparer argument) methods added to an F# record, union or struct type definition. Gets any implicit CompareTo methods added to an F# record, union or struct type definition. Get the blob of information associated with an F# object-model type definition, i.e. class, interface, struct etc. The information about the r.h.s. of an F# exception definition, if any. The display name of the namespace, module or type with <_, _, _> added for generic types, plus static parameters if any The display name of the namespace, module or type with <'T, 'U, 'V> added for generic types, plus static parameters if any The display name of the namespace, module or type, e.g. List instead of List`1, including static parameters if any The display name of the namespace, module or type, e.g. List instead of List`1, and no static parameters Demangle the module name, if FSharpModuleWithSuffix is used The range in the implementation, adjusted for an item in a signature Gets the data indicating the compiled representation of a named type or module in terms of Abstract IL data structures. Gets the data indicating the compiled representation of a type or module in terms of Abstract IL data structures. Get the cache of the compiled ILTypeRef representation of this module or type. The compiled name of the namespace, module or type, e.g. FSharpList`1, ListModule or FailureException Get a blob of data indicating how this type is nested inside other namespaces, modules and types. Get a blob of data indicating how this type is nested inside other namespaces, modules and types. The F#-defined custom attributes of the entity, if any. If the entity is backed by Abstract IL or provided metadata then this does not include any attributes from those sources. Get a list of all instance fields for F#-defined record, struct and class fields in this type definition. including hidden fields from the compilation of implicit class constructions. Gets all implicit hash/equals/compare methods added to an F# record, union or struct type definition. Get a list of fields for all the F#-defined record, struct and class fields in this type definition, including static fields, 'val' declarations and hidden fields from the compilation of implicit class constructions. Get an array of fields for all the F#-defined record, struct and class fields in this type definition, including static fields, 'val' declarations and hidden fields from the compilation of implicit class constructions. Get a table of fields for all the F#-defined record, struct and class fields in this type definition, including static fields, 'val' declarations and hidden fields from the compilation of implicit class constructions. Get the value representing the accessibility of an F# type definition or module. Get the type parameters for an entity that is a type declaration, otherwise return the empty list. Lazy because it may read metadata, must provide a context "range" in case error occurs reading metadata. Sets the structness of a record or union type definition Set the on-demand analysis about whether the entity has the IsReadOnly attribute Set the on-demand analysis about whether the entity has the IsByRefLike attribute Set the on-demand analysis about whether the entity is assumed to be a readonly struct Set the custom attributes on an F# type definition. Create a new entity with empty, unlinked data. Only used during unpickling of F# metadata. Create a new entity with the given backing data. Only used during unpickling of F# metadata. Link an entity based on empty, unlinked data to the given data. Only used during unpickling of F# metadata. Get a union case of a type by name Get a field by name. Get a field by index in definition order Represents a type definition, exception definition, module definition or namespace definition. Field used when the 'tycon' is really an exception definition Indicates how visible is the entity is. The declared accessibility of the representation, not taking signatures into account If non-None, indicates the type is an abbreviation for another type. The XML document signature for this entity The declared documentation for the type or module If this field is populated, this is the implementation range for an item in a signature, otherwise it is the signature range for an item in an implementation The name of the type, possibly with `n mangling String 'Module' off an F# module name, if FSharpModuleWithSuffix is used The information ILXGEN needs about the location of an item A public path records where a construct lives within the global namespace of a CCU. Indicates that a 'module' is really a namespace Indicates that a module is compiled to a class with the same name as the original module Indicates that a module is compiled to a class with the "Module" suffix added. These two bits represents the on-demand analysis about whether the entity has the IsReadOnly attribute These two bits represents the on-demand analysis about whether the entity has the IsByRefLike attribute These two bits represents the on-demand analysis about whether the entity is assumed to be a readonly struct This bit is reserved for us in the pickle format, see pickle.fs, it's being listed here to stop it ever being used for anything else Get the flags as included in the F# binary metadata This bit represents a F# record that is a value type, or a struct record. Indicates the type prefers the "tycon<a, b>" syntax for display etc. Indicates the Entity is actually a module or namespace, not a type definition Adjust the on-demand analysis about whether the entity has the IsReadOnly attribute Adjust the on-demand analysis about whether the entity has the IsByRefLike attribute Adjust the on-demand analysis about whether the entity is assumed to be a readonly struct Encode entity flags into a bit field. We leave lots of space to allow for future expansion. Indicates if the type variable has a static "head type" requirement, i.e. ^a variables used in FSharp.Core and member constraints. Indicates if the type variable can be solved or given new constraints. The status of a type variable generally always evolves towards being either rigid or solved. Get the flags as included in the F# binary metadata. We pickle this as int64 to allow for future expansion Indicates whether a type variable can be instantiated by types or units-of-measure. Indicates if the type inference variable was generated after an error when type checking expressions or patterns Indicates if the type variable is compiler generated, i.e. is an implicit type inference variable Indicates that whether this type parameter is a compat-flex type parameter (i.e. where "expr :> tp" only emits an optional warning) Indicates that whether or not a generic type definition satisfies the equality constraint is dependent on whether this type variable satisfies the equality constraint. Indicates if a type parameter is needed at runtime and may not be eliminated Indicates that whether or not a generic type definition satisfies the comparison constraint is dependent on whether this type variable satisfies the comparison constraint. Encode typar flags into a bit field Indicates the type parameter derives from an '_' anonymous type For units-of-measure, we give a warning if this gets solved to '1' Indicates the type parameter is an inference variable may be solved Indicates we give a warning if the type parameter is ever solved Indicates the type parameter can't be solved, but the variable is not set to "rigid" until after inference is complete Indicates the type parameter can't be solved Indicates if the type variable can be solved or given new constraints. The status of a type variable evolves towards being either rigid or solved. Represents the kind of a type parameter Get the flags as included in the F# binary metadata Flags on values Indicates the 'this' value specified in a memberm e.g. 'x' in 'member x.M() = 1' Indicates a normal value Indicates the value called 'base' available for calling base class members Indicates a ref-cell holding 'this' or the implicit 'this' used throughout an implicit constructor to access and set values Indicates the type parameter is needed at runtime and may not be eliminated Indicates the type parameter is not needed at runtime and may be eliminated Indicates if a type parameter is needed at runtime and may not be eliminated The normal value for this flag when the value is not within its recursive scope Set while the value is within its recursive scope. The flag indicates if the value has been eagerly generalized and accepts generic-recursive calls A flag associated with values that indicates whether the recursive scope of the value is currently being processed, and if the value has been generalized or not as yet. Indicates the value must never be inlined by the optimizer Indicates the value may optionally be inlined by the optimizer Indicates the value is inlined but the .NET IL code for the function still exists, e.g. to satisfy interfaces on objects, but that it is also always inlined Indicates the value must always be inlined and no .NET IL code is generated for the value/function Returns true if the implementation of a value must always be inlined Defines the typed abstract syntax intermediate representation used throughout the F# compiler. Given (newPath, oldPath) replace oldPath by newPath in the TAccess. Primitive routine to compare two ValRef's for equality. On the whole value identity is not particularly significant in F#. However it is significant for (a) Active Patterns (b) detecting uses of "special known values" from FSharp.Core.dll, such as 'seq' and quotation splicing Note this routine doesn't take type forwarding into account Primitive routine to compare two UnionCaseRef's for equality Primitive routine to compare two EntityRef's for equality This takes into account the possibility that they may have type forwarders This predicate tests if non-local resolution paths are definitely known to resolve to different entities. All references with different named paths always resolve to different entities. Two references with the same named paths may resolve to the same entities even if they reference through different CCUs, because one reference may be forwarded to another via a .NET TypeForwarder. From Ref_private to Ref_nonlocal when exporting data. From Ref_private to Ref_nonlocal when exporting data. Make a reference to a union case for type in a module or namespace For dereferencing in the middle of a pattern Equality on CCU references, implemented as reference equality except when unresolved Equality on value specs, implemented as reference equality Equality on type variables, implemented as reference equality. This should be equivalent to using typarEq. Metadata on values (names of arguments etc. Memoization table to help minimize the number of ILSourceDocument objects we create Are we assuming all code gen is for F# interactive, with no static linking For debugging For debugging For debugging For debugging Represents an intrinsic value from FSharp.Core known to the compiler Defines the global environment for all type checking. The environment (TcGlobals) are well-known types and values are hard-wired into the compiler. This lets the compiler perform particular optimizations for these types and values, for example emitting optimized calls for comparison and hashing functions. Represents metadata extracted from a nominal type A set of function parameters (visitor) for folding over expressions The empty table representing no hiding A set of tables summarizing the items hidden by a signature The list of corresponding modules, namespaces and type definitions The list of corresponding values The empty table The remapping that corresponds to a module meeting its signature and also report the set of tycons, tycon representations and values hidden in the process. OnlyCloneExprVals is a nasty setting to reuse the cloning logic in a mode where all Tycon and "module/member" Val objects keep their identity, but the Val objects for all Expr bindings are cloned. This is used to 'fixup' the TAST created by tlr.fs This is a fragile mode of use. It's not really clear why TLR needs to create a "bad" expression tree that reuses Val objects as multiple value bindings, and its been the cause of several subtle bugs. Indicate what should happen to value definitions when copying expressions A flag to govern whether arity inference should be type-directed or syntax-directed when inferring an arity from a lambda expression. Represents a combination of substitutions/instantiations where things replace other things during remapping Represents an instantiation where value references replace other value references Represents an instantiation where type definition references replace other type definition references Represents an instantiation where types replace type parameters The empty map Make a new map, containing a entries for the given type definitions Fetch the entries for the given type definition Make a new map, containing a new entry for the given type definition Maps TyconRef to list of T based on stamp keys Get the entry for the given type definition Determine if the map is empty The empty map Try to find the entry for the given type definition Remove the entry for the given type definition, if any Make a new map, containing entries for the given type definitions Determine is the map contains an entry for the given type definition Make a new map, containing a new entry for the given type definition Maps TyconRef to T based on stamp keys Get the entry for the given type parameter The empty map Try to find the entry for the given type parameter Determine is the map contains an entry for the given type parameter Make a new map, containing a new entry for the given type parameter Maps type parameters to entries based on stamp keys Maps Val's to list of T based on stamp keys Mutable data structure mapping Val's to T based on stamp keys Maps Val to T, based on stamps TypeScheme (generalizedTypars, tauTy) generalizedTypars -- the truly generalized type parameters tauTy -- the body of the generalized type. A 'tau' type is one with its type parameters stripped off. Finish the targets Build the overall expression Add a new destination target Add a new destination target that is an expression result Create a new builder Build decision trees imperatively Add a label to use as the target for a goto Recognise a try-finally expression Recognise a try-catch expression Recognise a for-loop expression Recognise a while expression Match expressions that are an application of a particular F# function value Determines types that are potentially known to satisfy the 'comparable' constraint and returns a set of residual types that must also satisfy the constraint Build for loops Check if the type is a byref-like but not a byref. returns Some(assemblyName) for success Try to find the AttributeUsage attribute, looking for the value of the AllowMultiple named parameter Try to find a specific attribute on a type definition Try to find a specific attribute on a type definition, where the attribute accepts a bool argument. Try to find a specific attribute on a type definition, where the attribute accepts a string argument. This is used to detect the 'DefaultMemberAttribute' and 'ConditionalAttribute' attributes (on type definitions) Create the expression 'expr.Value' for an option-typed expression Create the expression 'None' for an option-type Create the expression 'Some(expr)' Create the expression 'headExpr :: tailExpr' Create the expression '[]' for a list type Create the union case 'Some(expr)' for an option type Create the union case 'None' for an option type Create the Nullable type for a given element type Create the option type for a given element type Create the list type for a given element type Create the IEnumerator type for a given element type Create the IEnumerable (seq) type for a given element type Create the FSharpRef type for a given element type Get the element type of an FSharpRef type Check if a type is an FSharpRef type Matches any byref type, yielding the target type An active pattern to transform System.Nullable types to their input, otherwise leave the input unchanged An active pattern to match System.Nullable types An active pattern to determine if a type is a nominal type, possibly instantiated For "type Class as self", 'self' is fixed up after initialization. To support this, it is converted behind the scenes to a ref. This function strips off the ref and returns the underlying type. Determine if a type is a struct, record or union type Determine if a type is an enum type Determine if a type is a class type Determine if a type is an unmanaged type Determine if a type is a struct type If the input type is an enum type, then convert to its underlying type, otherwise return the input type Determine the underlying type of an enum type (normally int32) Determine if a type is a ComInterop type Determine if a type is a sealed type Determine if a type is a FSharpRef type Determine if a type is an interface type Determine if a type is a delegate type Determine if a reference to a type definition is an interface type Get the rank of an array type Get the element type of an array type Determine if a type is the System.Void type Determine if a type is the System.Object type Determine if a type is the F# unit type Determine the rank of one of the artificial type definitions used for array types Check if a type definition is one of the artificial type definitions used for array types of different ranks Build an array type of the given rank Get the element type of an F# list type Get the element type of an array type Determine if a type is a single-dimensional array type Determine if a type is any kind of array type Determine if a type is a nominal .NET type Determine if a type is an F# list type Determine if a type is the System.String type Extract metadata from a type Extract metadata from a type definition Build an PrintFormat type Build an Lazy type Build an IObserver type Build an IObservable type Build an IEvent type Take apart an IDelegateEvent type Determine if a type is an IDelegateEvent type Try to take apart a System.Linq.Expression type Take apart a System.Linq.Expression type Determine if a type is a System.Linq.Expression type Take apart a System.Nullable type Try to take apart a System.Nullable type Determine is a type is a System.Nullable type Try to take apart an option type Take apart an option type Determine if a type is an option type Build a single-dimensional array type Build a 'voidptr' type Build a nativeptr type Fold over all the expressions in an expression Fold over all the expressions in an implementation file The empty set of actions for folding over expressions Combine two static-resolution requirements on a type parameter Make an application expression, doing beta reduction by introducing let-bindings Given a lambda expression, adjust it to have be one or two lambda expressions (fun a -> (fun b -> ...)) where the first has the given arity. Given a lambda expression taking multiple variables, build a corresponding lambda taking a tuple Work out what things on the right-han-side of a 'let rec' recursive binding need to be fixed up Make a 'match' expression without applying any peep-hole optimizations. Make a 'match' expression applying some peep-hole optimizations along the way, e.g to pre-decide the branch taken at compile-time. Accumulate the targets actually used in a decision graph (for reporting warnings) Build an expression representing the read of an instance class or record field. First take the address of the record expression if it is a struct. Build an expression to take the address of a local &localv Build an expression to dereference a local pointer *localv_ptr Build an expression to mutate the contents of a local pointer *localv_ptr = e Build an expression to mutate a local localv <- e Build the application of a generic construct to a set of type arguments. Reduce the application via substitution if the function value is a typed lambda expression. Build the application of a (possibly generic, possibly curried) function value to a set of type and expression arguments. Reduce the application via let-bindings if the function value is a lambda expression. Build the application of a (possibly generic, possibly curried) function value to a set of type and expression arguments Adjust marks in expressions, replacing all marks by the given mark. Used when inlining. Determine if a record field is hidden by a signature Determine if a member, function or value is hidden by a signature Determine if the representation of a type definition is hidden by a signature Determine if a type definition is hidden by a signature Make a remapping table for viewing a module or namespace 'from the outside' Make the substitution (remapping) table for viewing a module or namespace 'from the outside' Given the top-most signatures constrains the public compilation units of an assembly, compute a remapping that converts local references to non-local references. This remapping must be applied to all pickled expressions and types exported from the assembly. Given a value definition, try to produce a reference to that value. Fails for local values. Given a namespace, module or type definition, try to produce a reference to that entity. Given an implementation, fetch its recorded signature Wrap one module or namespace definition in a 'module M = ..' outer wrapper Wrap one module or namespace definition in a 'namespace N' outer wrapper Wrap one module or namespace implementation in a 'namespace N' outer wrapper Compute the hiding information that corresponds to the hiding applied at an assembly boundary Compute the remapping information implied by an explicit signature being given for an inferred signature Compute the remapping information implied by a signature being inferred for a particular implementation Instantiate the generic type parameters in an expression, building a new one Instantiate the generic type parameters in a method slot signature, building a new one Copy a method slot signature, including new generic type parameters if the slot signature represents a generic method Copy an entire implementation file using the given copying flags Copy an entire expression using the given copying flags Copy an entire module or namespace type using the given copying flags Remap a (possible generic) type using the given remapping substitution Remap an attribute using the given remapping substitution Remap an expression using the given remapping substitution Remap a reference to a value using the given remapping substitution Remap a reference to a record field using the given remapping substitution Remap a reference to a union case using the given remapping substitution Remap a reference to a type definition using the given remapping substitution Mutate a value to indicate it should be considered a local rather than a module-bound definition Given a lambda binding, extract the ValReprInfo for its arguments and other details Given a lambda expression, extract the ValReprInfo for its arguments and other details Given a (curried) lambda expression, pull off its arguments Compute the type of an expression from the expression itself Check if a set of free variables are all public Check if a set of free type variables are all public Get the free variables in the right hand side of a binding. Get the free variables in an expression. Get the free variables in a module definition. A unique qualified name for each type definition, used to qualify the names of interface implementation methods Return the full text for an item as we want it displayed to the user as a fully qualified entity Returns (parentTypars,memberParentTypars,memberMethodTypars,memberToParentInst,tinst) Returns (parentTypars,memberParentTypars,memberMethodTypars,memberToParentInst,tinst) Returns (parentTypars,memberParentTypars,memberMethodTypars,memberToParentInst,tinst) Try to get a TyconRef for a type without erasing type abbreviations See through F# exception abbreviations set bool to 'true' to allow shortcutting of type parameter equation chains during stripping From typars to types Equality for value references Equality for type definition references An ordering for type parameters, based on stamp An ordering for record fields, based on stamp An ordering for type definitions, based on stamp An ordering for value definitions, based on stamp Take the address of an expression, or force it into a mutable local. Any allocated mutable local may need to be kept alive over a larger expression, hence we return a wrapping function that wraps "let mutable loc = Expr in ..." around a larger expression. Helper to take the address of an expression Helper to create an expression that dereferences an address. If it is a tuple type, ensure it's outermost type is a .NET tuple type, otherwise leave unchanged Evaluate the AnonRecdTypeInfo to work out if it is a struct or a ref. Evaluate the TupInfo to work out if it is a struct or a ref. Currently this is very simple but TupInfo may later be used carry variables that infer structness. Make a TAST expression representing getting an item fromm a tuple Convert from F# tuple creation expression to .NET tuple creation expressions Convert from F# tuple types to .NET tuple types. Get a TyconRef for a .NET tuple type Check if a TyconRef is for a .NET tuple type. Currently this includes Tuple`1 even though that' not really part of the target set of TyconRef used to represent F# tuples. The number of fields in the largest tuple before we start encoding, i.e. 7 The largest tuple before we start encoding, i.e. 7 Make an expression that gets the address of an element in an array Make an expression that sets an instance field in an F# exception value Make an expression that gets an instance field from an F# exception value Like mkUnionCaseFieldGetUnprovenViaExprAddr, but for struct-unions, the input should be a copy of the expression. Build a 'TOp.UnionCaseFieldSet' expression. For ref-unions, the input expression has 'TType_ucase', which is an F# compiler internal "type" corresponding to the union case. For struct-unions, the input should be the address of the expression. Build a 'TOp.UnionCaseFieldGetAddr' expression for a field of a union when we've already determined the value to be a particular union case. For ref-unions, the input expression has 'TType_ucase', which is an F# compiler internal "type" corresponding to the union case. For struct-unions, the input should be the address of the expression. Build a 'TOp.UnionCaseFieldGetAddr' expression for a field of a union when we've already determined the value to be a particular union case. For ref-unions, the input expression has 'TType_ucase', which is an F# compiler internal "type" corresponding to the union case. For struct-unions, the input should be the address of the expression. Build a 'TOp.UnionCaseFieldGet' expression for something we've already determined to be a particular union case. For ref-unions, the input expression has 'TType_ucase', which is an F# compiler internal "type" corresponding to the union case. For struct-unions, the input should be the address of the expression. Make a 'TOp.UnionCaseProof' expression, which proves a union value is over a particular case (used only for ref-unions, not struct-unions) Make an expression that gets the tag of a union value (via the address of the value if it is a struct) Make an expression that sets an instance the field of a record or class (via the address of the value if it is a struct) Make an expression that gets the address of a static field in a record or class Make an expression that sets a static field in a record or class Make an expression that gets a static field from a record or class Make an expression that gets the address of an instance field from a record or class (via the address of the value if it is a struct) Make an expression that gets an instance field from a record or class (via the address of the value if it is a struct) Make an expression that gets an item from an anonymous record (via the address of the value if it is a struct) Make an expression that gets an item from an anonymous record Make an expression that gets an item from a tuple Make an expression that re-raises an exception via a library call Make an expression that re-raises an exception Make an expression that coerces one expression to another type Make an expression that is IL assembly code Make an expression that constructs an exception value Make an expression that constructs a union case, e.g. 'Some(expr)' Make an out-byref type with an out kind parameter Make a in-byref type with a in kind parameter Make a byref type with a in/out kind inference parameter Make a byref type Make the expression corresponding to 'expr1 || expr2' Make the expression corresponding to 'expr1 && expr2' Test if the type parameter is one of those being generalized by a type scheme. Make the right-hand side of a generalized binding, incorporating the generalized generic parameters from the type scheme into the right-hand side as type generalizations. Make a let-rec expression that locally binds values to expressions where self-reference back to the values is possible. Make a set of bindings that bind values to expressions in an "invisible" way. Invisible bindings are not given a sequence point and should not have side effects. Make a binding that binds a value to an expression in an "invisible" way. Invisible bindings are not given a sequence point and should not have side effects. Make a let-expression that locally binds a value to an expression in an "invisible" way. Invisible bindings are not given a sequence point and should not have side effects. Make a let-expression that locally binds a compiler-generated value to an expression, where the expression is returned by the given continuation. Compiler-generated bindings do not give rise to a sequence point in debugging. Make a let-expression that locally binds a compiler-generated value to an expression. Compiler-generated bindings do not give rise to a sequence point in debugging. Make a set of bindings that bind compiler generated values to corresponding expressions. Compiler-generated bindings do not give rise to a sequence point in debugging. Make a binding that binds a function value to a lambda taking multiple arguments Build a user-level let expression Build a user-level value sequence of let bindings Build a user-level value sequence of let bindings Build a user-level let-binding Build a user-level value binding Build a 'try/finally' expression Build a 'try/with' expression Build a 'for' loop expression Build a 'while' loop expression Build a lambda expression that corresponds to the implementation of a member Build an iterated generic (type abstraction + tupled+curried) lambda expression Build an iterated (tupled+curried) lambda expression Build an iterated (curried) lambda expression Build an type-chose expression, indicating that a local free choice of a type variable Build an object expression Build a generic lambda expression (type abstraction) Build a lambda expression taking a single value Rebuild a lambda during an expression tree traversal Build a lambda expression taking multiple values Make a new mutable compiler-generated local value, 'let' bind it to an expression 'invisibly' (no sequence point etc.), and build an expression to reference it Make a new mutable compiler-generated local value and build an expression to reference it Make a new compiler-generated local value and build an expression to reference it Make a new local value and build an expression to reference it Build an expression corresponding to the use of a reference to a value Build an expression corresponding to the use of a value Note: try to use exprForValRef or the expression returned from mkLocal instead of this. Build an if-then statement Build a conditional expression that checks for non-nullness Build a conditional expression Build a conditional expression Add an if-then-else boolean conditional node into a decision tree Look for a use of an F# value, possibly including application of a generic thing to a set of type arguments Get the values for a set of bindings Ignore 'Expr.Link' in an expression Module publication, used while compiling fslib. Get the curried type corresponding to a lambda Get the curried type corresponding to a lambda Get the natural type of a single argument amongst a set of curried arguments Build a curried function type Build a type-forall anonymous generic type if necessary Build a function type Build a function type Reduce a type to its more canonical form subject to an erasure flag, inference equations and abbreviations Check the equivalence of two units-of-measure Check the equivalence of two types Check the equivalence of two types up to an erasure flag An exception representing a warning for a defensive copy of an immutable struct Debug layout for class and record fields Debug layout for a list of implementation files Debug layout for an implementation file Debug layout for a decision tree Debug layout for a type definition Debug layout for an expression Debug layout for a binding of an expression to a value Debug layout for the type of a value Debug layout for a module or namespace definition Debug layout for the type signature of a module or namespace definition Debug layout for a method slot signature Debug layout for a type Debug layout for a set of type parameters Debug layout for a type parameter Debug layout for a trait constraint Debug layout for a type parameter definition Debug layout for a value definition Debug layout for an integer Debug layout for an value definition at its binding site Debug layout for a reference to a union case Debug layout for a reference to a value Convert an expression to a string for debugging purposes Convert a type to a string for debugging purposes A global flag indicating whether debug output should include ranges Layout for internal compiler debugging purposes Utilities used in simplifying types for visual presentation same as PrettifyTypes, but allows passing the types along with a discriminant value useful to prettify many types that need to be sorted out after prettifying operation took place. Defines derived expression manipulation and construction functions. A function to read a value from a given state The type of state unpicklers read from A function to pickle a value into a given stateful writer The type of state written to by picklers The assumptions that need to be fixed up The data that uses a collection of CcuThunks internally Like Fixup but loader may return None, in which case there is no fixup. Represents deserialized data with a dangling set of CCU fixup thunks indexed by name Deserialize an arbitrary object which may have holes referring to other compilation units Deserialize a TAST description of a compilation unit Deserialize a TAST type Deserialize a TAST expression Deserialize a TAST union case reference Deserialize a TAST type reference Deserialize a TAST value reference Deserialize a TAST constant Deserialize a namemap Deserialize an array of values Deserialize a tuple Deserialize a tuple Deserialize a tuple Deserialize a lazy value (eagerly) Deserialize a string Deserialize an integer Deserialize a bool Deserialize a byte Serialize an arbitrary object using the given pickler Serialize a TAST description of a compilation unit Serialize a TAST type Serialize a TAST expression Serialize a TAST union case reference Serialize a TAST type or entity reference Serialize a TAST value reference Serialize a TAST constant Serialize a namemap of data Serialize an array of data Serialize a tuple of data Serialize a tuple of data Serialize a tuple of data Serialize a lazy value (eagerly) Serialize a string Serialize an integer Serialize a boolean value Serialize a byte Defines the framework for serializing and de-serializing TAST data structures as binary blobs for the F# metadata format. The TcGlobals for the import context The AssemblyLoader for the import context Represents a context used for converting AbstractIL .NET and provided types to F# internal compiler data structures. Also cache the conversion of AbstractIL ILTypeRef nodes, based on hashes of these. There is normally only one ImportMap for any assembly compilation, though additional instances can be created using tcImports.GetImportMap() if needed, and it is not harmful if multiple instances are used. The object serves as an interface through to the tables stored in the primary TcImports structures defined in CompileOps.fs. Record a root for a [<Generate>] type to help guide static linking & type relocation Get a flag indicating if an assembly is a provided assembly, plus the table of information recording remappings from type names in the provided assembly to type names in the statically linked, embedded assembly. Resolve an Abstract IL assembly reference to a Ccu Represents an interface to some of the functionality of TcImports, for loading assemblies and accessing information about generated provided assemblies. Import the type forwarder table for an IL assembly Import an IL assembly as a new TAST CCU Import a set of Abstract IL generic parameter specifications as a list of new F# generic parameters. Import a provided method reference as an Abstract IL method reference Import a provided type as an AbstractIL type Import a provided type reference as an F# type TyconRef Import a provided type as an F# type. Pre-check for ability to import an IL type as an F# type. Import an IL type as an F# type. Pre-check for ability to import a reference to a type definition, given an AbstractIL ILTypeRef, with caching Import a reference to a type definition, given an AbstractIL ILTypeRef, with caching Functions to import .NET binary metadata as TAST objects Represents the information about the compiled form of a method signature. Used when analyzing implementation relations between members and abstract slots. An F# use of an event backed by provided metadata An F# use of an event backed by .NET metadata An F# use of an event backed by F#-declared metadata Get the intra-assembly XML documentation for the property. Get the TcGlobals associated with the object Get the 'remove' method associated with an event Indicates if the enclosing type for the event is a value type. For an extension event, this indicates if the event extends a struct type. Indicates if this property is static. Indicates if this is an extension member Indicates if this event has an associated XML comment authored in this assembly. Get the logical name of the event. Get the declaring type or module holding the method. Note that C#-style extension properties don't exist in the C# design as yet. If this is an F#-style extension method it is the logical module holding the value for the extension method. Try to get an arbitrary F# ValRef associated with the member. This is to determine if the member is virtual, amongst other things. Get the enclosing type of the event. If this is an extension member, then this is the apparent parent, i.e. the type the event appears to extend. Get the enclosing type of the method info, using a nominal type for tuple types Get the 'add' method associated with an event Get the delegate type associated with the event. Test whether two event infos have the same underlying definition. Must be compatible with ItemsAreEffectivelyEqual relation. Calculates a hash code of event info (similar as previous) Must be compatible with ItemsAreEffectivelyEqual relation. Describes an F# use of an event Get the declaring type of the event as an ILTypeRef Get the ILMethInfo describing the 'remove' method associated with the event Get the raw Abstract IL metadata for the event Get the name of the event Indicates if the property is static Get the declaring IL type of the event as an ILTypeInfo Get the enclosing ("parent"/"declaring") type of the field. Get the ILMethInfo describing the 'add' method associated with the event Describes an F# use of an event backed by Abstract IL metadata An F# use of a property backed by provided metadata An F# use of a property backed by Abstract IL metadata An F# use of a property backed by F#-declared metadata Get the intra-assembly XML documentation for the property. Get the TcGlobals associated with the object Get a MethInfo for the 'setter' method associated with the property Get the logical name of the property. True if the getter (or, if absent, the setter) is a virtual method Indicates if the enclosing type for the property is a value type. For an extension property, this indicates if the property extends a struct type. Indicates if this property is static. Indicates if the property is logically a 'newslot', i.e. hides any previous slots of the same name. Indicates if this property is an indexer property, i.e. a property with arguments. Indicates if this is an F# property compiled as a CLI event, e.g. a [<CLIEvent>] property. Indicates if this is an extension member Indicates if the getter (or, if absent, the setter) for the property is a dispatch slot. Indicates if this property is marked 'override' and thus definitely overrides another property. Indicates if this property has an associated setter method. Indicates if this property has an associated getter method. Indicates if this property has an associated XML comment authored in this assembly. Get a MethInfo for the 'getter' method associated with the property Return a new property info where there is no associated setter, only an associated getter. Property infos can combine getters and setters, assuming they are consistent w.r.t. 'virtual', indexer argument types etc. When checking consistency we split these apart Return a new property info where there is no associated getter, only an associated setter. Get the declaring type or module holding the method. Note that C#-style extension properties don't exist in the C# design as yet. If this is an F#-style extension method it is the logical module holding the value for the extension method. Try to get an arbitrary F# ValRef associated with the member. This is to determine if the member is virtual, amongst other things. Get the enclosing type of the property. If this is an extension member, then this is the apparent parent, i.e. the type the property appears to extend. Get the enclosing type of the method info, using a nominal type for tuple types Test whether two property infos have the same underlying definition. Uses the same techniques as 'MethInfosUseIdenticalDefinitions'. Must be compatible with ItemsAreEffectivelyEqual relation. Get the result type of the property Get the types of the indexer parameters associated with the property Get the names and types of the indexer parameters associated with the property If the property is in a generic type, then the type parameters are instantiated in the types returned. Get the details of the indexer parameters associated with the property Calculates a hash code of property info. Must be compatible with ItemsAreEffectivelyEqual relation. Describes an F# use of a property Get the TcGlobals governing this value Gets the ILMethInfo of the 'set' method for the IL property Get the raw Abstract IL metadata for the IL property Get the name of the IL property Indicates if the IL property is virtual Indicates if the IL property is static Indicates if the IL property is logically a 'newslot', i.e. hides any previous slots of the same name. Get the declaring IL type of the IL property, including any generic instantiation Indicates if the IL property has a 'set' method Indicates if the IL property has a 'get' method Gets the ILMethInfo of the 'get' method for the IL property Get the apparent declaring type of the method as an F# type. If this is a C#-style extension method then this is the type which the method appears to extend. This may be a variable type. Like ApparentEnclosingType but use the compiled nominal type if this is a method on a tuple type Get the return type of the IL property. Any type parameters of the enclosing type are instantiated in the type returned. Get the types of the indexer arguments associated with the IL property. Any type parameters of the enclosing type are instantiated in the type returned. Get the names and types of the indexer arguments associated with the IL property. Any type parameters of the enclosing type are instantiated in the type returned. Describes an F# use of a property backed by Abstract IL metadata Get a reference to the F# metadata for the uninstantiated union case Get the F# metadata for the uninstantiated union case Get the list of types for the instantiation of the type parameters of the declaring type of the union case Get a reference to the F# metadata for the declaring union type Get the F# metadata for the declaring union type Get the name of the union case Get the instantiation of the type parameters of the declaring type of the union case Describes an F# use of a union case Get the generic instantiation of the declaring type of the field Get a reference to the F# metadata for the F#-declared record, class or struct type Get the F# metadata for the F#-declared record, class or struct type Get a reference to the F# metadata for the uninstantiated field Get the F# metadata for the uninstantiated field Get the name of the field in an F#-declared record, class or struct type Indicate if the field is a literal field in an F#-declared record, class or struct type Indicate if the field is a static field in an F#-declared record, class or struct type Get the (instantiated) type of the field in an F#-declared record, class or struct type Get the enclosing (declaring) type of the field in an F#-declared record, class or struct type Describes an F# use of a field in an F#-declared record, class or struct type Represents a single use of a field backed by provided metadata Represents a single use of a field backed by Abstract IL metadata Get the type instantiation of the declaring type of the field Get the scope used to interpret IL metadata Indicates if the field is a literal field with an associated literal value Indicates if the field is a member of a struct or enum type Indicates if the field is static Indicates if the field has the 'specialname' property in the .NET IL Indicates if the field is readonly (in the .NET/C# sense of readonly) Get a reference to the declaring type of the field as an ILTypeRef Get the type of the field as an IL type Get an (uninstantiated) reference to the field as an Abstract IL ILFieldRef Get the name of the field Get the enclosing ("parent"/"declaring") type of the field. Tests whether two infos have the same underlying definition. Must be compatible with ItemsAreEffectivelyEqual relation. Get the type of the field as an F# type Calculates a hash code of field info. Must be compatible with ItemsAreEffectivelyEqual relation. Represents a single use of a IL or provided field from one point in an F# program Describes a use of a method backed by provided metadata Describes a use of a pseudo-method corresponding to the default constructor for a .NET struct type ILMeth(tcGlobals, ilMethInfo, extensionMethodPriority). Describes a use of a method backed by Abstract IL # metadata FSMeth(tcGlobals, enclosingType, valRef, extensionMethodPriority). Describes a use of a method declared in F# code and backed by F# metadata. Get the XML documentation associated with the method Get the TcGlobals value that governs the method declaration Get the information about provided static parameters, if any Get a list of argument-number counts, one count for each set of curried arguments. For an extension member, drop the 'this' argument. Get the method name in LogicalName form, i.e. the name as it would be stored in .NET metadata Indicates if the enclosing type for the method is a value type. For an extension method, this indicates if the method extends a struct type. Indicates if this method is read-only; usually by the [<IsReadOnly>] attribute. Must be an instance method. Receiver must be a struct type. Indicates if this method takes no arguments Does the method appear to the user as an instance method? Indicates if this is an IL method. Indicates if this is an F# extension member. Check if this method is an explicit implementation of an interface member Indicates if this method is a generated method associated with an F# CLIEvent property compiled as a .NET event Indicates if this is an extension member. Check if this method is marked 'override' and thus definitely overrides another method. Indicates if this is an C#-style extension member. Indicates if this is a method defined in this assembly with an internal XML comment Get the number of generic method parameters for a method. For an extension method this includes all type parameters, even if it is extending a generic type. Get the formal generic method parameters for the method as a list of type variables. For an extension method this includes all type parameters, even if it is extending a generic type. Get the formal generic method parameters for the method as a list of variable types. Get the extension method priority of the method, if it has one. Get the extension method priority of the method. If it is not an extension method then use the highest possible value since non-extension methods always take priority over extension members. Get the method name in DisplayName form Get the actual type instantiation of the declaring type associated with this use of the method. For extension members this is empty (the instantiation of the declaring type). Get the declaring type or module holding the method. If this is an C#-style extension method then this is the type holding the static member that is the extension method. If this is an F#-style extension method it is the logical module holding the value for the extension method. Get the method name in DebuggerDisplayForm Try to get an arbitrary F# ValRef associated with the member. This is to determine if the member is virtual, amongst other things. Get the enclosing type of the method info. If this is an extension member, then this is the apparent parent, i.e. the type the method appears to extend. This may be a variable type. Get the enclosing type of the method info, using a nominal type for tuple types Tries to get the object arg type if it's a byref type. Indicates if this is an extension member (e.g. on a struct) that takes a byref arg Tests whether two method infos have the same underlying definition. Used to merge operator overloads collected from left and right of an operator constraint. Must be compatible with ItemsAreEffectivelyEqual relation. Indicates if this method is an extension member that is read-only. An extension member is considered read-only if the first argument is a read-only byref (inref) type. Apply a type instantiation to a method info, i.e. apply the instantiation to the enclosing type. Get the ParamData objects for the parameters of a MethInfo Get the signature of an abstract method slot. Get the parameter types of a method info Get the ParamData objects for the parameters of a MethInfo Get the parameter attributes of a method info, which get combined with the parameter names and types Get the (zero or one) 'self'/'this'/'object' arguments associated with a method. An instance method returns one object argument. Select all the type parameters of the declaring type of a method. For extension methods, no type parameters are returned, because all the type parameters are part of the apparent type, rather the declaring type, even for extension methods extending generic types. Get the return type of a method info, where 'void' is returned as 'unit' Get the return type of a method info, where 'void' is returned as 'None' Build IL method infos. Build IL method infos for a C#-style extension method Calculates a hash code of method info. Must be compatible with ItemsAreEffectivelyEqual relation. Add the actual type instantiation of the apparent type of an F# extension method. Describes an F# use of a method ILMethInfo(g, ilApparentType, ilDeclaringTyconRefOpt, ilMethodDef, ilGenericMethodTyArgs) Describes an F# use of an IL method. If ilDeclaringTyconRefOpt is 'Some' then this is an F# use of an C#-style extension method. If ilDeclaringTyconRefOpt is 'None' then ilApparentType is an IL type definition. Get the Abstract IL metadata associated with the method. Get the Abstract IL metadata corresponding to the parameters of the method. If this is an C#-style extension method then drop the object argument. Get the number of parameters of the method Get the Abstract IL scope information associated with interpreting the Abstract IL metadata that backs this method. Indicates if the IL method is marked virtual. Does it appear to the user as a static method? Indicates if the method has protected accessibility, Does it have the .NET IL 'newslot' flag set, and is also a virtual? Does it appear to the user as an instance method? Indicates if the method is an extension method Indicates if the IL method is marked final. Indicates if the method is a constructor Indicates if the method is a class initializer. Indicates if the IL method is marked abstract. Get the IL name of the method Get a reference to the method (dropping all generic instantiations), as an Abstract IL ILMethodRef. Get the declaring type associated with an extension member, if any. Get the formal method type parameters associated with a method. Get the instantiation of the declaring type of the method. If this is an C#-style extension method then this is empty because extension members are never in generic classes. Get the declaring type of the method. If this is an C#-style extension method then this is the IL type holding the static member that is the extension method. Get the apparent declaring type of the method as an F# type. If this is a C#-style extension method then this is the type which the method appears to extend. This may be a variable type. Like ApparentEnclosingType but use the compiled nominal type if this is a method on a tuple type Indicates if the method is marked with the [<IsReadOnly>] attribute. This is done by looking at the IL custom attributes on the method. Indicates if the method is marked as a DllImport (a PInvoke). This is done by looking at the IL custom attributes on the method. Get all the argument types of the IL method. Include the object argument even if this is an C#-style extension method. Get the argument types of the the IL method. If this is an C#-style extension method then drop the object argument. Get info about the arguments of the IL method. If this is an C#-style extension method then drop the object argument. Any type parameters of the enclosing type are instantiated in the type returned. Get the (zero or one) 'self'/'this'/'object' arguments associated with an IL method. An instance extension method returns one object argument. Get the F# view of the return type of the method, where 'void' is 'unit'. Get the compiled return type of the method, where 'void' is None. Describes an F# use of an IL method. ILTypeInfo (tyconRef, ilTypeRef, typeArgs, ilTypeDef). Get the compiled nominal type. In the case of tuple types, this is a .NET tuple type Describes an F# use of an IL type, including the type instantiation associated with the type at a particular usage point. This is really just 1:1 with the subset ot TType which result from building types using IL type definitions. Full information about a parameter returned for use by the type checker and language service. Partial information about a parameter returned for use by the Language Service The argument is optional, and is a caller-side .NET optional or default arg. Note this is correctly termed caller side, even though the default value is optically specified on the callee: in fact the default value is read from the metadata and passed explicitly to the callee on the caller side. The argument is optional, and is an F# callee-side optional arg The argument is not optional Compute the OptionalArgInfo for an IL parameter This includes the Visual Basic rules for IDispatchConstant and IUnknownConstant and optional arguments. Represents information about a parameter indicating if it is optional. The caller-side value for the optional arg, if any Describes the sequence order of the introduction of an extension method. Extension methods that are introduced later through 'open' get priority in overload resolution. Indicates whether we should visit multiple instantiations of the same generic interface or not Indicates whether we can skip interface types that lie outside the reference set Used to hide/filter members from super classes based on signature Used to hide/filter members from super classes based on signature Used to hide/filter members from super classes based on signature Used to hide/filter members from super classes based on signature Inref and outref parameter types will be treated as a byref type for equivalency. Inref and outref parameter types will be treated as a byref type for equivalency. Get the information about the compiled form of a method signature. Used when analyzing implementation relations between members and abstract slots. Strips inref and outref to be a byref. Find the delegate type that an F# event property implements by looking through the type hierarchy of the type of the property for the first instantiation of IDelegateEvent. Create an error object to raise should an event not have the shape expected by the .NET idiom described further below Properties compatible with type IDelegateEvent and attributed with CLIEvent are special: we generate metadata and add/remove methods to make them into a .NET event, and mangle the name of a property. We don't handle static, indexer or abstract properties correctly. Note the name mangling doesn't affect the name of the get/set methods for the property and so doesn't affect how we compile F# accesses to the property. Try to get an arbitrary ProvidedMethodInfo associated with a property. Compute the ILFieldInit for the given provided constant value for a provided enum type. Compute the OptionalArgInfo for a provided parameter. This is the same logic as OptionalArgInfoOfILParameter except we do not apply the Visual Basic rules for IDispatchConstant and IUnknownConstant to optional provided parameters. Compute the ILFieldInit for the given provided constant value for a provided enum type. Work out the instantiation relevant to interpret the backing metadata for a property. Work out the instantiation relevant to interpret the backing metadata for a member. The 'methTyArgs' is the instantiation of any generic method type parameters (this instantiation is not included in the MethInfo objects, but carried separately). Combine the type instantiation and generic method instantiation Get the object type for a member value which is a C#-style extension method Get the object type for a member value which is an extension method (C#-style or F#-style) Split the type of an F# member value into - the type parameters associated with method but matching those of the enclosing type - the type parameters associated with a generic method - the return type of the method - the actual type arguments of the enclosing type. Construct the data representing the signature of an abstract method slot Construct the data representing a parameter in the signature of an abstract method slot The slotsig returned by methInfo.GetSlotSig is in terms of the type parameters on the parent type of the overriding method. Reverse-map the slotsig so it is in terms of the type parameters for the overriding method Get the return type of a provided method, where 'void' is returned as 'None' Check if an F#-declared member value is an explicit interface member implementation Check if an F#-declared member value is an 'override' or explicit member implementation Check if an F#-declared member value is a dispatch slot Check if an F#-declared member value is a virtual method Indicates if an F#-declared function or member value is a CLIEvent property compiled as a .NET event The constraints for each typar copied from another typar can only be fixed up once we have generated all the new constraints, e.g. f<A :> List<B>, B :> List<A>> ... Copy constraints. If the constraint comes from a type parameter associated with a type constructor then we are simply renaming type variables. If it comes from a generic method in a generic class (e.g. ty.M<_>) then we may be both substituting the instantiation associated with 'ty' as well as copying the type parameters associated with M and instantiating their constraints Note: this now looks identical to constraint instantiation. Get the return type of an IL method, taking into account instantiations for type, return attributes and method generic parameters, and translating 'void' to 'None'. Get the parameter type of an IL method. Read an Abstract IL type from metadata, including any attributes that may affect the type itself, and convert to an F# type. Read an Abstract IL type from metadata and convert to an F# type. Check if a type exists somewhere in the hierarchy which has the given head type. Check if a type exists somewhere in the hierarchy which has the same head type as the given type (note, the given type need not have a head type at all) Check if a type has a particular head type Check if two types have the same nominal head type Get all interfaces of a type, including the type itself if it is an interface Get all super types of the type, including the type itself Search for one element where a function returns a 'Some' result, following interfaces Search for one element satisfying a predicate, following interfaces Iterate, following interfaces. Skipping interfaces that lie outside the referenced assembly set is allowed. Fold, following interfaces. Skipping interfaces that lie outside the referenced assembly set is allowed. Fold, do not follow interfaces (unless the type is itself an interface) Traverse the type hierarchy, e.g. f D (f C (f System.Object acc)). Visit base types and interfaces first. Collect the set of immediate declared interface types for an F# type, but do not traverse the type hierarchy to collect further interfaces. Make a type for System.Collections.Generic.IList<ty> Get the base type of a type, taking into account type instantiations. Return None if the type has no base type. Indicates if an F# type is the type associated with an F# exception declaration Import an IL type as an F# type. importInst gives the context for interpreting type variables. An exception type used to raise an error using the old error system. Error text: "A definition to be compiled as a .NET event does not have the expected form. Only property members can be compiled as .NET events." An AccessorDomain which returns all items An AccessorDomain which returns everything but .NET private/internal items. This is used - when solving member trait constraints, which are solved independently of accessibility - for failure paths in error reporting, e.g. to produce an error that an F# item is not accessible - an adhoc use in service.fs to look up a delegate signature An AccessorDomain which returns public items AccessibleFrom(cpaths, tyconRefOpt) cpaths: indicates we have the keys to access any members private to the given paths tyconRefOpt: indicates we have the keys to access any protected members of the super types of 'TyconRef' Represents the 'keys' a particular piece of code can use to access other constructs?. Uses a separate accessibility domains for containing type and method itself This makes sense cases like type A() = type protected B() = member this.Public() = () member protected this.Protected() = () type C() = inherit A() let x = A.B() do x.Public() when calling x.SomeMethod() we need to use 'adTyp' do verify that type of x is accessible from C and 'ad' to determine accessibility of SomeMethod. I.e when calling x.Public() and x.Protected() -in both cases first check should succeed and second - should fail in the latter one. IndiCompute the accessibility of a provided member Compute the accessibility of a provided member Indicate if a provided member is accessible Indicates if a type is accessible (both definition and instantiation) Check that a type definition and its representation contents are accessible Indicates if a type definition and its representation contents are accessible Check that an entity is accessible Indicates if an entity is accessible Indicates if an IL member associated with the given ILType is accessible Indicates if given IL based TyconRef is accessible. If TyconRef is nested then we'll walk though the list of enclosing types and test if all of them are accessible Indicates if a TyconRef is visible through the AccessibleFrom(cpaths, _). Note that InternalsVisibleTo extends those cpaths. Indicates if tdef is accessible. If tdef.Access = ILTypeDefAccess.Nested then encTyconRefOpt s TyconRef of enclosing type and visibility of tdef is obtained using member access rules Indicates if an IL member is accessible (ignoring its enclosing type) Indicates if an F# item is accessible The basic logic of private/internal/protected/InternalsVisibleTo/public accessibility Check the attributes on a record field, returning errors and warnings as data. Check the attributes on an F# value, returning errors and warnings as data. Check the attributes on a record field, returning errors and warnings as data. Check the attributes on a union case, returning errors and warnings as data. Check the attributes on an entity, returning errors and warnings as data. Indicate if a property has 'Obsolete' or 'CompilerMessageAttribute'. Used to suppress the item in intellisense. Indicate if a method has 'Obsolete', 'CompilerMessageAttribute' or 'TypeProviderEditorHideMethodsAttribute'. Used to suppress the item in intellisense. Check the attributes associated with a method, returning warnings and errors as data. Check the attributes associated with a IL field, returning warnings and errors as data. Check the attributes associated with a property, returning warnings and errors as data. Indicate if a list of provided attributes contains 'ObsoleteAttribute'. Used to suppress the item in intellisense. Indicate if a list of F# attributes contains 'ObsoleteAttribute'. Used to suppress the item in intellisense. Also check the attributes for CompilerMessageAttribute, which has an IsHidden argument that allows items to be suppressed from intellisense. Indicate if a list of F# attributes contains 'ObsoleteAttribute'. Used to suppress the item in intellisense. Checks the attributes for CompilerMessageAttribute, which has an IsHidden argument that allows items to be suppressed from intellisense. Indicate if a list of IL attributes contains 'ObsoleteAttribute'. Used to suppress the item in intellisense. Check a list of provided attributes for 'ObsoleteAttribute', returning errors and warnings as data Check F# attributes for 'ObsoleteAttribute', 'CompilerMessageAttribute' and 'ExperimentalAttribute', returning errors and warnings as data Check IL attributes for 'ObsoleteAttribute', returning errors and warnings as data Check if a method has a specific attribute. Try to find a specific attribute on a method, where the attribute accepts a string argument. This is just used for the 'ConditionalAttribute' attribute Analyze three cases for attributes declared on methods: IL-declared attributes, F#-declared attributes and provided attributes. Analyze three cases for attributes declared on methods: IL-declared attributes, F#-declared attributes and provided attributes. Analyze three cases for attributes declared on type definitions: IL-declared attributes, F#-declared attributes and provided attributes. Check custom attributes. This is particularly messy because custom attributes come in in three different formats. Logic associated with checking "ObsoleteAttribute" and other attributes on items from name resolution "Single Feasible Type" inference Look for the unique supertype of ty2 for which ty2 :> ty1 might feasibly hold Do AdjustArityOfLambdaBody for a series of iterated lambdas, producing one method. The required iterated function arity (List.length topValInfo) must be identical to the iterated function arity of the input lambda (List.length vsl) Break apart lambdas. Needs ChooseTyparSolutionsForFreeChoiceTypars because it's used in PostTypeCheckSemanticChecks before we've eliminated these nodes. Choose solutions for Expr.TyChoose type "hidden" variables introduced by letrec nodes. Also used by the pattern match compiler to choose type variables when compiling patterns at generalized bindings. e.g. let ([], x) = ([], []) Here x gets a generalized type "list<'T>". The feasible coercion relation. Part of the language spec. The feasible equivalence relation. Part of the language spec. Implements a :> b without coercion based on finalized (no type variable) types Primary relations on types and signatures, with the exception of constraint solving and method overload resolution. The Invoke MethInfo, the function argument types, the function return type and the overall F# function type for the function type associated with a .NET delegate type Get the item sets Get an empty set of items Get the items with a particular name Filter a set of new items to add according to the content of the list. Only keep an item if it passes 'keepTest' for all matching items already in the list. Add new items, extracting the names using the given function. The input list is sorted from most-derived to least-derived type, so any System.Object methods are at the end of the list. Return a filtered list where prior/subsequent members matching by name and that are in the same equivalence class have been removed. We keep a name-indexed table to be more efficient when we check to see if we've already seen a particular named method. Get overrides instead of abstract slots when measuring whether a class/interface implements all its required slots. Prefer items toward the top of the hierarchy, which we do if the items are virtual but not when resolving base calls. Indicates if we prefer overrides or abstract slots. Try and find a record or class field for a type. Try and find an item with the given name in a type. Check if the given language feature is supported by the runtime. Read the record or class fields of a type, including inherited ones. Cache the result for monomorphic types. Read the raw property sets of a type, including inherited ones. Cache the result for monomorphic types Read the raw method sets of a type, including inherited ones. Cache the result for monomorphic types Get the super-types of a type, excluding interface types. Read the raw method sets of a type that are the most specific overrides. Cache the result for monomorphic types Read the IL fields of a type, including inherited ones. Cache the result for monomorphic types. Read the events of a type, including inherited ones. Cache the result for monomorphic types. Get the super-types of a type, including interface types. An InfoReader is an object to help us read and cache infos. We create one of these for each file we typecheck. Sets of methods up the hierarchy, ignoring duplicates by name and sig. Used to collect sets of virtual methods, protected methods, protected properties etc. A helper type to help collect properties. Join up getters and setters which are not associated in the F# data structure Get the type of the event when looked at as if it is a property Used when displaying the property in Intellisense Get the (perhaps tupled) argument type accepted by an event The .NET Framework guidelines indicate that the delegate type used for an event should take two parameters, an "object source" parameter indicating the source of the event, and an "e" parameter that encapsulates any additional information about the event. The type of the "e" parameter should derive from the EventArgs class. For events that do not use any additional information, the .NET Framework has already defined an appropriate delegate type: EventHandler. (from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkEventsTutorial.asp) Try and interpret a delegate type as a "standard" .NET delegate type associated with an event, with a "sender" parameter. Given a delegate type work out the minfo, argument types, return type and F# function type by looking at the Invoke signature of the delegate. Get a set of most specific override methods. Try to find a particular named property on a type. Only used to ensure that local 'let' definitions and property names are distinct, a somewhat adhoc check in tc.fs. Try to detect the existence of a method on a type. Used for -- getting the GetEnumerator, get_Current, MoveNext methods for enumerable types -- getting the Dispose method when resolving the 'use' construct -- getting the various methods used to desugar the computation expression syntax Perform type-directed name resolution of a particular named member in an F# type Get the flattened list of intrinsic properties in the hierarchy Get the flattened list of intrinsic methods in the hierarchy Get the sets intrinsic properties in the hierarchy (not including extension properties) Get the sets of intrinsic methods in the hierarchy (not including extension methods) Exclude properties from super types which have the same name as a property in a more specific type. Exclude methods from super types which have the same signature as a method in a more specific type. Filter the overrides of properties, either keeping the overrides or keeping the dispatch slots. Filter the overrides of methods, either keeping the overrides or keeping the dispatch slots. Filter the overrides of methods or properties, either keeping the overrides or keeping the dispatch slots. Add all the items to the IndexedList, preferring the ones in the sub-types. Add all the items to the IndexedList, preferring the ones in the super-types. This is used to hide methods in super classes and/or hide overrides of methods in subclasses. Assume no items in 'items' are equivalent according to 'equivTest'. This is valid because each step in a .NET class hierarchy introduces a consistent set of methods, none of which hide each other within the given set. This is an important optimization because it means we don't have filter for equivalence between the large overload sets introduced by methods like System.WriteLine. Assume items can be given names by 'nmf', where two items with different names are not equivalent. Get the declared constructors of any F# type From the given method sets, filter each set down to the most specific ones. Finds the most specific methods from a method collection by a given method's signature. Get the items that are considered the most specific in the hierarchy out of the given items by type. REVIEW: Note complexity O(N^2) Query the immediate properties of an F# type, not taking into account inherited properties. The optFilter parameter is an optional name to restrict the set of properties returned. Query the immediate methods of an F# type, not taking into account inherited methods. The optFilter parameter is an optional name to restrict the set of properties returned. Try to select an F# value when querying members, and if so return a MethInfo that wraps the F# value. Check whether a name matches an optional filter Use the given function to select some of the member values from the members of an F# type Select members from a type by name, searching the type hierarchy if needed Generate text for comparing two types. If the output text is different without showing constraints and/or imperative type variable annotations and/or fully qualifying paths then don't show them! Pass negative number as pos in case of single cased discriminated unions Convert a ParamData to a string Convert a MethInfo to a string Convert a PropInfo to a string Convert a MethInfo to a string Print members with a qualification showing the type they are contained in Nice printing of a subset of expressions, e.g. for refutations in pattern matching Layout the inferred signature of a compilation unit Another re-implementation of type printing, this time based off provided info objects. When to force a break? "type tyname = <HERE> repn" When repn is class or datatype constructors (not single one). Printing TAST objects Format a method to a layout (actually just containing a string) using "free style" (aka "standalone"). Format a method to a buffer using "standalone" display style. For example, these are the formats used when printing signatures of methods that have not been overridden, and the format used when showing the individual member in QuickInfo and DeclarationInfo. The formats differ between .NET/provided methods and F# methods. Surprisingly people don't really seem to notice this, or they find it helpful. It feels that moving from this position should not be done lightly. Format a method info using "half C# style". Format a method info using "F# style". Format the arguments of a method to a buffer. This uses somewhat "old fashioned" printf-style buffer printing. Printing info objects Printing TAST objects layouts the elements of an unresolved overloaded method call: argInfos: unammed and named arguments retTy: return type genParamTy: generic parameter types Layout type parameters Layout a single type used as the type of a member or value Layout a single type, taking TypeSimplificationInfo into account Layout a list of types, separated with the given separator, either '*' or ',' Layout a type, taking precedence into account to insert brackets where needed Layout type arguments, either NAME<ty, ..., ty> or (ty, ..., ty) NAME *) Layout a unit expression Layout constraints, taking TypeSimplificationInfo into account Layout type parameter constraints, taking TypeSimplificationInfo into account Layout a single type parameter declaration, taking TypeSimplificationInfo into account There are several printing-cases for a typar: 'a - is multiple occurrence. _ - singleton occurrence, an underscore preferred over 'b. (OCaml accepts but does not print) #Type - inplace coercion constraint and singleton. ('a :> Type) - inplace coercion constraint not singleton. ('a.opM: S->T) - inplace operator constraint. Layout '[<attribs>]' above another block Layout an attribute 'Type(arg1, ..., argN)' Layout arguments of an attribute 'arg1, ..., argN' Layout a single attribute arg, following the cases of 'gen_attr_arg' in ilxgen.fs This is the subset of expressions we display in the NicePrint pretty printer See also dataExprL - there is overlap between these that should be removed Layout the flags of a member Layout a reference to a type Layout a method's signature using type-only-F#-style. No argument names are printed. In the case that we've a constructor, we pull off the class name from the `path`; naturally, it's the most-deeply-nested element. Layout a function pointer signature using type-only-F#-style. No argument names are printed. Layout a function pointer signature using type-only-F#-style. No argument names are printed. Layout a function pointer signature using type-only-F#-style. No argument names are printed. this fixes up a name just like adjustILName but also handles F# operators fix up a name coming from IL metadata by quoting "funny" names (keywords, otherwise invalid identifiers) Print Signatures/Types, for signatures, intellisense, quick info, FSI responses This predicate can be used once type inference is complete, before then it is an approximation that doesn't assert any new constraints Generate the hash/compare functions we add to user-defined types by default. Notify the sink of the information needed to complete recording a use of a symbol for the purposes of the language service. One of the callbacks should be called by the checker. The first callback represents a case where we have learned the type instantiation of a generic method or value. The second represents the case where we have resolved overloading and/or a specific override. The 'Item option' contains the candidate overrides. Notification is not needed Specifies extra work to do after overload resolution Indicates whether we permit a direct reference to a type generator. Only set when resolving the right-hand-side of a [<Generate>] declaration. Indicates if a warning should be given for the use of upper-case identifiers in patterns Indicates the kind of lookup being performed. Note, this type should be made private to nameres.fs. Indicates if we only need one result or all possible results from a resolution. An abstract type for reporting the results of name resolution and type checking, and which allows temporary suspension and/or redirection of reporting. Get all the uses of all symbols reported to the sink Get all the resolutions reported to the sink Get all open declarations reported to the sink Get the format specifier locations Create a TcResultsSinkImpl An implementation of ITypecheckResultsSink to collect information during type checking Cached line-end normalized source text and an array of line end positions, used for format string parsing Get the current source Record that an open declaration occured in a given scope range Record that a name resolution occurred at a specific location in the source Record that a method group name resolution occurred at a specific location in the source Record that a printf format specifier occurred at a specific location in the source Record that an expression has a specific type at the given range. Record that an environment is active over the given scope range An abstract type for reporting the results of name resolution and type checking Array of line start positions Source text Source text and an array of line end positions, used for format string parsing If it's `namespace Xxx.Yyy` declaration. Scope in which open declaration is visible. Modules or namespaces which is opened with this declaration. Full range of the open declaration. Long identifier as it's presented in source code. Create a new instance of OpenDeclaration. Represents open declaration statement. Empty collection of symbol uses All the uses of all items within the file Get all the uses of a particular item within the file Get the locations of all the printf format specifiers in the file Represents container for all name resolutions that were met so far when typechecking some particular file Represents the empty set of resolutions Exact name resolutions Represents additional resolutions of names to groups of methods. CapturedNameResolutions should be checked when no captured method group is found. See TypeCheckInfo.GetCapturedNameResolutions for example. Information of exact types found for expressions, that can be to the left of a dot. typ - the inferred type for an expression Name resolution environments for every interesting region in the file. These regions may overlap, in which case the smallest region applicable should be used. The starting and ending position line and column Naming environment--for example, currently open namespaces. The active instantiation for any generic type parameters Information about the occurrence of the symbol Named item Information about printing. For example, should redundant keywords be hidden? The access rights of code at the location Represents the kind of the occurrence when reporting a name in name resolution Represents information which guides name resolution of types. Indicates definite knowledge of empty type arguments, i.e. the logical equivalent of name< > Deduce definite knowledge of type arguments Represents information about the generic argument count of a type name when resolving it. In some situations we resolve "List" to any type definition with that name regardless of the number of generic arguments. In others, we know precisely how many generic arguments are needed. Indicates we are resolving type names to type definitions Indicates we are resolving type names to constructor methods. Indicates whether we are resolving type names to type definitions or to constructor methods. A flag which indicates if it is an error to have two declared type parameters with identical names in the name resolution environment. Typars (always available by unqualified names). Further typars can be in the tpenv, a structure folded through each top-level definition. Other extension members unindexed by type Extension members by type and name Tycons available by unqualified, demangled names (i.e. (List,1) --> TyconRef) Tycons available by unqualified, demangled names (i.e. (List,1) --> TyconRef) Tycons indexed by the various names that may be used to access them, e.g. "List" --> multiple TyconRef's for the various tycons accessible by this name. "List`1" --> TyconRef RecdField labels in scope. RecdField labels are those where type are inferred by label rather than by known type annotation. Bools indicate if from a record, where no warning is given on indeterminate lookup Fully qualified modules and namespaces. 'open' does not change this. Modules accessible via "." notation. Note this is a multi-map. Adding a module abbreviation adds it a local entry to this List.map. Likewise adding a ccu or opening a path adds entries to this List.map. Data Tags and Active Pattern Tags available by unqualified name Values and Data Tags available by unqualified name Display environment information for output The environment of information used to resolve names ILExtMem(declaringTyconRef, ilMetadata, pri) IL-style extension member, backed by some kind of method with an [<Extension>] attribute F#-style Extrinsic extension member, defined in F# code Describes the sequence order of the introduction of an extension method. Extension methods that are introduced later through 'open' get priority in overload resolution. Information about an extension member held in the name resolution environment Represents a record field resolution and the information if the usage is deprecated. Pairs an Item with a TyparInst showing how generic type variables of the item are instantiated at a particular usage point. Represents the potential resolution of an unqualified name to a type. Represents the resolution of a name to a named property setter Represents the resolution of a name to a named argument Represents the resolution of a name to an operator Represents the resolution of a name to a module or namespace Represents the resolution of a name to a type variable Represents the resolution of a name to a custom builder in the F# computation expression syntax CustomOperation(nm, helpText, methInfo) Used to indicate the availability or resolution of a custom query operation such as 'sortBy' or 'where' in computation expression syntax Represents the resolution of a name to a group of types Represents the resolution of a name to a delegate Represents the resolution of a name to the fake constructor simulated for an interface type. Represents the resolution of a name to a constructor Represents the resolution of a name to a group of methods. Represents the resolution of a name to a property Represents the resolution of a name to an event Represents the resolution of a name to a .NET field Represents the resolution of a name at the point of its own definition. Represents the resolution of a name to a field of an anonymous record type. Represents the resolution of a name to a union case field. Represents the resolution of a name to an F# record or exception field. Represents the resolution of a name to an F# exception definition. Represents the resolution of a name to an F# active pattern case within the body of an active pattern. Represents the resolution of a name to an F# active pattern result. Represents the resolution of a name to an F# union case. Represents the resolution of a name to an F# value or function. Represents an item that results from name resolution The named argument is a static parameter to a provided type. The named argument is an argument of a method Represents the item with which a named argument is associated. A NameResolver is a context for name resolution. It primarily holds an InfoReader. Resolve a (possibly incomplete) long identifier to a set of possible resolutions, qualified by type. Resolve a (possibly incomplete) long identifier to a set of possible resolutions. Try to resolve a long identifier as type. A generator of type instantiations used when no more specific type instantiation is known. Resolve a long identifier occurring in an expression position, qualified by a type. Resolve a long identifier occurring in an expression position. Return the fields for the given class or record Resolve a (possibly incomplete) long identifier to a loist of possible class or record fields Resolve a long identifier occurring in an expression position Resolve a long identifier to a field Resolve a long identifier to a type definition Resolve a long identifier representing a type name Resolve a long identifier when used in a pattern. Resolve a long identifier using type-qualified name resolution. Resolve a long identifier to an object constructor. Resolve a long identifier to a namespace, module or static class. Generate a new reference to a record field with a fresh type instantiation Get the available methods of a type (both declared and inherited) Get all the available properties of a type (only extension) Get all the available properties of a type (both intrinsic and extension) Report an open declaration Report a specific name resolution at a source range Report a specific name resolution at a source range, replacing any previous resolutions Report a specific method group name resolution at a source range Report a specific name resolution at a source range Report the active name resolution environment for a source range Temporarily suspend reporting of name resolution and type checking results Temporarily redirect reporting of name resolution and type checking results Hash compatible with ItemsAreEffectivelyEqual Check for equality, up to signature matching Qualified lookup of type names in the environment Add some declared type parameters to the name resolution environment Add a list of modules or namespaces to the name resolution environment Add a single modules or namespace to the name resolution environment Add a list of module or namespace to the name resolution environment, including any sub-modules marked 'AutoOpen' Add a module abbreviation to the name resolution environment Add an F# exception definition to the name resolution environment Add a list of type definitions to the name resolution environment Add active pattern result tags to the environment. Add a single F# value to the environment. Add some extra items to the environment for Visual Studio, e.g. record members Add extra items to the environment for Visual Studio, e.g. static members Find a field in anonymous record type Detect a use of a nominal type, including type abbreviations. When reporting symbols, we care about abbreviations, e.g. 'int' and 'int32' count as two separate symbols. Get the active pattern elements defined in a module, if any. Cache in the slot in the module type. Used to report a warning condition for the use of upper-case identifiers in patterns Used to report an error condition where name resolution failed due to an indeterminate type Check the names add up between a signature and its implementation. We check this first. Primary relations on types and signatures, with the exception of constraint solving and method overload resolution. A slot that *might* have ambiguity due to multiple inheritance; happens with default interface implementations. Gets the method info. A slot which does not have to be implemented, because an inherited implementation is available. A slot which has a default interface implementation. A combination of this flag and the lack of IsOptional means the slot may have been reabstracted. The overall information about a method implementation in a class or object expression Get the properties relevant to determining if a uniquely-identified-override exists based on the syntactic information at the member signature prior to type inference. This is used to pre-assign type information if it does Get the methods relevant to determining if a uniquely-identified-override exists based on the syntactic information at the member signature prior to type inference. This is used to pre-assign type information if it does "Type Completion" inference and a few other checks at the end of the inference scope Check that a type definition implements all its required interfaces after processing all declarations within a file. Get the slots of a type that can or must be implemented. This depends partly on the full set of interface types that are being implemented simultaneously, e.g. { new C with interface I2 = ... interface I3 = ... } allReqdTys = {C;I2;I3} allReqdTys can include one class/record/union type. Check all implementations implement some dispatch slot. Get a collection of slots for the given type and implied types. Get a collection of slots for the given class type. Get a collection of slots for the given interface type. Finds the override interface methods from the most specific overrides by the given method. This is to find override methods that are at the most specific in the hierarchy of interface types. Check all dispatch slots are implemented by some override. Check if a dispatch slot is already implemented Check if an override implements a dispatch slot Check if an override exactly matches the requirements for a dispatch slot. Check if an override exactly matches the requirements for a dispatch slot except for the name. Compose two instantiations of type parameters. Compute the reverse of a type parameter renaming. Check if an override is a partial match for the requirements for a dispatch slot. Check if an override is a partial match for the requirements for a dispatch slot except for the name. Check if the kinds of type parameters match between a dispatch slot and an override. Check if an override matches a dispatch slot by name Check if an override matches a dispatch slot by name Get the override information for an object expression method being used to implement dispatch slots Get the override info for a value being used to implement a dispatch slot. Get the override info for an existing (inherited) method being used to implement a dispatch slot. Format the signature of a MethInfo as a string as part of an error message Format the signature of an override as a string as part of an error message Print the signature of a MethInfo to a buffer as part of an error message Print the signature of an override to a buffer as part of an error message Primary logic related to method overrides. method parameters unnamed called out args: return these as part of the return tuple unnamed called optional args: pass defaults for these unassigned args the method we're attempting to call the formal instantiation of the method we're attempting to call The types of the actual object arguments, if any the instantiation of the method we're attempting to call the instantiation of the method we're attempting to call return type after tupling of out args is taken into account return type after implicit deference of byref returns is taken into account args assigned to specify values for attribute fields and properties (these are not necessarily "property sets") the property related to the method we're attempting to call, if any named setters The argument analysis for each set of curried arguments Represents the syntactic matching between a caller of a method and the called method. The constructor takes all the information about the caller and called side of a method, match up named arguments, property setters etc., and returns a CalledMeth object for further analysis. Named args Any unnamed caller arguments assigned to a "param array" argument The called "ParamArray" argument, if any Any unnamed caller arguments not otherwise assigned The called arguments corresponding to "unnamed" arguments Represents the list of unnamed / named arguments at method call site remark: The usage of list list is due to tupling and currying of arguments, stemming from SynValInfo in the AST. Represents the resolution of a caller argument as a named-setter argument Represents the possibilities for a named-setter argument (a property, field, or a record field setter) The argument on the caller side The called argument in the method The identifier for a named argument, if any Represents a match between a caller argument and a called argument, arising from either a named argument or an unnamed argument. Represents the information about an argument in the method being called CallerArg(ty, range, isOpt, exprInfo) In the following, 'T gets instantiated to: 1. the expression being supplied for an argument 2. "unit", when simply checking for the existence of an overload that satisfies a signature, or when finding the corresponding witness. Note the parametricity helps ensure that overload resolution doesn't depend on the expression on the callside (though it is in some circumstances allowed to depend on some type information inferred syntactically from that expression, e.g. a lambda expression may be converted to a delegate as an adhoc conversion. The bool indicates if named using a '?', making the caller argument explicit-optional Generate a witness for the given (solved) constraint. Five possiblilities are taken into account. 1. The constraint is solved by a .NET-declared method or an F#-declared method 2. The constraint is solved by an F# record field 3. The constraint is solved by an F# anonymous record field 4. The constraint is considered solved by a "built in" solution 5. The constraint is solved by a closed expression given by a provided method from a type provider In each case an expression is returned where the method is applied to the given arguments, or the field is dereferenced. None is returned in the cases where the trait has not been solved (e.g. is part of generic code) or there is an unexpected mismatch of some kind. Build the argument list for a method call. Adjust for param array, optional arguments, byref arguments and coercions. For example, if you pass an F# reference cell to a byref then we must get the address of the contents of the ref. Likewise lots of adjustments are made for optional arguments etc. Adjust any '[<ParamArray>]' arguments, converting to an array Adjust any 'out' arguments, passing in the address of a mutable local Get the expression that must be inserted on the caller side for an optional arg where no caller argument has been provided. Get the expression that must be inserted on the caller side for a CalleeSide optional arg where no caller argument has been provided. Normally this is 'None', however CallerMemberName and friends can be used with 'CalleeSide' optional arguments Get the expression that must be inserted on the caller side for a CallerSide optional arg, i.e. one where there is no corresponding caller arg. Some of the code below must allocate temporary variables or bind other variables to particular values. As usual we represent variable allocators by expr -> expr functions which we then use to wrap the whole expression. These will either do nothing or pre-bind a variable. It doesn't matter what order they are applied in as long as they are all composed together. Implements the elaborated form of adhoc conversions from functions to delegates at member callsites Build a call to the System.Object constructor taking no arguments, Build an expression that calls a given method info. This is called after overload resolution, and also to call other methods such as 'setters' for properties. Make a call to a method info. Used by the optimizer and code generator to build calls to the type-directed solutions to member constraints. Build a call to an F# method. Build a call to an F# method. Consume the arguments in chunks and build applications. This copes with various F# calling signatures all of which ultimately become 'methods'. QUERY: this looks overly complex considering that we are doing a fundamentally simple thing here. Build an expression node that is a call to a .NET method. Adjust the 'this' pointer before making a call Take the address of a struct, and coerce to an interface/base/constraint type if necessary Compute whether we insert a 'coerce' on the 'this' pointer for an object model call For example, when calling an interface method on a struct, or a method on a constrained variable type. Is this a 'base' call (in the sense of C#) Adjust the called argument type to take into account whether the caller's argument is CSharpMethod(?arg=Some(3)) or CSharpMethod(arg=1) Erasure over System.Type. This is a reimplementation of the logic of provided-type erasure, working entirely over (tainted, provided) System.Type values. This is used when preparing ParameterInfo objects to give to the provider in GetInvokerExpression. These ParameterInfo have erased ParameterType - giving the provider an erased type makes it considerably easier to implement a correct GetInvokerExpression. Ideally we would implement this operation by converting to an F# TType using ImportSystemType, and then erasing, and then converting back to System.Type. However, there is currently no way to get from an arbitrary F# TType (even the TType for System.Object) to a System.Type to give to the type provider. Logic associated with resolving method calls. Represents the typechecked, elaborated form of a pattern, prior to pattern-match compilation. What should the decision tree contain for any incomplete match? Compile a pattern into a decision tree and a set of targets. A function that denotes captured tcVal, Used in constraint solver and elsewhere to get appropriate expressions for a ValRef. Cases for overload resolution failure that exists in the implementation of the compiler. Captures relevant information for a particular failed overload resolution. The type equation comes from a sequence expression. The type equation comes from a pattern match guard. The type equation comes from a return type of a pattern match clause (not the first clause). The type equation comes from an downcast where a upcast could be used. The type equation comes from a runtime type test. The type equation comes from a yield in a computation expression. The type equation comes from a return in a computation expression. The type equation comes from a list or array constructor The type equation comes from the verification of a tuple in record fields. The type equation comes from the verification of record fields. The type equation comes from a type check of the result of an else branch. The type equation comes from an omitted else branch. The type equation comes from an IF expression. No context was given. Information about the context of a type equation. Remove the global constraints where these type variables appear in the support of the constraint Given a set of formal type parameters and their constraints, make new inference type variables for each and ensure that the constraints on the new type variables are adjusted to refer to these. Create a list of inference type variables, one for each element in the input list Create an inference type variable representing an error condition when checking a measure Create an inference type variable representing an error condition when checking an expression Create an inference type variable for the kind of a byref pointer Create an inference type variable Create a type variable representing the use of a "_" in F# code Solves constraints using a mutable constraint-solver state Parse "printf-style" format specifiers at compile time, producing a list of items that specify the types of the things that follow. Must be updated if the Printf runtime component is updated. Find all unsolved inference variables after type inference for an entire file Indicates that type references are emitted as integer indexes into a supplied table Convert quoted TAST data structures to structures ready for pickling Perform the checks on the TAST for a file after type inference is complete. Implements a set of checks on the TAST for a file that can only be performed after type inference is complete. Optimization information Check if an expression has an effect Combine optimization infos Ensure that 'internal' items are not exported in the optimization info Rewrite the module info using the export remapping Saving and re-reading optimization information Optimize one implementation file in the given environment For building optimization environments incrementally top of expr toplevel? (true) val not defined under lambdas v -> recursive? * v list -- the others in the mutual binding bound in a decision tree? v -> binding repr v -> context / APP inst args Results is "expr information". This could extend to be a full graph view of the expr. Later could support "safe" change operations, and optimisations could be in terms of those. Analyze a TAST expression to detect the elaborated form of a sequence expression. Then compile it to a state machine represented as a TAST containing goto, return and label nodes. The returned state machine will also contain references to state variables (from internal 'let' bindings), a program counter (pc) that records the current state, and a current generated value (current). All these variables are then represented as fields in a hosting closure object along with any additional free variables of the sequence expression. An "expr -> expr" pass that eta-expands under-applied values of known arity to lambda expressions and beta-var-reduces to bind any known arguments. The results are later optimized by the peephole optimizer in opt.fs Rewrite mutable locals to reference cells across an entire implementation file Invert the compilation of the given value and return its current dynamic value and its compiled System.Type Generate ILX code for an assembly fragment Invert the compilation of the given value and clear the storage of the value Register a fragment of the current assembly with the ILX code generator. If 'isIncrementalFragment' is true then the input is assumed to be a fragment 'typed' into FSI.EXE, otherwise the input is assumed to be the result of a '#load' Register a set of referenced assemblies with the ILX code generator Create an incremental ILX code generator for a single assembly An incremental ILX code generator for a single assembly Used to support the compilation-inversion operations "ClearGeneratedValue" and "LookupGeneratedValue" The generated IL/ILX resources associated with F# quotations The security attributes to attach to the assembly The attributes for the assembly in F# form The generated IL/ILX .NET module attributes The generated IL/ILX assembly attributes The generated IL/ILX type definitions The results of the ILX compilation of one fragment of an assembly Indicates that, whenever possible, use callvirt instead of call Indicates the code generated is an interactive 'it' expression. We generate a setter to allow clearing of the underlying storage, even though 'it' is not logically mutable Indicates the code is being generated in FSI.EXE and is executed immediately after code generation This includes all interactively compiled code, including #load, definitions, and expressions Indicates which backend we are generating code for A flag to help test emit of debug information Indicates if we are generating debug symbols or not Indicates if local optimizations are active If this is set, then the last module becomes the "main" module Indicates if static array data should be emitted using static blobs Indicates if we should workaround old reflection emit bugs Indicates if we are generating filter blocks Indicates how the generated IL code is ultimately emitted Determine if an F#-declared value, method or function is compiled as a method. Gets the tfm E.g netcore3.0, net472 Diagnostics seen while processing the compiler options implied root of closure Diagnostics to show for root of closure (used by fsc.fs) Diagnostics seen while processing resolutions The #nowarns The original #load references, including those that didn't resolve The list of all sources in the closure with inputs when available, with associated parse errors and warnings The list of references that were not resolved during load closure. The resolved references along with the ranges of the #r positions in each file. The source files along with the ranges of the #load positions in each file. A temporary TcConfig is created along the way, is why this routine takes so many arguments. We want to be sure to use exactly the same arguments as the rest of the application. Analyze a set of script files and find the closure of their references. The resulting references are then added to the given TcConfig. Used from fsi.fs and fsc.fs, for #load and command line. Get the typing environment implied by the set of signature files and/or inferred signatures of implementation files checked so far Get the typing environment implied by the set of implementation files checked so far The inferred contents of the assembly, containing the signatures of all files. The CcuThunk for the current assembly being checked Represents the incremental type checking state for a set of inputs Try to resolve a referenced assembly based on TcConfig settings. Try to find a provider-generated assembly Try to find the given assembly reference by simple name. Used in magic assembly resolution. Effectively does implicit unification of assemblies by simple assembly name. Try to find the given assembly reference. Resolve a referenced assembly and report an error if the resolution fails. Report unresolved references that also weren't consumed by any type providers. This excludes any framework imports (which may be shared between multiple builds) Represents a table of imported assemblies with their resolutions. Is a disposable object, but it is recommended not to explicitly call Dispose unless you absolutely know nothing will be using its contents after the disposal. Otherwise, simply allow the GC to collect this and it will properly call Dispose from the finalizer. Represents a resolved imported assembly Represents a resolved imported binary Get a TcConfigProvider which will return only the exact TcConfig. Get a TcConfigProvider which will continue to respect changes in the underlying TcConfigBuilder rather than delivering snapshots. Represents a computation to return a TcConfig. Normally this is just a constant immutable TcConfig, but for F# Interactive it may be based on an underlying mutable TcConfigBuilder. Set if the user has explicitly turned indentation-aware syntax on/off If true, indicates all type checking and code generation is in the context of fsi.exe File system query based on TcConfig settings File system query based on TcConfig settings Get the loaded sources that exist and issue a warning for the ones that don't Prevent erasure of conditional attributes and methods so tooling is able analyse them. if true - 'let mutable x = Span.Empty', the value 'x' is a stack referring span. Used for internal testing purposes only until we get true stack spans. A function to call to try to get an object that acts as a snapshot of the metadata section of a .NET binary, and from which we can read the metadata. Only used when metadataOnly=true. If true, indicates all type checking and code generation is in the context of fsi.exe Sources added into the build with #load Set if the user has explicitly turned indentation-aware syntax on/off Represents the file or string used for the --version flag Enqueue work to be done on a compilation thread. The thread in which compilation calls will be enqueued and done work on. Note: This is currently only used when disposing of type providers and will be extended to all the other type provider calls when compilations can be done in parallel. Right now all calls in FCS to type providers are single-threaded through use of the reactor thread. Whether or not this is an installed system assembly (for example, System.dll) Create the tooltip text for the assembly reference Path to the resolvedFile The original reference to the assembly. The name of the assembly file generated by the project Get the logical timestamp that would be the timestamp of the assembly file generated by the project. For project references this is maximum of the timestamps of all dependent files. The project is not actually built, nor are any assemblies read, but the timestamps for each dependent file are read via the FileSystem. If the files don't exist, then a default timestamp is used. The operation returns None only if it is not possible to create an IncrementalBuilder for the project at all, e.g. if there are fatal errors in the options for the project. Evaluate raw contents of the assembly file generated by the project The identity of the module The raw IL module definition in the assembly, if any. This is not present for cross-project references in the language service The table of type forwarders in the assembly The raw F# signature data in the assembly, if any The raw F# optimization data in the assembly, if any The raw list InternalsVisibleToAttribute attributes in the assembly The raw list AutoOpenAttribute attributes in the assembly Represents a reference to an F# assembly. May be backed by a real assembly on disk (read by Abstract IL), or a cross-project reference in FSharp.Compiler.Service. Part of LegacyHostedCompilerForTesting Part of LegacyHostedCompilerForTesting Part of LegacyHostedCompilerForTesting Part of LegacyHostedCompilerForTesting State used to de-deduplicate module names along a list of file names Indicates if we should report a warning as an error Indicates if we should report a warning Check a single input and finish the checking Check a closed set of inputs Finish the checking of a closed set of inputs Finish the checking of multiple inputs Check one input, returned as an Eventually computation Get the initial type checking state for a set of inputs Get the initial type checking environment including the loading of mscorlib/System.Core, FSharp.Core applying the InternalsVisibleTo in referenced assemblies and opening 'Checked' if requested. Parse one input file This list is the default set of references for "non-project" files. Get an error logger that filters the reporting of warnings based on scoped pragma information Find the scoped #nowarn pragmas with their range information Process the #nowarn in an input Process all the #r, #I etc. in an input Processing # commands Process #r in F# Interactive. Adds the reference to the tcImports and add the ccu to the type checking environment. Write F# optimization data as an IL resource Write F# signature data as an IL resource Determine if an IL resource attached to an F# assembly is an F# quotation data resource for reflected definitions Determine if an IL resource attached to an F# assembly is an F# optimization data resource Determine if an IL resource attached to an F# assembly is an F# signature data resource Part of LegacyHostedCompilerForTesting Output extra context information for an error or warning to a buffer Output an error or warning to a buffer Output an error to a buffer Split errors into a "main" error and a set of associated errors Get the number associated with an error Get the location associated with an error Parse a single input (A signature file or implementation file) Checks if a ParsedInput is using a module name that was already given and deduplicates the name if needed. Get the name used for FSharp.Core File suffixes where #light is the default Script file suffixes Implementation file suffixes Signature file suffixes Coordinating compiler operations - configuration, loading initial context, reporting errors etc. CompilerOption(name, argumentDescriptionString, actionSpec, exceptionOpt, helpTextOpt The spec value describes the action of the argument, and whether it expects a following parameter. Apply args to TcConfigBuilder and return new list of source files Parse and process a set of compiler options The default ErrorLogger implementation, reporting messages to the Console up to the maxerrors maximum Part of LegacyHostedCompilerForTesting Process the given set of command line arguments Set the concrete inputs for this build. Declare a named vector output. Declare a named scalar output. Declare build outputs and bind them to real values. Only required for unit testing. Declare a named scalar output. A set of build rules and the corresponding, possibly partial, results from building. Get an element of vector result or None if there were no results. Only required for unit testing. Get a result vector. All results must be available or thrown an exception. Only required for unit testing. Get a scalar vector. Result must be available. Only required for unit testing. Do one step in the build. Only required for unit testing. Evaluate a build for a vector up to a limit. Only required for unit testing. Evaluate a build. Only required for unit testing. Used for unit testing. Causes all steps of underlying incremental graph evaluation to cancel Declares a scalar build input. Only required for unit testing. Declares a vector build input. Only required for unit testing. Convert a Vector into a Scalar. Apply a function to a vector to get a scalar value. Apply a function to each element of the vector, threading an accumulator argument through the computation. Returns intermediate results in a vector. Updates the creates a new vector with the same items but with timestamp specified by the passed-in function. Maps one vector to another using the given function. Methods for acting on build Vectors Only required for unit testing. Generalized Incremental Builder. This is exposed only for unit testing purposes. Used for unit testing Tests whether the user is typing something like "member x." or "override (*comment*) x." Get the partial long name of the identifier to the left of index. For example, for `System.DateTime.Now` it returns PartialLongName ([|"System"; "DateTime"|], "Now", Some 32), where "32" pos of the last dot. Get the partial long name of the identifier to the left of index. Given a string and a position in that string, find an identifier as expected by `GotoDefinition`. This will work when the cursor is immediately before the identifier, within the identifier, or immediately after the identifier. 'tolerateJustAfter' indicates that we tolerate being one character after the identifier, used for goto-definition In general, only identifiers composed from upper/lower letters and '.' are supported, but there are a couple of explicitly handled exceptions to allow some common scenarios: - When the name contains only letters and '|' symbol, it may be an active pattern, so we treat it as a valid identifier - e.g. let ( |Identity| ) a = a (but other identifiers that include '|' are not allowed - e.g. '||' operator) - It searches for double tick (``) to see if the identifier could be something like ``a b`` REVIEW: Also support, e.g., operators, performing the necessary mangling. (i.e., I would like that the name returned here can be passed as-is (post `.`-chopping) to `GetDeclarationLocation.) In addition, return the position where a `.` would go if we were making a call to `DeclItemsForNamesAtPosition` for intellisense. This will allow us to use find the correct qualified items rather than resorting to the more expensive and less accurate environment lookup. Puts us after the last character. Methods for cheaply and inaccurately parsing F#. These methods are very old and are mostly to do with extracting "long identifier islands" A.B.C from F# source code, an approach taken from pre-F# VS samples for implementing intelliense. This code should really no longer be needed since the language service has access to parsed F# source code ASTs. However, the long identifiers are still passed back to GetDeclarations and friends in the F# Compiler Service and it's annoyingly hard to remove their use completely. In general it is unlikely much progress will be made by fixing this code - it will be better to extract more information from the F# ASTs. It's also surprising how hard even the job of getting long identifier islands can be. For example the code below is inaccurate for long identifier chains involving ``...`` identifiers. And there are special cases for active pattern names and so on. Defines a write-only stream used to capture output of the hosted F# Interactive dynamic compiler. Feeds content into the stream. Defines a read-only input stream used to feed content to the hosted F# Interactive dynamic compiler. Event fires when a root-level value is bound to an identifier, e.g., via `let x = ...`. Raised when an interaction is successfully typechecked and executed, resulting in an update to the type checking state. This event is triggered after parsing and checking, either via input from 'stdin', or via a call to EvalInteraction. A host calls this to get the active language ID if provided by fsi-server-lcid A host calls this to determine if the --gui parameter is active The single, global interactive checker to use in conjunction with other operations on the FsiEvaluationSession. If you are using an FsiEvaluationSession in this process, you should only use this InteractiveChecker for additional checking operations. Get a handle to the dynamically generated assembly Get a handle to the resolved view of the current signature of the incrementally generated assembly. Load the dummy interaction, load the initial files, and, if interacting, start the background thread to read the standard input. Performs these steps: - Load the dummy interaction, if any - Set up exception handling, if any - Load the initial files, if any - Start the background thread to read the standard input, if any - Sit in the GUI event loop indefinitely, if needed A host calls this to report an unhandled exception in a standard way, e.g. an exception on the GUI thread gets printed to stderr Typecheck the given script fragment in the type checking context implied by the current state of F# Interactive. The results can be used to access intellisense, perform resolutions, check brace matching and other information. Operations may be run concurrently with other requests to the InteractiveChecker. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. A host calls this to request an interrupt on the evaluation thread. Get a configuration that uses a private inbuilt implementation of the 'fsi' object and does not implicitly reference FSharp.Compiler.Interactive.Settings.dll. Get a configuration that uses the 'fsi' object (normally from FSharp.Compiler.Interactive.Settings.dll, an object from another DLL with identical characteristics) to provide an implementation of the configuration. FSharp.Compiler.Interactive.Settings.dll is referenced by default. Get a configuration that uses the 'fsi' object (normally from FSharp.Compiler.Interactive.Settings.dll, an object from another DLL with identical characteristics) to provide an implementation of the configuration. The flag indicates if FSharp.Compiler.Interactive.Settings.dll is referenced by default. A host calls this to get the completions for a long identifier, e.g. in the console Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Format a value to a string using the current PrintDepth, PrintLength etc settings provided by the active fsi configuration object Execute the given script. Stop on first error, discarding the rest of the script. Errors and warnings are collected apart from any exception arising from execution which is returned via a Choice. Execution is performed on the 'Run()' thread. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Execute the given script. Stop on first error, discarding the rest of the script. Errors are sent to the output writer, a 'true' return value indicates there were no errors overall. Execution is performed on the 'Run()' thread. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Execute the code as if it had been entered as one or more interactions, with an implicit termination at the end of the input. Stop on first error, discarding the rest of the input. Errors and warnings are collected apart from any exception arising from execution which is returned via a Choice. Execution is performed on the 'Run()' thread. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Execute the code as if it had been entered as one or more interactions, with an implicit termination at the end of the input. Stop on first error, discarding the rest of the input. Errors are sent to the output writer, a 'true' return value indicates there were no errors overall. Execution is performed on the 'Run()' thread. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Execute the code as if it had been entered as one or more interactions, with an implicit termination at the end of the input. Stop on first error, discarding the rest of the input. Errors and warnings are collected apart from any exception arising from execution which is returned via a Choice. Parsing is performed on the current thread, and execution is performed synchronously on the 'main' thread. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Execute the code as if it had been entered as one or more interactions, with an implicit termination at the end of the input. Stop on first error, discarding the rest of the input. Errors are sent to the output writer. Parsing is performed on the current thread, and execution is performed synchronously on the 'main' thread. Due to a current limitation, it is not fully thread-safe to run this operation concurrently with evaluation triggered by input from 'stdin'. Create an FsiEvaluationSession, reading from the given text input, writing to the given text output and error writers. <summary>Create an FsiEvaluationSession, reading from the given text input, writing to the given text output and error writers</summary> <param name="fsiConfig">The dynamic configuration of the evaluation session</param> <param name="argv">The command line arguments for the evaluation session</param> <param name="inReader">Read input from the given reader</param> <param name="outWriter">Write output to the given writer</param> <param name="collectible">Optionally make the dynamic assembly for the session collectible</param> Represents an F# Interactive evaluation session. Thrown when there was an error compiling the given code in FSI. Implicitly reference FSharp.Compiler.Interactive.Settings.dll Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Hook for listening for evaluation bindings Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output Called by the evaluation session to ask the host for parameters to format text for output The evaluation session calls this at an appropriate point in the startup phase if the --fsi-server parameter was given The evaluation session calls this to report the preferred view of the command line arguments after stripping things like "/use:file.fsx", "-r:Foo.dll" etc. Indicate a special console "readline" reader for the evaluation session, if any.  A "console" gets used if --readline is specified (the default on Windows + .NET); and --fsi-server is not given (always combine with --readline-), and OptionalConsoleReadLine is given. When a console is used, special rules apply to "peekahead", which allows early typing on the console. Peekahead happens if --peekahead- is not specified (the default). In this case, a prompt is printed early, a background thread is created and the OptionalConsoleReadLine is used to read the first line. If a console is not used, then inReader.Peek() is called early instead.   Further lines are read using OptionalConsoleReadLine(). If not provided, lines are read using inReader.ReadLine().   Schedule a restart for the event loop. Called by the evaluation session to ask the host to enter a dispatch loop like Application.Run(). Only called if --gui option is used (which is the default). Gets called towards the end of startup and every time a ThreadAbort escaped to the backup driver loop. Return true if a 'restart' is required, which is a bit meaningless. Request that the given operation be run synchronously on the event loop. The FSharpSymbolUse for the symbol defined The symbol defined The display name of the symbol defined The details of the expression defined The value of the symbol defined, if any The value, as an object The type of the value, from the point of view of the .NET type system Represents an evaluated F# value When set to 'false', disables the display of properties of evaluated objects in the output of the interactive session. When set to 'false', disables the display of sequences in the output of the interactive session. When set to 'false', disables the display of declaration values in the output of the interactive session. Get or set the print width of the interactive session. Get or set the total print size of the interactive session. Get or set the total print length of the interactive session. Get or set the print depth of the interactive session. Get or set the format provider used in the output of the interactive session. Get or set the floating point format used in the output of the interactive session. Gets or sets a the current event loop being used to process interactions. The command line arguments after ignoring the arguments relevant to the interactive environment and replacing the first argument with the name of the last script file, if any. Thus 'fsi.exe test1.fs test2.fs -- hello goodbye' will give arguments 'test2.fs', 'hello', 'goodbye'. This value will normally be different to those returned by System.Environment.GetCommandLineArgs. When set to 'false', disables the display of properties of evaluated objects in the output of the interactive session. When set to 'false', disables the display of sequences in the output of the interactive session. When set to 'false', disables the display of declaration values in the output of the interactive session. Get or set the print width of the interactive session. Get or set the total print size of the interactive session. Get or set the total print length of the interactive session. Get or set the print depth of the interactive session. Get or set the format provider used in the output of the interactive session. Get or set the floating point format used in the output of the interactive session. Gets or sets a the current event loop being used to process interactions. The command line arguments after ignoring the arguments relevant to the interactive environment and replacing the first argument with the name of the last script file, if any. Thus 'fsi.exe test1.fs test2.fs -- hello goodbye' will give arguments 'test2.fs', 'hello', 'goodbye'. This value will normally be different to those returned by System.Environment.GetCommandLineArgs. Register a printer that controls the output of the interactive session. Register a print transformer that controls the output of the interactive session. Operations supported by the currently executing F# Interactive session. Schedule a restart for the event loop. Run the event loop. True if the event loop was restarted; false otherwise. Request that the given operation be run synchronously on the event loop. The result of the operation. An event loop used by the currently executing F# Interactive session to execute code in the context of a GUI or another event-based system. A default implementation of the 'fsi' object, used by GetDefaultConfiguration(). Note this is a different object to FSharp.Compiler.Interactive.Settings.fsi in FSharp.Compiler.Interactive.Settings.dll, which can be used as an alternative implementation of the interactive settings if passed as a parameter to GetDefaultConfiguration(fsiObj). A default implementation of the 'fsi' object, used by GetDefaultConfiguration() This represents the global state established as each task function runs as part of the build. Use to reset error and warning handlers. Get the captured errors Create the error logger An error logger that capture errors, filtering them according to warning levels etc. A list of data tip elements to display. Information for building a tool tip box. A single data tip display element with where text is expressed as <see cref="Layout"/> A single data tip display element with where text is expressed as string An error occurred formatting this element A single type, method, etc with comment. May represent a method overload group. A single tool tip display element Parameter name Extra text, goes at the end typar instantiation text, to go after xml A single data tip display element Indicates that the text for the documentation can be found in a .xml documentation file, using the given signature key The text for documentation No documentation is available Describe a comment as either a block of text or a file+signature reference into an intellidoc file. Object model for diagnostics The symbol referenced The range of text representing the reference to the symbol Indicates if the FSharpSymbolUse is declared as private Indicates if the reference is in a syntactic type Indicates if the reference is in a pattern Indicates if the reference is in open statement Indicates if the reference is via the member being implemented in a class or object expression Indicates if the reference is a definition for the symbol, either in a signature or implementation Indicates if the reference is either a builder or a custom operation in a computation expression Indicates if the reference is in an attribute The file name the reference occurs in The display context active at the point where the symbol is used. Can be passed to FSharpType.Format and other methods to format items in a way that is suitable for a specific source code location. Represents the use of an F# symbol from F# source code Range of the open declaration. Modules or namespaces which is opened with this declaration. Idents. If it's `namespace Xxx.Yyy` declaration. Scope in which open declaration is visible. Represents open declaration in F# code. The named arguments for the attribute Indicates if the attribute type is in an unresolved assembly The arguments to the constructor for the attribute The type of the attribute Format the attribute using the rules of the given display context Represents a custom attribute attached to F# source code or a compiler .NET component Get the type definition for a type Indicates this is a named type in an unresolved assembly Indicates if the type is a tuple type (reference or struct). The GenericArguments property returns the elements of the tuple type. Indicates if the type is a struct tuple type. The GenericArguments property returns the elements of the tuple type. Indicates if the type is a variable type, whether declared, generalized or an inference type parameter Indicates if the type is a function type. The GenericArguments property returns the domain and range of the function type. Indicates if the type is an anonymous record type. The GenericArguments property returns the type instantiation of the anonymous record type Indicates this is an abbreviation for another type Indicates if the type is constructed using a named entity, including array and byref types Get the generic parameter data for a generic parameter type Get the generic arguments for a tuple type, a function type or a type constructed using a named entity Get the base type, if any, taking into account the instantiation of this type if it is an instantiation of a generic type. Get the details of the anonymous record type. Get all the interface implementations, by walking the type hierarchy, taking into account the instantiation of this type if it is an instantiation of a generic type. Get the type for which this is an abbreviation Adjust the types in a group of curried parameters and return type by removing any occurrences of type inference variables, replacing them systematically with lower-case type inference variables such as <c>'a</c>. Adjust the types in a group of curried parameters by removing any occurrences of type inference variables, replacing them systematically with lower-case type inference variables such as <c>'a</c>. Adjust the types in a group of parameters by removing any occurrences of type inference variables, replacing them systematically with lower-case type inference variables such as <c>'a</c>. Adjust the type in a single parameter by removing any occurrences of type inference variables, replacing them systematically with lower-case type inference variables such as <c>'a</c>. Adjust a group of types by removing any occurrences of type inference variables, replacing them systematically with lower-case type inference variables such as <c>'a</c>. Adjust the type by removing any occurrences of type inference variables, replacing them systematically with lower-case type inference variables such as <c>'a</c>. Instantiate generic type parameters in a type Format the type using the rules of the given display context Format the type using the rules of the given display context Internal use only. Create a ground type. Get the type indicating signature of the active pattern The names of the active pattern cases The whole group name Indicate this is a total active pattern Try to get the entity in which the active pattern is declared Represents all cases within an active pattern XML documentation signature for the active pattern case, used for .xml file lookup for compiled code Get the in-memory XML documentation for the active pattern case, used when code is checked in-memory The name of the active pattern case Index of the case in the pattern group The group of active pattern cases this belongs to The location of declaration of the active pattern case A subtype of FSharpSymbol that represents a single case within an active pattern The declared or inferred type of the parameter The optional name of the parameter Indicate this is a param array argument Indicate this is an out argument Indicate this is an optional argument Indicate this is an in argument The declaration location of the parameter The declared attributes of the parameter A subtype of FSharpSymbol that represents a parameter XML documentation signature for the value, used for .xml file lookup for compiled code Get the in-memory XML documentation for the value, used when code is checked in-memory Get an associated setter method of the property Get the logical name of the member Indicates if this is a [<Literal>] value, and if so what value? (may be null) Indicated if this is a value Indicated if this is a value compiled to a method Indicates if the member, function or value is in an unresolved assembly Indicates if this is an F# type function Indicates if this is a setter method for a property, or a use of a property in setter mode Indicates if this is a setter method for a property, or a use of a property in setter mode Indicates if this is a getter method for a property, or a use of a property in getter mode Indicates if this is a property member Indicates if this is an 'override', 'default' or an explicit implementation of an interface member Indicates if this is a mutable value Indicates if this is a module or member value Indicates if this is the "x" in "member x.M = ..." Indicates if this is a member, including extension members? Indicates if this is an instance member in compiled code. Explanatory note: some members such as IsNone and IsSome on types with UseNullAsTrueValue appear as instance members in F# code but are compiled as static members. Indicates if this is an instance member, when seen from F#? Indicates if this is an implicit constructor? Indicates if this is a getter method for a property, or a use of a property in getter mode Indicates if this is an extension member? Indicates if this is an explicit implementation of an interface member Indicates if this is a remove method for an event Indicates if this is an add method for an event Indicates if this is an event member Indicates if this is an abstract member? Indicates if this is the "x" in "type C() as x = ..." Indicates if this is a constructor. Indicates if this is a compiler generated value Indicates if this is "base" in "base.M(...)" Indicates if this value or member is an F# active pattern Get a result indicating if this is a must-inline value Gets the list of the abstract slot signatures implemented by the member Indicates if this is a property and there exists an associated setter method Indicates if this is a property and there exists an associated getter method Get an associated getter method of the property Get the typars of the member, function or value Get the full type of the member, function or value when used as a first class value Get an associated remove method of an event Indicate if an event can be considered to be a property for the F# type system of type IEvent or IDelegateEvent. In this case ReturnParameter will have a type corresponding to the property type. For non-standard events, ReturnParameter will have a type corresponding to the delegate type. Gets the event symbol implied by the use of a property, for the case where the property is actually an F#-declared CLIEvent. Uses of F#-declared events are considered to be properties as far as the language specification and this API are concerned. Get an associated delegate type of an event Get an associated add method of an event Get the name as presented in F# error messages and documentation Get the enclosing entity for the definition Get the declaration location of the member, function or value Get the member name in compiled code Custom attributes attached to the value. These contain references to other values (i.e. constructors in types). Mutable to fixup these value references after copying a collection of values. Get the logical enclosing entity, which for an extension member is type being extended Get the accessibility information for the member, function or value Gets the overloads for the current method matchParameterNumber indicates whether to filter the overloads to match the number of parameters in the current symbol Format the type using the rules of the given display context A subtype of F# symbol that represents an F# method, property, event, function or value, including extension members. Indicates the value is aggressively inlined by the .NET runtime Indicates the value is never inlined Indicates the value is optionally inlined Indicates the value is inlined but compiled code for the function still exists, e.g. to satisfy interfaces on objects, but that it is also always inlined Indicates the value is inlined and compiled code for the function does not exist Gets further information about a choice constraint Gets further information about a member constraint Indicates a constraint that a type is an unmanaged type Indicates a constraint that a type has a 'null' value Indicates a constraint that is a type is a simple choice between one of the given ground types. Used by printf format strings. Indicates a constraint that a type has a parameterless constructor Indicates a constraint that a type is a reference type Indicates a constraint that a type is a non-Nullable value type Indicates a constraint that a type has a member with the given signature Indicates a constraint that a type supports F# generic equality Indicates a constraint that a type is an enum with the given underlying Indicates a constraint that a type is a delegate from the given tuple of args to the given return type Indicates a default value for an inference type variable should it be neither generalized nor solved Indicates a constraint that a type supports F# generic comparison Indicates a constraint that a type is a subtype of the given type Gets further information about an enumeration constraint Gets further information about a delegate constraint Gets further information about a defaults-to constraint Gets further information about a coerces-to constraint Represents a constraint on a generic type parameter Get the default type associated with the 'defaults to' constraint Get the priority off the 'defaults to' constraint Represents further information about a 'defaults to' constraint on a generic type parameter Get the tupled argument type required by the constraint Get the return type required by the constraint Represents further information about a delegate constraint on a generic type parameter Get the types that may be used to satisfy the constraint Get the return type of the method required by the constraint Get the name of the method required by the constraint Indicates if the the method required by the constraint must be static Get the argument types of the method required by the constraint Represents further information about a member constraint on a generic type parameter Get the name of the static parameter Get the kind of the static parameter Indicates if the static parameter is optional Get the default value for the static parameter Get the declaration location of the static parameter A subtype of FSharpSymbol that represents a static parameter to an F# type provider Get the in-memory XML documentation for the type parameter, used when code is checked in-memory Get the name of the generic parameter Indicates if this is a statically resolved type variable Indicates if this is a measure variable Indicates if this is a compiler generated type parameter Get the range of the generic parameter Get the declared or inferred constraints for the type parameter Get the declared attributes of the type parameter. A subtype of FSharpSymbol that represents a generic parameter for an FSharpSymbol Represents the rights of a compilation to access symbols Get the XML documentation signature for .xml file lookup for the field, used for .xml file lookup for compiled code Get the in-memory XML documentation for the field, used when code is checked in-memory Get the attributes attached to generated property Get the name of the field Get the default initialization info, for static literals Indicates if the field is declared volatile Indicates if the record field is for a type in an unresolved assembly Indicates if the field is declared in a union case Indicates a static field Indicates if the field name was generated by compiler (e.g. ItemN names in union cases and DataN in exceptions). This API returns true for source defined symbols only. Indicates if the field is declared 'static' Indicates if the field has a literal value Indicates if the field declared is declared 'DefaultValue' Indicates a compiler generated field, not visible to Intellisense or name resolution Is this a field from an anonymous record type? Get the type of the field, w.r.t. the generic parameters of the enclosing type constructor Get the attributes attached to generated field Returns the declaring union case symbol Get the declaring entity of this field, if any. Fields from anonymous types do not have a declaring entity Get the declaration location of the field If the field is from an anonymous record type then get the details of the field including the index in the sorted array of fields Indicates if the declared visibility of the field, not taking signatures into account A subtype of FSharpSymbol that represents a record or union case field as seen by the F# language The sorted labels of the anonymous type Names of any enclosing types of the compiled form of the anonymous type (if the anonymous type was defined as a nested type) The name of the compiled form of the anonymous type The assembly where the compiled form of the anonymous type is defined A subtype of FSharpSymbol that represents a record or union case field as seen by the F# language Get the XML documentation signature for .xml file lookup for the union case, used for .xml file lookup for compiled code Get the in-memory XML documentation for the union case, used when code is checked in-memory Get the data carried by the case. Get the type constructed by the case. Normally exactly the type of the enclosing type, sometimes an abbreviation of it Get the name of the union case Indicates if the union case is for a type in an unresolved assembly Indicates if the union case has field definitions Get the range of the name of the case Get the name of the case in generated IL code Get the attributes for the case, attached to the generated static method to make instances of the case Indicates if the declared visibility of the union constructor, not taking signatures into account A subtype of FSharpSymbol that represents a union case as seen by the F# language Get the name of the abstract slot Get the generic arguments of the abstract slot Get the generic arguments of the type defining the abstract slot Get the declaring type of the abstract slot Get the return type of the abstract slot Get the arguments of the abstract slot Represents the signature of an abstract slot of a class or interface The declared or inferred type of the parameter The optional name of the parameter Indicate this is an out argument Indicate this is an optional argument Indicate this is an in argument The declared attributes of the parameter Represents a parameter in an abstract method of a class or interface Get the return type of the delegate signature Get the argument types of the delegate signature Represents a delegate signature in an F# symbol Get the XML documentation signature for the entity, used for .xml file lookup for compiled code Get the in-memory XML documentation for the entity, used when code is checked in-memory Indicates if the type prefers the "tycon<a,b>" syntax for display etc. Get the cases of a union type Get the full name of the type or module if it is available Get the static parameters for a provided type Get the declared accessibility of the representation, not taking signatures into account Get the fully qualified name of the type or module Get the modules and types defined in a module, or the nested types of a type Get the namespace containing the type or module, if any. Use 'None' for item not in a namespace. Get the properties, events and methods of a type definitions, or the functions and values of a module Get the name of the type or module, possibly with `n mangling Indicates if the entity is a struct or enum Indicates if the entity is in an unresolved assembly Indicates if the entity is a 'fake' symbol related to a static instantiation of a type provider Indicates if the entity is a generated provided type Indicates if the entity is an erased provided type Indicates if the entity is a provided type Indicates if the entity is a type definition for a reference type where the implementation details are hidden by a signature Indicates if the entity is a part of a namespace path Indicates if the entity is a measure definition Indicates if the entity is an interface type definition Indicates if the entity is union type Indicates if the entity is record type Indicates if the entity is an F# module definition Indicates an F# exception declaration Indicates if the entity is a measure, type or exception abbreviation Indicates if this is a reference to something in an F#-compiled assembly Indicates if the entity is an enum type definition Indicates if the entity is a delegate type definition Indicates if the entity is a class type definition Indicates if is the 'byref<_>' type definition used for byref types in F#-compiled assemblies Check if the entity inherits from System.Attribute in its type hierarchy Indicates if the entity is an array type Indicates that a module is compiled to a class with the given mangled name. The mangling is reversed during lookup Indicates if the type is implemented through a mapping to IL assembly code. This is only true for types in FSharp.Core.dll Get the generic parameters, possibly including unit-of-measure parameters Get the full name of the type or module Get the fields of a record, class, struct or enum from the perspective of the F# language. This includes static fields, the 'val' bindings in classes and structs, and the value definitions in enums. For classes, the list may include compiler generated fields implied by the use of primary constructors. Indicates if the type is a delegate with the given Invoke signature Get the name of the type or module as displayed in F# code Get the enclosing entity for the definition Get the declared interface implementations Get the declaration location for the type constructor Get the compiled name of the type or module, possibly with `n mangling. This is identical to LogicalName unless the CompiledName attribute is used. Get the base type, if any Get the declared attributes for the type Get the rank of an array type Get all the interface implementations, by walking the type hierarchy Get all compilation paths, taking `Module` suffixes into account. Get all active pattern cases defined in all active patterns in the module. Get the declared accessibility of the type Get the path used to address the entity (e.g. "Namespace.Module1.NestedModule2"). Gives "global" for items not in a namespace. Get the type abbreviated by an F# type abbreviation A subtype of FSharpSymbol that represents a type definition or module as seen by the F# language The (non-nested) module and type definitions in this signature Get the declared attributes for the assembly. Only available when parsing an entire project. Find entity using compiled names Represents an inferred signature of part of an assembly as seen by the F# language The simple name for the assembly The qualified name of the assembly Indicates if the assembly was generated by a type provider and is due for static linking The file name for the assembly, if any The contents of the this assembly Represents an assembly as seen by the F# language Get the signature location for the symbol if it was declared in an implementation Get the implementation location for the symbol if it was declared in a signature that has an implementation Get a textual representation of the full name of the symbol. The text returned for some symbols may not be a valid identifier path in F# code, but rather a human-readable representation of the symbol. Gets the short display name for the symbol Get the declaration location for the symbol Get the assembly declaring this symbol Return true if two symbols are effectively the same when referred to in F# source code text. This sees through signatures (a symbol in a signature will be considered effectively the same as the matching symbol in an implementation). In addition, other equivalences are applied when the same F# source text implies the same declaration name - for example, constructors are considered to be effectively the same symbol as the corresponding type definition. This is the relation used by GetUsesOfSymbol and GetUsesOfSymbolInFile. Computes if the symbol is accessible for the given accessibility rights A hash compatible with the IsEffectivelySameAs relation Represents a symbol in checked F# source code or a compiled .NET component. The subtype of the symbol may reveal further information and can be one of FSharpEntity, FSharpUnionCase FSharpField, FSharpGenericParameter, FSharpStaticParameter, FSharpMemberOrFunctionOrValue, FSharpParameter, or FSharpActivePatternCase. Represents the information needed to format types and other information in a style suitable for use in F# source text at a particular source location. Acquired via GetDisplayEnvAtLocationAlternate and similar methods. May be passed to the Format method on FSharpType and other methods. Indicates the symbol has public accessibility. Indicates the symbol has protected accessibility. Indicates the symbol has private accessibility. Indicates the symbol has internal accessibility. The underlying Accessibility Indicates the accessibility of a symbol, as seen by the F# language The signature of the implemented abstract slot The generic parameters of the method The parameters of the method The expression that forms the body of the method Represents a checked method in an object expression, as seen by the F# language. The type of the expression The range of the expression The immediate sub-expressions of the expression. Represents a checked and reduced expression, as seen by the F# language. The active patterns in 'FSharp.Compiler.SourceCodeServices' can be used to analyze information about the expression. Pattern matching is reduced to decision trees and conditional tests. Some other constructs may be represented in reduced form. Represents the declaration of a static initialization action Represents the declaration of a member, function or value, including the parameters and body of the member Represents the declaration of a type Represents a declaration in an implementation file, as seen by the F# language The qualified name acts to fully-qualify module specifications and implementations Indicates if the implementation file is a script Indicates if the implementation file has an explicit entry point Get the system path of the implementation file Get the declarations that make up this implementation file Represents the definitional contents of a single file or fragment in an assembly, as seen by the F# language The contents of the implementation files in the assembly Represents the definitional contents of an assembly, as seen by the F# language The timespan in milliseconds before background work begins after the operations queue is empty Get the reactor The timespan in milliseconds before background work begins after the operations queue is empty For debug purposes Block until the current implicit background build is complete. Unit test only. Allows to specify the language for error messages Set the background building function, which is called repeatedly until it returns 'false'. If None then no background operation is used. Enqueue an uncancellable operation and return immediately. Put the operation in the queue, and return an async handle to its result. Block until all operations in the queue are complete Cancel any work being don by the background building function. Reactor is intended for long-running but interruptible operations, interleaved with one-off asynchronous operations. It is used to guard the global compiler state while maintaining responsiveness on the UI thread. Reactor operations Enqueue an operation and return immediately. Put the operation in the queue, and return an async handle to its result. Represents the capability to schedule work in the compiler service operations queue for the compilation thread A kind that determines what range in a source's text is semantically classified as after type-checking. A builder that will build an item key store based on the written Item and its associated range. Stores a list of item key strings and their ranges in a memory mapped file. Tokenizer for a source file. Holds some expensive-to-compute resources at the scope of the file. Scan one token from the line Object to tokenize a line of F# source code, starting with the given lexState. The lexState should be FSharpTokenizerLexState.Initial for the first line of text. Returns an array of ranges of the text and two enumerations categorizing the tokens and characters covered by that range, i.e. FSharpTokenColorKind and FSharpTokenCharKind. The enumerations are somewhat adhoc but useful enough to give good colorization options to the user in an IDE. A new lexState is also returned. An IDE-plugin should in general cache the lexState values for each line of the edited code. The full length consumed by this match, including delayed tokens (which can be ignored in naive lexers) Provides additional information about the token The tag is an integer identifier for the token Actions taken when the token is typed Gives an indication of the class to assign to the token an IDE Right column of the token. Left column of the token. Information about a particular token from the tokenizer Gives an indication of the class to assign to the characters of the token an IDE Gives an indication of what should happen when the token is typed in an IDE Gives an indication of the color class to assign to the token an IDE Represents stable information for the state of the lexing engine at the end of a line Represents encoded information for the end-of-line continuation of lexing Represents result of 'GetNavigationItems' operation - this contains all the members and currently selected indices. First level correspond to types & modules and second level are methods etc. Represents top-level declarations (that should be in the type drop-down) with nested declarations (that can be shown in the member drop-down) Represents an item to be displayed in the navigation bar Indicates a kind of item to show in an F# navigation bar The locations of commas and close parenthesis (or, last char of last arg, if no final close parenthesis) The location of the open-parentheses Either empty or a name if an actual named parameter; f(0,a=4,?b=None) would be [|None; Some "a"; Some "b"|] The start location of long identifier prior to the open-parentheses The end location of long identifier prior to the open-parentheses The text of the long identifier prior to the open-parentheses Is false if either this is a call without parens "f x" or the parser recovered as in "f(x,y" Find the information about parameter info locations at a particular source location Represents the locations relevant to activating parameter info in an IDE completing pattern type (e.g. foo (x: |)) completing named parameters\setters in parameter list of constructor\method calls end of name ast node * list of properties\parameters that were already set completing records field completing something after the inherit keyword completion context cannot be determined due to errors The syntax tree resulting from the parse Indicates if any errors occurred during the parse Name of the file for which this information were created Get the errors and warnings for the parse When these files change then the build is invalid Return the inner-most range associated with a possible breakpoint location Get declared items and the selected item at the specified location Notable parse info for ParameterInfo at a given location Represents the results of parsing an F# file The methods (or other items) in the group The shared name of the methods (or other items) in the group Represents a group of methods (or other items) returned by GetMethods. The documentation for the item The The structured description representation for the method (or other item) The structured description representation for the method (or other item) Does the type name or method support a static arguments list, like TP<42,"foo"> or conn.CreateCommand<42, "foo">(arg1, arg2)? The formatted type text for the method (or other item) The parameters of the method in the overload set Does the method support an arguments list? This is always true except for static type instantiations like TP<42,"foo">. Does the method support a params list arg? The formatted description text for the method (or other item) Represents one method (or other item) in a method group. The item may represent either a method or a single, non-overloaded item such as union case or a named function value. The structured representation for the parameter including its name, its type and visual indicators of other information such as whether it is optional. The name of the parameter. Is the parameter optional The text to display for the parameter including its name, its type and visual indicators of other information such as whether it is optional. A key that can be used for sorting the parameters, used to help sort overloads. Represents one parameter for one method (or other item) in a group. Represents a set of declarations in F# source code, with information attached ready for display by an editor. Returned by GetDeclarations. Get the description text, asynchronously. Never returns "Loading...". Get the description text for the declaration. Computing this property may require using compiler resources and may trigger execution of a type provider method to retrieve documentation. May return "Loading..." if timeout occurs Get the name for the declaration as it's presented in source code. Get the display name for the declaration. Represents a declaration in F# source code, with information attached ready for display by an editor. Returned by GetDeclarations. Where open statements should be added. Current position (F# compiler line number). Current scope kind. Insert open namespace context. Kind of lexical scope. Last part of the entity's full name. Full display name (i.e. last ident plus modules with `RequireQualifiedAccess` attribute prefixed). Namespace that is needed to open to make the entity resolvable in the current scope. Ident parts needed to append to the current ident to make it resolvable in current scope. Full name, relative to the current scope. Helper data structure representing a symbol, suitable for implementing unresolved identifiers resolution code fixes. Long identifier (i.e. it may contain dots). Performs an operation on the cache in thread safe manner. Clears the cache. Thread safe wrapper over `IAssemblyContentCache`. Try get an assembly cached content. Store an assembly content. Assembly content cache. Assembly content. Content type used to get assembly content. Assembly file last write time. `RawEntity` list retrieved from an assembly. Cache display name and namespace, used for completion. Function that returns `EntityKind` based of given `LookupKind`. Parent module that has `AutoOpen` attribute. Parent module that has the largest scope and has `RequireQualifiedAccess` attribute. The most narrative parent module that has `RequireQualifiedAccess` attribute. `FSharpEntity.Namespace`. Entity name parts with removed module suffixes (Ns.M1Module.M2Module.M3.entity -> Ns.M1.M2.M3.entity) and replaced compiled names with display names (FSharpEntity.DisplayName, FSharpValueOrFunction.DisplayName). Note: *all* parts are cleaned, not the last one. Full entity name as it's seen in compiled code (raw FSharpEntity.FullName, FSharpValueOrFunction.FullName). Represents type, module, member, function or value in a compiled assembly. Assembly path. Entity lookup type. Array of `MaybeUnresolvedIdent`. `ShortIdent` with a flag indicating if it's resolved in some scope. An array of `ShortIdent`. Short identifier, i.e. an identifier that contains no dots. All assembly content. Public assembly content only. Assembly content type. Represent an Xml documentation block in source code Represents a symbol in an external (non F#) assembly Represents the type of a single method parameter Type variable defined in non-F# assembly. Pointer defined in non-F# assembly. Array of type that is defined in non-F# assembly. Type defined in non-F# assembly. Represents a type in an external (non F#) assembly. Get the resolution of the ProjectOptions Indicates if critical errors existed in the project options The errors returned by processing the project Indicates the set of files which must be watched to accurately track changes that affect these results, Clients interested in reacting to updates to these files should watch these files and take actions as described in the documentation for compiler service. Get a view of the overall signature of the assembly. Only valid to use if HasCriticalErrors is false. Get a view of the overall contents of the assembly. Only valid to use if HasCriticalErrors is false. Get the textual usages that resolved to the given symbol throughout the project Get an optimized view of the overall contents of the assembly. Only valid to use if HasCriticalErrors is false. Get all textual usages of all symbols throughout the project A handle to the results of CheckFileInProject. Success Aborted because cancellation caused an abandonment of the operation The result of calling TypeCheckResult including the possibility of abort and background compiler not caught up. Get the resolution of the ProjectOptions Get a view of the contents of the assembly up to and including the file just checked Open declarations in the file, including auto open modules. Represents complete typechecked implementation file, including its typechecked signatures if any. Indicates whether type checking successfully occurred with some results returned. If false, indicates that an unrecoverable error in earlier checking/parsing/resolution steps. The errors returned by parsing a source file. Indicates the set of files which must be watched to accurately track changes that affect these results, Clients interested in reacting to updates to these files should watch these files and take actions as described in the documentation for compiler service. Tries to get the current successful TcImports. This is only used in testing. Do not use it for other stuff. Internal constructor Internal constructor Determines if a long ident is resolvable at a specific point. <param name="userOpName">An optional string used for tracing compiler operations associated with this request.</param> Determines if a long ident is resolvable at a specific point. <param name="userOpName">An optional string used for tracing compiler operations associated with this request.</param> Get the textual usages that resolved to the given symbol throughout the file Compute a formatted tooltip for the given location The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. Used to discriminate between 'identifiers', 'strings' and others. For strings, an attempt is made to give a tooltip for a #r "..." location. Use a value from FSharpTokenInfo.Tag, or FSharpTokenTag.Identifier, unless you have other information available. An optional string used for tracing compiler operations associated with this request. Resolve the names at the given location to a use of symbol. The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. An optional string used for tracing compiler operations associated with this request. Compute a formatted tooltip for the given location The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. Used to discriminate between 'identifiers', 'strings' and others. For strings, an attempt is made to give a tooltip for a #r "..." location. Use a value from FSharpTokenInfo.Tag, or FSharpTokenTag.Identifier, unless you have other information available. An optional string used for tracing compiler operations associated with this request. Get any extra colorization info that is available after the typecheck Compute a set of method overloads to show in a dialog relevant to the given code location. The resulting method overloads are returned as symbols. The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. An optional string used for tracing compiler operations associated with this request. Compute a set of method overloads to show in a dialog relevant to the given code location. The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. An optional string used for tracing compiler operations associated with this request. Get the locations of and number of arguments associated with format specifiers Get the locations of format specifiers Compute the Visual Studio F1-help key identifier for the given location, based on name resolution results The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. An optional string used for tracing compiler operations associated with this request. Find the most precise display environment for the given line and column. Resolve the names at the given location to the declaration location of the corresponding construct. The line number where the information is being requested. The column number at the end of the identifiers where the information is being requested. The text of the line where the information is being requested. The identifiers at the location where the information is being requested. If not given, then get the location of the symbol. If false, then prefer the location of the corresponding symbol in the implementation of the file (rather than the signature if present). If true, prefer the location of the corresponding symbol in the signature of the file (rather than the implementation). An optional string used for tracing compiler operations associated with this request. Get the items for a declaration list in FSharpSymbol format If this is present, it is used to filter declarations based on location in the parse tree, specifically at 'open' declarations, 'inherit' of class or interface 'record field' locations and r.h.s. of 'range' operator a..b The line number where the completion is happening Partial long name. QuickParse.GetPartialLongNameEx can be used to get it. The text of the line where the completion is happening. This is only used to make a couple of adhoc corrections to completion accuracy (e.g. checking for "..") Function that returns all entities from current and referenced assemblies. If text has been used from a captured name resolution from the typecheck, then callback to the client to check if the text has changed. If it has, then give up and assume that we're going to repeat the operation later on. An optional string used for tracing compiler operations associated with this request. Get the items for a declaration list If this is present, it is used to filter declarations based on location in the parse tree, specifically at 'open' declarations, 'inherit' of class or interface 'record field' locations and r.h.s. of 'range' operator a..b The line number where the completion is happening Partial long name. QuickParse.GetPartialLongNameEx can be used to get it. The text of the line where the completion is happening. This is only used to make a couple of adhoc corrections to completion accuracy (e.g. checking for "..") Function that returns all entities from current and referenced assemblies. If text has been used from a captured name resolution from the typecheck, then callback to the client to check if the text has changed. If it has, then give up and assume that we're going to repeat the operation later on. An optional string used for tracing compiler operations associated with this request. Get all textual usages of all symbols throughout the file Internal constructor - check a file and collect errors A handle to the results of CheckFileInProject. Options used to determine active --define conditionals and other options relevant to parsing files in a project Get the accessibility rights for this project context w.r.t. InternalsVisibleTo attributes granting access to other assemblies Get the resolution and full contents of the assemblies referenced by the project options Represents the checking context implied by the ProjectOptions Indicates an external declaration was found Indicates a declaration location was found Indicates a declaration location was not found, with an additional reason Represents the result of the GetDeclarationLocation operation. Trying to find declaration of ProvidedMember without TypeProviderDefinitionLocationAttribute Trying to find declaration of ProvidedType without TypeProviderDefinitionLocationAttribute Source code file is not available Generic reason: no particular information about error apart from a message Represents the reason why the GetDeclarationLocation operation failed. The default location of FSharp.Core.dll and fsc.exe based on the version of fsc.exe that is running Information about the compilation environment Get or set the pause time in milliseconds before background work is started. A maximum number of megabytes of allocated memory. If the figure reported by <c>System.GC.GetTotalMemory(false)</c> goes over this limit, the FSharpChecker object will attempt to free memory and reduce cache sizes to a minimum.</param> Get or set a flag which controls if background work is started implicitly. If true, calls to CheckFileInProject implicitly start a background check of that project, replacing any other background checks in progress. This is useful in IDE applications with spare CPU cycles as it prepares the project analysis results for use. The default is 'true'. Notify the host that a project has been fully checked in the background (using file contents provided by the file system API) The event may be raised on a background thread. Get or set the pause time in milliseconds before background work is started. Raised after the maxMB memory threshold limit is reached A maximum number of megabytes of allocated memory. If the figure reported by <c>System.GC.GetTotalMemory(false)</c> goes over this limit, the FSharpChecker object will attempt to free memory and reduce cache sizes to a minimum.</param> Get or set a flag which controls if background work is started implicitly. If true, calls to CheckFileInProject implicitly start a background check of that project, replacing any other background checks in progress. This is useful in IDE applications with spare CPU cycles as it prepares the project analysis results for use. The default is 'true'. Report a statistic for testability Report a statistic for testability Raised after a parse of a file in the background analysis. The event will be raised on a background thread. Raised after a check of a file in the background analysis. The event will be raised on a background thread. Current queue length of the service, for debug purposes. In addition, a single async operation or a step of a background build may be in progress - such an operation is not counted in the queue length. Notify the host that the logical type checking context for a file has now been updated internally and that the file has become eligible to be re-typechecked for errors. The event will be raised on a background thread. Block until the background compile finishes. Try to get type check results for a file. This looks up the results of recent type checks of the same file, regardless of contents. The version tag specified in the original check of the file is returned. If the source of the file has changed the results returned by this function may be out of date, though may still be usable for generating intellisense menus and information. The filename for the file. The options for the project or script, used to determine active --define conditionals and other options relevant to parsing. Optionally, specify source that must match the previous parse precisely. An optional string used for tracing compiler operations associated with this request. Tokenize a single line, returning token information and a tokenization state represented by an integer Tokenize an entire file, line by line Stop the background compile. Parses a source code for a file. Returns an AST that can be traversed for various features. The path for the file. The file name is also as a module name for implicit top level modules (e.g. in scripts). The source to be parsed. Parsing options for the project or script. An optional string used for tracing compiler operations associated with this request. Parses a source code for a file. Returns an AST that can be traversed for various features. The path for the file. The file name is also as a module name for implicit top level modules (e.g. in scripts). The source to be parsed. Parsing options for the project or script. An optional string used for tracing compiler operations associated with this request. Parses a source code for a file and caches the results. Returns an AST that can be traversed for various features. The path for the file. The file name is used as a module name for implicit top level modules (e.g. in scripts). The source to be parsed. Parsing options for the project or script. An optional string used for tracing compiler operations associated with this request. Parse and typecheck all files in a project. All files are read from the FileSystem API The options for the project or script. An optional string used for tracing compiler operations associated with this request. Parse and check a source code file, returning a handle to the results Note: all files except the one being checked are read from the FileSystem API Return FSharpCheckFileAnswer.Aborted if a parse tree was not available. The name of the file in the project whose source is being checked. An integer that can be used to indicate the version of the file. This will be returned by TryGetRecentCheckResultsForFile when looking up the file. The full source for the file. The options for the project or script. An item passed back to 'hasTextChangedSinceLastTypecheck' (from some calls made on 'FSharpCheckFileResults') to help determine if an approximate intellisense resolution is inaccurate because a range of text has changed. This can be used to marginally increase accuracy of intellisense results in some situations. An optional string used for tracing compiler operations associated with this request. This function is called when a project has been cleaned/rebuilt, and thus any live type providers should be refreshed. An optional string used for tracing compiler operations associated with this request. Parse a source code file, returning information about brace matching in the file. Return an enumeration of the matching parenthetical tokens in the file. The filename for the file, used to help caching of results. The full source for the file. Parsing options for the project or script. An optional string used for tracing compiler operations associated with this request. Parse a source code file, returning information about brace matching in the file. Return an enumeration of the matching parenthetical tokens in the file. The filename for the file, used to help caching of results. The full source for the file. Parsing options for the project or script. An optional string used for tracing compiler operations associated with this request. This function is called when the configuration is known to have changed for reasons not encoded in the ProjectOptions. For example, dependent references may have been deleted or created. <param name="startBackgroundCompileIfAlreadySeen">Start a background compile of the project if a project with the same name has already been seen before.</param> <param name="userOpName">An optional string used for tracing compiler operations associated with this request.</param> This function is called when the entire environment is known to have changed for reasons not encoded in the ProjectOptions of any project/compilation. For a given script file, get the FSharpProjectOptions implied by the #load closure. All files are read from the FileSystem API, except the file being checked. Used to differentiate between scripts, to consider each script a separate project. Also used in formatted error messages. Indicates when the script was loaded into the editing environment, so that an 'unload' and 'reload' action will cause the script to be considered as a new project, so that references are re-resolved. An optional string used for tracing compiler operations associated with this request. Get the FSharpProjectOptions implied by a set of command line arguments. Used to differentiate between projects and for the base directory of the project. The command line arguments for the project build. Indicates when the script was loaded into the editing environment, so that an 'unload' and 'reload' action will cause the script to be considered as a new project, so that references are re-resolved. Get the FSharpParsingOptions implied by a FSharpProjectOptions. The command line arguments for the project build. Get the FSharpParsingOptions implied by a set of command line arguments. The command line arguments for the project build. Get the FSharpParsingOptions implied by a set of command line arguments and list of source files. Initial source files list. Additional files may be added during argv evaluation. The command line arguments for the project build. Get semantic classification for a file. All files are read from the FileSystem API, including the file being checked. The filename for the file. The options for the project or script, used to determine active --define conditionals and other options relevant to parsing. An optional string used for tracing compiler operations associated with this request. Like ParseFile, but uses results from the background builder. All files are read from the FileSystem API, including the file being checked. The filename for the file. The options for the project or script, used to determine active --define conditionals and other options relevant to parsing. An optional string used for tracing compiler operations associated with this request. Like CheckFileInProject, but uses the existing results from the background builder. All files are read from the FileSystem API, including the file being checked. The filename for the file. The options for the project or script, used to determine active --define conditionals and other options relevant to parsing. An optional string used for tracing compiler operations associated with this request. Optimized find references for a given symbol in a file of project. All files are read from the FileSystem API, including the file being checked. The filename for the file. The options for the project or script, used to determine active --define conditionals and other options relevant to parsing. The symbol to find all uses in the file. An optional string used for tracing compiler operations associated with this request. Create an instance of an FSharpChecker. The optional size of the project checking cache. Keep the checked contents of projects. If false, do not keep full intermediate checking results from background checking suitable for returning from GetBackgroundCheckResultsForFileInProject. This reduces memory usage. An optional resolver for non-file references, for legacy purposes An optional resolver to access the contents of .NET binaries in a memory-efficient way TypeCheck and compile provided AST An optional string used for tracing compiler operations associated with this request. Compiles to a dynamic assembly using the given flags. The first argument is ignored and can just be "fsc.exe". Any source files names are resolved via the FileSystem API. An output file name must be given by a -o flag, but this will not be written - instead a dynamic assembly will be created and loaded. If the 'execute' parameter is given the entry points for the code are executed and the given TextWriters are used for the stdout and stderr streams respectively. In this case, a global setting is modified during the execution. An optional string used for tracing compiler operations associated with this request. TypeCheck and compile provided AST An optional string used for tracing compiler operations associated with this request. Compile using the given flags. Source files names are resolved via the FileSystem API. The output file must be given by a -o flag. The first argument is ignored and can just be "fsc.exe". An optional string used for tracing compiler operations associated with this request. Flush all caches and garbage collect Set the project to be checked in the background. Overrides any previous call to <c>CheckProjectInBackground</c> Check a source code file, returning a handle to the results of the parse including the reconstructed types in the file. All files except the one being checked are read from the FileSystem API Note: returns NoAntecedent if the background builder is not yet done preparing the type check context for the file (e.g. loading references and parsing/checking files in the project that this file depends upon). In this case, the caller can either retry, or wait for FileTypeCheckStateIsDirty to be raised for this file. The results of ParseFile for this file. The name of the file in the project whose source is being checked. An integer that can be used to indicate the version of the file. This will be returned by TryGetRecentCheckResultsForFile when looking up the file. The full source for the file. The options for the project or script. An item passed back to 'hasTextChangedSinceLastTypecheck' (from some calls made on 'FSharpCheckFileResults') to help determine if an approximate intellisense resolution is inaccurate because a range of text has changed. This can be used to marginally increase accuracy of intellisense results in some situations. An optional string used for tracing compiler operations associated with this request. Check a source code file, returning a handle to the results Note: all files except the one being checked are read from the FileSystem API Return FSharpCheckFileAnswer.Aborted if a parse tree was not available. The results of ParseFile for this file. The name of the file in the project whose source is being checked. An integer that can be used to indicate the version of the file. This will be returned by TryGetRecentCheckResultsForFile when looking up the file. The full source for the file. The options for the project or script. An item passed back to 'hasTextChangedSinceLastTypecheck' (from some calls made on 'FSharpCheckFileResults') to help determine if an approximate intellisense resolution is inaccurate because a range of text has changed. This can be used to marginally increase accuracy of intellisense results in some situations. An optional string used for tracing compiler operations associated with this request. Used to parse and check F# source code. An optional stamp to uniquely identify this set of options If two sets of options both have stamps, then they are considered equal if and only if the stamps are equal Extra information passed back on event trigger Unused in this API and should be '[]' when used as user-specified input Unused in this API and should be 'None' when used as user-specified input Timestamp of project/script load, used to differentiate between different instances of a project load. This ensures that a complete reload of the project or script type checking context occurs on project or script unload/reload. When true, use the reference resolution rules for scripts rather than the rules for compiler. When true, the typechecking environment is known a priori to be incomplete, for example when a .fs file is opened outside of a project. In this case, the number of error messages reported is reduced. The command line arguments for the other projects referenced by this project, indexed by the exact text used in the "-r:" reference in FSharpProjectOptions. Additional command line argument options for the project. These can include additional files and references. The files in the project This is the unique identifier for the project, it is case sensitive. If it's None, will key off of ProjectFileName in our caching. A set of information describing a project or script build configuration. Unused in this API Capture information about an interface in ASTs Parses and checks the whole project, good for compilers (Fable etc.) Does not retain name resolutions and symbol uses which are quite memory hungry (so no intellisense etc.). Already parsed files will be cached so subsequent compilations will be faster. Parses and checks file in project, will compile and cache all the files up to this one (if not already done before), or fetch them from cache. Returns partial project results, up to and including the file requested. Returns parse and typecheck results containing name resolutions and symbol uses for the file requested only, so intellisense etc. works. Errors grouped by file, sorted by line, column Clears parse and typecheck caches. Matches expressions for an unresolved call to a trait Matches object expressions, returning the base type, the base call, the overrides and the interface implementations Matches expressions which set a field in a .NET type Matches expressions which fetch a field from a .NET type Matches expressions which are IL assembly code Matches expressions which create an instance of a delegate type Matches try/with expressions Matches try/finally expressions Matches while loops Matches fast-integer loops (up or down) Matches sequential expressions Matches expressions which take the address of a location Matches constant expressions, including signed and unsigned integers, strings, characters, booleans, arrays of bytes and arrays of unit16. Matches default-value expressions, including null expressions Matches expressions which set the contents of a mutable variable Matches expressions which set the contents of an address Matches expressions which test the runtime type of a value Matches array expressions Matches expressions which coerce the type of a value Matches expressions which get a value from a tuple Matches tuple expressions Matches expressions which test if an expression corresponds to a particular union case Matches expressions which gets the tag for a union case Matches expressions which set a field from a union case (only used in FSharp.Core itself) Matches expressions which get a field from a union case Matches expressions which create an object corresponding to a union case Matches expressions which set a field in a record or class Matches expressions which get a field from a record or class Matches expressions getting a field from an anonymous record. The integer represents the index into the sorted fields of the anonymous record. Matches anonymous record expressions Matches record expressions Matches expressions which are let-rec definitions Matches expressions which are quotation literals Matches expressions which are uses of the 'base' value Matches expressions which are uses of the 'this' value Matches expressions which are calls to object constructors Matches expressions which are calls to members or module-defined functions. When calling curried functions and members the arguments are collapsed to a single collection of arguments, as done in the compiled version of these. Matches expressions which are let definitions Matches expressions which are conditionals Matches expressions which are lambda abstractions Special expressions at the end of a conditional decision structure in the decision expression node of a DecisionTree . The given expressions are passed as values to the decision tree target. Matches expressions with a decision expression, each branch of which ends in DecisionTreeSuccess passing control and values to one of the targets. Matches expressions which are type abstractions Matches expressions which are the application of function values Matches expressions which are uses of values A collection of active patterns to analyze expressions Patterns over FSharpSymbol and derivatives. Extension methods for the TcResolutions type. Keywords paired with their descriptions. Used in completion and quick info. Remove backticks if present. Add backticks if the identifier is a keyword. Checks if adding backticks to identifier is needed. Indicates the token is keyword `new` Indicates the token is keyword `with` in #light Indicates the token is keyword `with` Indicates the token is keyword `try` Indicates the token is keyword `class` Indicates the token is keyword `struct` Indicates the token is keyword `else` Indicates the token is keyword `then` Indicates the token is keyword `function` Indicates the token is keyword `do` Indicates the token is keyword `begin` Indicates the token is a line comment Indicates the token is a comment Indicates the token is a whitespace Indicates the token is a `"` Indicates the token is a `<-` Indicates the token is a `->` Indicates the token is a `||` Indicates the token is a `:=` Indicates the token is a `~` Indicates the token is a `@@` Indicates the token is a `::` Indicates the token is a `|` Indicates the token is a `|` Indicates the token is a `:?` Indicates the token is a `:?>` Indicates the token is a `:>` Indicates the token is a `_` Indicates the token is a `..` Indicates the token is a `..^` Indicates the token is a `..` Indicates the token is a `..` Indicates the token is a `.` Indicates the token is a `,` Indicates the token is a `;` Indicates the token is a `=` Indicates the token is a `:` Indicates the token is a `?` Indicates the token is a `^` Indicates the token is a `%` Indicates the token is a `%` Indicates the token is a `*` Indicates the token is a `-` Indicates the token is a `+` or `-` Indicates the token is a `|]` Indicates the token is a `[|` Indicates the token is a `>` Indicates the token is a `<` Indicates the token is a `>]` Indicates the token is a `[<` Indicates the token is a `}` Indicates the token is a `{` Indicates the token is a `]` Indicates the token is a `[` Indicates the token is a `)` Indicates the token is a `(` Indicates the token is an string (synonym for FSharpTokenTag.String) Indicates the token is an identifier (synonym for FSharpTokenTag.Identifier) Indicates the token is a string Indicates the token is an identifier Some of the values in the field FSharpTokenInfo.Tag VisitTypeAbbrev(ty,m), defaults to ignoring this leaf of the AST VisitType allows overriding behavior when visiting type hints (x: ..., etc.) VisitType allows overriding behavior when visiting simple pats VisitRecordField allows overriding behavior when visiting l.h.s. of constructed record instances VisitPat allows overriding behavior when visiting patterns VisitModuleOrNamespace allows overriding behavior when visiting module or namespaces VisitModuleDecl allows overriding module declaration behavior VisitMatchClause allows overriding clause behavior (note: by default it would defaultTraverse expression) VisitLetOrUse allows overriding behavior when visiting module or local let or use bindings VisitInterfaceSynMemberDefnType allows overriding behavior for visiting interface member in types (by default - do nothing) VisitInheritSynMemberDefn allows overriding inherit behavior (by default do nothing) VisitImplicitInherit(defaultTraverse,ty,expr,m), defaults to just visiting expr VisitHashDirective allows overriding behavior when visiting hash directives in FSX scripts, like #r, #load and #I. VisitExpr(path, traverseSynExpr, defaultTraverse, expr) controls the behavior when a SynExpr is reached; it can just do defaultTraverse(expr) if you have no special logic for this node, and want the default processing to pick which sub-node to dive deeper into or can inject non-default behavior, which might incorporate: traverseSynExpr(subExpr) to recurse deeper on some particular sub-expression based on your own logic path helps to track AST nodes that were passed during traversal VisitComponentInfo allows overriding behavior when visiting type component infos VisitBinding allows overriding binding behavior (note: by default it would defaultTraverse expression) used to track route during traversal AST traverse an implementation file walking all the way down to SynExpr or TypeAbbrev at a particular location A range of utility functions to assist with traversing an AST Whether or not this file should be a single-file project Whether or not this file is compilable Information about F# source file names Safe version of `Entities`. Full operator compiled name. Full name with last part replaced with display name. Safe version of `FullType`. Safe version of `GetMembersFunctionsAndValues`. Public nested entities (methods, functions, values, nested modules). Safe version of `CompiledName`. Safe version of `DisplayName`. Safe version of `FullName`. Corrects insertion line number based on kind of scope and text surrounding the insertion point. Returns long identifier at position. Returns `InsertContext` based on current position and symbol idents. Returns `InsertContext` based on current position and symbol idents. Parse AST helpers. Returns (possibly cached) assembly content. Given a `FSharpAssemblySignature`, returns assembly content. Provides assembly content. Get the list of Xml documentation from current source code if it's a blank XML comment with trailing "<", returns Some (index of the "<"), otherwise returns None A set of helpers for dealing with F# files. All the keywords in the F# language A utility to help determine if an identifier needs to be quoted A set of helpers related to naming of identifiers Return the language ID, which is the expression evaluator id that the debugger will use. Information about the debugging environment Return true if this is a subcategory of error or warning message that the language service can emit Return the compilation defines that should be used when editing the given file. These are the names of assemblies that should be referenced for .fs or .fsi files that are not associated with a project. Information about the compilation environment Find corresponding interface declaration at a given position Generate stub implementation of an interface at a start column Check whether an entity is an interface or type abbreviation of an interface Get associated member names and ranges In case of properties, intrinsic ranges might not be correct for the purpose of getting positions of 'member', which indicate the indentation for generating new members Check whether an interface is empty Get members in the decreasing order of inheritance chain TextSpan in BlockSpan HintSpan in BlockSpan Stores the range for a construct, the sub-range that should be collapsed for outlinging, a tag for the construct type, and a tag for the collapse style Tag to identify the construct that can be stored alongside its associated ranges Collapse indicates the way a range/snapshot should be collapsed. `Same` is for a scope inside some kind of scope delimiter, e.g. `[| ... |]`, `[ ... ]`, `{ ... }`, etc. `Below` is for expressions following a binding or the right hand side of a pattern, e.g. `let x = ...` Returns outlining ranges for given parsed input. Get all unused declarations in a file The relative name that can be applied to a simplifiable name The range of a name that can be simplified Data for use in finding unnecessarily-qualified names and generating diagnostics to simplify them Get all ranges that can be simplified in a file Get all unused open declarations in a file