diff --git a/docs/release-notes/.FSharp.Compiler.Service/8.0.400.md b/docs/release-notes/.FSharp.Compiler.Service/8.0.400.md index 60394d22e23..82c4d3e5522 100644 --- a/docs/release-notes/.FSharp.Compiler.Service/8.0.400.md +++ b/docs/release-notes/.FSharp.Compiler.Service/8.0.400.md @@ -31,6 +31,7 @@ * Support empty-bodied computation expressions. ([Language suggestion #1232](https://github.com/fsharp/fslang-suggestions/issues/1232), [RFC FS-1144 (PR #774)](https://github.com/fsharp/fslang-design/pull/774), [PR #17352](https://github.com/dotnet/fsharp/pull/17352)) ### Changed +* `Initial refactoring of FSharp.Core` ([Issues #17372](https://github.com/dotnet/fsharp/issues/17372), [PR #17370](https://github.com/dotnet/fsharp/pull/17370)) * Enforce `AttributeTargets.Interface` ([PR #17173](https://github.com/dotnet/fsharp/pull/17173)) * Minor compiler perf improvements. ([PR #17130](https://github.com/dotnet/fsharp/pull/17130)) * Improve error messages for active pattern argument count mismatch ([PR #16846](https://github.com/dotnet/fsharp/pull/16846), [PR #17186](https://github.com/dotnet/fsharp/pull/17186)) diff --git a/docs/release-notes/.FSharp.Compiler.Service/9.0.100.md b/docs/release-notes/.FSharp.Compiler.Service/9.0.100.md index 7282b2d0b50..687d8225e34 100644 --- a/docs/release-notes/.FSharp.Compiler.Service/9.0.100.md +++ b/docs/release-notes/.FSharp.Compiler.Service/9.0.100.md @@ -6,5 +6,6 @@ ### Changed * Change compiler default setting realsig+ when building assemblies ([Issue #17384](https://github.com/dotnet/fsharp/issues/17384), [PR #17378](https://github.com/dotnet/fsharp/pull/17385)) * Change compiler default setting for compressedMetadata ([Issue #17379](https://github.com/dotnet/fsharp/issues/17379), [PR #17383](https://github.com/dotnet/fsharp/pull/17383)) +* Initial refactoring of FSharp.Core ([Issues #17372](https://github.com/dotnet/fsharp/issues/17372), [PR #17370](https://github.com/dotnet/fsharp/pull/17370)) ### Breaking Changes diff --git a/docs/release-notes/.FSharp.Core/9.0.100.md b/docs/release-notes/.FSharp.Core/9.0.100.md index 7050bf1a666..5733f02e2f9 100644 --- a/docs/release-notes/.FSharp.Core/9.0.100.md +++ b/docs/release-notes/.FSharp.Core/9.0.100.md @@ -5,6 +5,7 @@ ### Changed * Change compiler default setting realsig+ when building assemblies ([Issue #17384](https://github.com/dotnet/fsharp/issues/17384), [PR #17378](https://github.com/dotnet/fsharp/pull/17385)) * Change compiler default setting for compressedMetadata ([Issue #17379](https://github.com/dotnet/fsharp/issues/17379), [PR #17383](https://github.com/dotnet/fsharp/pull/17383)) +* Initial refactoring of FSharp.Core ([Issues #17372](https://github.com/dotnet/fsharp/issues/17372), [PR #17370](https://github.com/dotnet/fsharp/pull/17370)) ### Breaking Changes diff --git a/release-notes.md b/release-notes.md index 748f7575eb3..e9b7e36c594 100644 --- a/release-notes.md +++ b/release-notes.md @@ -27,7 +27,7 @@ These release notes track our current efforts to document changes to the F# proj A 'do expr' declaration in a module will correspond to a SynModuleDecl.Expr enclosing a SynExpr.Do This constructo also loses the debug point as it was always None. The debug point is always implicit for this construct. -* In FCS API, FSharpParsingOptions, `CompilingFsLib` --> `CompilingFSharpCore` +* In FCS API, FSharpParsingOptions, `CompilingFsLib` --> `compilingFSharpCore` * In FCS API, FSharpParsingOptions, `ErrorSeverityOptions` --> `DiagnosticOptions` * [SynIdent](https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synident.html#SynIdent) was introduced in the Untyped Syntax Tree. This represent an `Ident` with potential additional information, stored as [IdentTrivia](https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntaxtrivia-identtrivia.html)). @@ -40,6 +40,7 @@ These release notes track our current efforts to document changes to the F# proj * `DoesIdentifierNeedBackticks` is removed, it should always be sufficient to call `NormalizeIdentifierBackticks` or else call something in `PrettyNaming` * `AddBackticksToIdentifierIfNeeded` is removed, it should always be sufficient to call `NormalizeIdentifierBackticks` * `DeclarationListItem.Name` --> `DeclarationListItem.NameInList` +* In FCS API, FSharpParsingOptions, `compilingFSharpCore` --> `compilingCoreLibrary` ### F# 6.0 / Visual Studio 17.0 diff --git a/src/Compiler/AbstractIL/il.fs b/src/Compiler/AbstractIL/il.fs index 66b736f87c3..d7b85586264 100644 --- a/src/Compiler/AbstractIL/il.fs +++ b/src/Compiler/AbstractIL/il.fs @@ -4774,11 +4774,11 @@ let compareILVersions (version1: ILVersionInfo) (version2: ILVersionInfo) = let c = compare version1.Revision version2.Revision if c <> 0 then c else 0 -let DummyFSharpCoreScopeRef = +let mkDummyCoreLibraryScopeRef coreLibraryName = let asmRef = // The exact public key token and version used here don't actually matter, or shouldn't. ILAssemblyRef.Create( - "FSharp.Core", + coreLibraryName, None, Some(PublicKeyToken(Bytes.ofInt32Array [| 0xb0; 0x3f; 0x5f; 0x7f; 0x11; 0xd5; 0x0a; 0x3a |])), false, @@ -4789,7 +4789,7 @@ let DummyFSharpCoreScopeRef = ILScopeRef.Assembly asmRef let PrimaryAssemblyILGlobals = - mkILGlobals (ILScopeRef.PrimaryAssembly, [], DummyFSharpCoreScopeRef) + mkILGlobals (ILScopeRef.PrimaryAssembly, [], mkDummyCoreLibraryScopeRef "FSharp.Core") let rec decodeCustomAttrElemType bytes sigptr x = match x with diff --git a/src/Compiler/AbstractIL/il.fsi b/src/Compiler/AbstractIL/il.fsi index d6673131060..ed5d230044a 100644 --- a/src/Compiler/AbstractIL/il.fsi +++ b/src/Compiler/AbstractIL/il.fsi @@ -2406,6 +2406,7 @@ val internal sha1HashBytes: byte[] -> byte (* SHA1 hash *) [] val internal parseILVersion: string -> ILVersionInfo val internal formatILVersion: ILVersionInfo -> string val internal compareILVersions: ILVersionInfo -> ILVersionInfo -> int +val internal mkDummyCoreLibraryScopeRef: string -> ILScopeRef /// Decompose a type definition according to its kind. type internal ILEnumInfo = diff --git a/src/Compiler/Checking/AttributeChecking.fs b/src/Compiler/Checking/AttributeChecking.fs index 2564a54bdd3..9b47a067ade 100644 --- a/src/Compiler/Checking/AttributeChecking.fs +++ b/src/Compiler/Checking/AttributeChecking.fs @@ -294,7 +294,7 @@ let CheckFSharpAttributes (g:TcGlobals) attribs m = // See attribute on FSharp.Core 'nameof' if n = 3501 then () - elif isError && (not g.compilingFSharpCore || n <> 1204) then + elif isError && (not g.compilingCoreLibrary || n <> 1204) then do! ErrorD msg else do! WarnD msg @@ -304,7 +304,7 @@ let CheckFSharpAttributes (g:TcGlobals) attribs m = match TryFindFSharpAttribute g g.attrib_ExperimentalAttribute attribs with | Some(Attrib(_, _, [ AttribStringArg(s) ], _, _, _, _)) -> let isExperimentalAttributeDisabled (s:string) = - if g.compilingFSharpCore then + if g.compilingCoreLibrary then true else g.langVersion.IsPreviewEnabled && (s.IndexOf(langVersionPrefix, StringComparison.OrdinalIgnoreCase) >= 0) diff --git a/src/Compiler/Checking/AugmentWithHashCompare.fs b/src/Compiler/Checking/AugmentWithHashCompare.fs index 4326ac6ccfc..368bc01ec55 100644 --- a/src/Compiler/Checking/AugmentWithHashCompare.fs +++ b/src/Compiler/Checking/AugmentWithHashCompare.fs @@ -1159,7 +1159,7 @@ let CheckAugmentationAttribs isImplementation g amap (tycon: Tycon) = let TyconIsCandidateForAugmentationWithCompare (g: TcGlobals) (tycon: Tycon) = // This type gets defined in prim-types, before we can add attributes to F# type definitions - let isUnit = g.compilingFSharpCore && tycon.DisplayName = "Unit" + let isUnit = g.compilingCoreLibrary && tycon.DisplayName = "Unit" not isUnit && not (isByrefLikeTyconRef g tycon.Range (mkLocalTyconRef tycon)) @@ -1175,7 +1175,7 @@ let TyconIsCandidateForAugmentationWithCompare (g: TcGlobals) (tycon: Tycon) = let TyconIsCandidateForAugmentationWithEquals (g: TcGlobals) (tycon: Tycon) = // This type gets defined in prim-types, before we can add attributes to F# type definitions - let isUnit = g.compilingFSharpCore && tycon.DisplayName = "Unit" + let isUnit = g.compilingCoreLibrary && tycon.DisplayName = "Unit" not isUnit && not (isByrefLikeTyconRef g tycon.Range (mkLocalTyconRef tycon)) diff --git a/src/Compiler/Checking/CheckBasics.fs b/src/Compiler/Checking/CheckBasics.fs index 61b4b835c6f..9cfd013abfd 100644 --- a/src/Compiler/Checking/CheckBasics.fs +++ b/src/Compiler/Checking/CheckBasics.fs @@ -366,7 +366,7 @@ type TcFileState = isSig = isSig haveSig = haveSig namedDebugPointsForInlinedCode = Dictionary() - compilingCanonicalFslibModuleType = (isSig || not haveSig) && g.compilingFSharpCore + compilingCanonicalFslibModuleType = (isSig || not haveSig) && g.compilingCoreLibrary conditionalDefines = conditionalDefines isInternalTestSpanStackReferring = isInternalTestSpanStackReferring diagnosticOptions = diagnosticOptions diff --git a/src/Compiler/Checking/CheckComputationExpressions.fs b/src/Compiler/Checking/CheckComputationExpressions.fs index 4fc0c8844ef..8d4bbcd951e 100644 --- a/src/Compiler/Checking/CheckComputationExpressions.fs +++ b/src/Compiler/Checking/CheckComputationExpressions.fs @@ -3465,7 +3465,7 @@ let TcSequenceExpressionEntry (cenv: cenv) env (overallTy: OverallTy) tpenv (has errorR (Error(FSComp.SR.tcInvalidObjectSequenceOrRecordExpression (), m)) | _ -> () - if not hasBuilder && not cenv.g.compilingFSharpCore then + if not hasBuilder && not cenv.g.compilingCoreLibrary then error (Error(FSComp.SR.tcInvalidSequenceExpressionSyntaxForm (), m)) TcSequenceExpression cenv env tpenv comp overallTy m @@ -3490,7 +3490,7 @@ let TcArrayOrListComputedExpression (cenv: cenv) env (overallTy: OverallTy) tpen let expr, tpenv = TcExpr cenv (MustEqual exprTy) env tpenv replacementExpr let expr = - if cenv.g.compilingFSharpCore then + if cenv.g.compilingCoreLibrary then expr else // We add a call to 'seq ... ' to make sure sequence expression compilation gets applied to the contents of the @@ -3600,8 +3600,7 @@ let TcArrayOrListComputedExpression (cenv: cenv) env (overallTy: OverallTy) tpen let expr = mkCoerceIfNeeded cenv.g exprTy (tyOfExpr cenv.g expr) expr let expr = - if cenv.g.compilingFSharpCore then - //warning(Error(FSComp.SR.fslibUsingComputedListOrArray(), expr.Range)) + if cenv.g.compilingCoreLibrary then expr else // We add a call to 'seq ... ' to make sure sequence expression compilation gets applied to the contents of the diff --git a/src/Compiler/Checking/CheckDeclarations.fs b/src/Compiler/Checking/CheckDeclarations.fs index b85bce8a198..104ead89e19 100644 --- a/src/Compiler/Checking/CheckDeclarations.fs +++ b/src/Compiler/Checking/CheckDeclarations.fs @@ -384,7 +384,7 @@ exception NotUpperCaseConstructorWithoutRQA of range: range let CheckNamespaceModuleOrTypeName (g: TcGlobals) (id: Ident) = // type names '[]' etc. are used in fslib - if not g.compilingFSharpCore && id.idText.IndexOfAny IllegalCharactersInTypeAndNamespaceNames <> -1 then + if not g.compilingCoreLibrary && id.idText.IndexOfAny IllegalCharactersInTypeAndNamespaceNames <> -1 then errorR(Error(FSComp.SR.tcInvalidNamespaceModuleTypeUnionName(), id.idRange)) let CheckDuplicates (idf: _ -> Ident) k elems = @@ -1556,7 +1556,7 @@ module MutRecBindingChecking = // // REVIEW: consider allowing an optimization switch to turn off these checks - let needsSafeStaticInit = not g.compilingFSharpCore + let needsSafeStaticInit = not g.compilingCoreLibrary // We only need safe static init checks if there are some static field bindings (actually, we look for non-method bindings) let hasStaticBindings = @@ -2173,7 +2173,7 @@ module TyconConstraintInference = assumedTycons |> Set.filter (fun tyconStamp -> let tycon, structuralTypes = tab[tyconStamp] - if cenv.g.compilingFSharpCore && + if cenv.g.compilingCoreLibrary && AugmentTypeDefinitions.TyconIsCandidateForAugmentationWithCompare g tycon && not (HasFSharpAttribute g g.attrib_StructuralComparisonAttribute tycon.Attribs) && not (HasFSharpAttribute g g.attrib_NoComparisonAttribute tycon.Attribs) then @@ -2301,7 +2301,7 @@ module TyconConstraintInference = let tycon, structuralTypes = tab[tyconStamp] - if cenv.g.compilingFSharpCore && + if cenv.g.compilingCoreLibrary && AugmentTypeDefinitions.TyconIsCandidateForAugmentationWithEquals g tycon && not (HasFSharpAttribute g g.attrib_StructuralEqualityAttribute tycon.Attribs) && not (HasFSharpAttribute g g.attrib_NoEqualityAttribute tycon.Attribs) then @@ -3341,7 +3341,7 @@ module EstablishTypeDefinitionCores = let hasAbstractAttr = HasFSharpAttribute g g.attrib_AbstractClassAttribute attrs let hasSealedAttr = // The special case is needed for 'unit' because the 'Sealed' attribute is not yet available when this type is defined. - if g.compilingFSharpCore && id.idText = "Unit" then + if g.compilingCoreLibrary && id.idText = "Unit" then Some true else TryFindFSharpBoolAttribute g g.attrib_SealedAttribute attrs @@ -3387,7 +3387,7 @@ module EstablishTypeDefinitionCores = let hiddenReprChecks hasRepr = structLayoutAttributeCheck false - if hasSealedAttr = Some false || (hasRepr && hasSealedAttr <> Some true && not (id.idText = "Unit" && g.compilingFSharpCore) ) then + if hasSealedAttr = Some false || (hasRepr && hasSealedAttr <> Some true && not (id.idText = "Unit" && g.compilingCoreLibrary) ) then errorR(Error(FSComp.SR.tcRepresentationOfTypeHiddenBySignature(), m)) if hasAbstractAttr then errorR (Error(FSComp.SR.tcOnlyClassesCanHaveAbstract(), m)) @@ -4190,7 +4190,7 @@ module TcDeclarations = | _ -> //false // There is a special case we allow when compiling FSharp.Core.dll which permits interface implementations across namespace fragments - g.compilingFSharpCore && tcref.LogicalName.StartsWithOrdinal("Tuple`") + g.compilingCoreLibrary && tcref.LogicalName.StartsWithOrdinal("Tuple`") let nReqTypars = reqTypars.Length diff --git a/src/Compiler/Checking/CheckExpressions.fs b/src/Compiler/Checking/CheckExpressions.fs index 6bdf94ed9ff..2dd44c23422 100644 --- a/src/Compiler/Checking/CheckExpressions.fs +++ b/src/Compiler/Checking/CheckExpressions.fs @@ -1207,7 +1207,7 @@ let ComputeAccessAndCompPath (g:TcGlobals) env (declKindOpt: DeclKind option) m let CheckForAbnormalOperatorNames (cenv: cenv) (idRange: range) coreDisplayName (memberInfoOpt: ValMemberInfo option) = let g = cenv.g if (idRange.EndColumn - idRange.StartColumn <= 5) && - not g.compilingFSharpCore + not g.compilingCoreLibrary then let opName = ConvertValLogicalNameToDisplayNameCore coreDisplayName let isMember = memberInfoOpt.IsSome @@ -10590,13 +10590,13 @@ and TcStaticOptimizationConstraint cenv env tpenv c = match c with | SynStaticOptimizationConstraint.WhenTyparTyconEqualsTycon(tp, ty, m) -> - if not g.compilingFSharpCore then + if not g.compilingCoreLibrary then errorR(Error(FSComp.SR.tcStaticOptimizationConditionalsOnlyForFSharpLibrary(), m)) let tyR, tpenv = TcType cenv NewTyparsOK CheckCxs ItemOccurence.UseInType WarnOnIWSAM.Yes env tpenv ty let tpR, tpenv = TcTypar cenv env NewTyparsOK tpenv tp TTyconEqualsTycon(mkTyparTy tpR, tyR), tpenv | SynStaticOptimizationConstraint.WhenTyparIsStruct(tp, m) -> - if not g.compilingFSharpCore then + if not g.compilingCoreLibrary then errorR(Error(FSComp.SR.tcStaticOptimizationConditionalsOnlyForFSharpLibrary(), m)) let tpR, tpenv = TcTypar cenv env NewTyparsOK tpenv tp TTyconIsStruct(mkTyparTy tpR), tpenv diff --git a/src/Compiler/Checking/PostInferenceChecks.fs b/src/Compiler/Checking/PostInferenceChecks.fs index c7090709cca..d2939ccf70c 100644 --- a/src/Compiler/Checking/PostInferenceChecks.fs +++ b/src/Compiler/Checking/PostInferenceChecks.fs @@ -354,7 +354,7 @@ let rec CheckTypeDeep (cenv: cenv) (visitTy, visitTyconRefOpt, visitAppTyOpt, vi | _ -> () let ty = - if g.compilingFSharpCore then + if g.compilingCoreLibrary then match stripTyparEqns ty with // When compiling FSharp.Core, do not strip type equations at this point if we can't dereference a tycon. | TType_app (tcref, _, _) when not tcref.CanDeref -> ty @@ -659,7 +659,7 @@ let CheckTypeAux permitByRefLike (cenv: cenv) env m ty onInnerByrefError = match info with | FSMethSln(_, vref, _, _) -> //printfn "considering %s..." vref.DisplayName - if valRefInThisAssembly cenv.g.compilingFSharpCore vref && not (cenv.boundVals.ContainsKey(vref.Stamp)) then + if valRefInThisAssembly cenv.g.compilingCoreLibrary vref && not (cenv.boundVals.ContainsKey(vref.Stamp)) then //printfn "recording %s..." vref.DisplayName cenv.potentialUnboundUsesOfVals <- cenv.potentialUnboundUsesOfVals.Add(vref.Stamp, m) | _ -> () @@ -1768,7 +1768,7 @@ and CheckLambdas isTop (memberVal: Val option) cenv env inlined valReprInfo alwa CheckNoReraise cenv freesOpt body // Check the body of the lambda - if isTop && not g.compilingFSharpCore && isByrefLikeTy g m bodyTy then + if isTop && not g.compilingCoreLibrary && isByrefLikeTy g m bodyTy then // allow byref to occur as return position for byref-typed top level function or method CheckExprPermitReturnableByRef cenv env body |> ignore else @@ -1780,7 +1780,7 @@ and CheckLambdas isTop (memberVal: Val option) cenv env inlined valReprInfo alwa CheckForByrefLikeType cenv env m bodyTy (fun () -> errorR(Error(FSComp.SR.chkFirstClassFuncNoByref(), m))) - elif not g.compilingFSharpCore && isByrefTy g bodyTy then + elif not g.compilingCoreLibrary && isByrefTy g bodyTy then // check no byrefs-in-the-byref CheckForByrefType cenv env (destByrefTy g bodyTy) (fun () -> errorR(Error(FSComp.SR.chkReturnTypeNoByref(), m))) @@ -2112,7 +2112,7 @@ let CheckModuleBinding cenv env (TBind(v, e, _) as bind) = IsSimpleSyntacticConstantExpr g e && // Check the thing is actually compiled as a property IsCompiledAsStaticProperty g v || - (g.compilingFSharpCore && v.Attribs |> List.exists(fun (Attrib(tc, _, _, _, _, _, _)) -> tc.CompiledName = "ValueAsStaticPropertyAttribute")) + (g.compilingCoreLibrary && v.Attribs |> List.exists(fun (Attrib(tc, _, _, _, _, _, _)) -> tc.CompiledName = "ValueAsStaticPropertyAttribute")) then v.SetIsCompiledAsStaticPropertyWithoutField() @@ -2545,7 +2545,7 @@ let CheckEntityDefn cenv env (tycon: Entity) = | None -> () | Some ty -> // Library-defined outref<'T> and inref<'T> contain byrefs on the r.h.s. - if not g.compilingFSharpCore then + if not g.compilingCoreLibrary then CheckForByrefType cenv env ty (fun () -> errorR(Error(FSComp.SR.chkNoByrefInTypeAbbrev(), tycon.Range))) let CheckEntityDefns cenv env tycons = diff --git a/src/Compiler/Checking/TailCallChecks.fs b/src/Compiler/Checking/TailCallChecks.fs index c373be9eb8a..ddfd5fe042a 100644 --- a/src/Compiler/Checking/TailCallChecks.fs +++ b/src/Compiler/Checking/TailCallChecks.fs @@ -643,7 +643,7 @@ and CheckLambdas destLambdaWithValReprInfo g cenv.amap valReprInfo (expr, ety) // Check the body of the lambda - if isTop && not g.compilingFSharpCore && isByrefLikeTy g m bodyTy then + if isTop && not g.compilingCoreLibrary && isByrefLikeTy g m bodyTy then // allow byref to occur as return position for byref-typed top level function or method CheckExprPermitReturnableByRef cenv body else diff --git a/src/Compiler/Checking/infos.fs b/src/Compiler/Checking/infos.fs index c90d49f3dcc..07d7b3c36c9 100644 --- a/src/Compiler/Checking/infos.fs +++ b/src/Compiler/Checking/infos.fs @@ -734,7 +734,7 @@ type MethInfo = /// Indicates if this is a method defined in this assembly with an internal XML comment member x.HasDirectXmlComment = match x with - | FSMeth(g, _, vref, _) -> valRefInThisAssembly g.compilingFSharpCore vref + | FSMeth(g, _, vref, _) -> valRefInThisAssembly g.compilingCoreLibrary vref #if !NO_TYPEPROVIDERS | ProvidedMeth _ -> true #endif @@ -1720,7 +1720,7 @@ type PropInfo = member x.HasDirectXmlComment = match x with | FSProp(g, _, Some vref, _) - | FSProp(g, _, _, Some vref) -> valRefInThisAssembly g.compilingFSharpCore vref + | FSProp(g, _, _, Some vref) -> valRefInThisAssembly g.compilingCoreLibrary vref #if !NO_TYPEPROVIDERS | ProvidedProp _ -> true #endif diff --git a/src/Compiler/CodeGen/IlxGen.fs b/src/Compiler/CodeGen/IlxGen.fs index c152a0f239a..298ea098d74 100644 --- a/src/Compiler/CodeGen/IlxGen.fs +++ b/src/Compiler/CodeGen/IlxGen.fs @@ -1281,7 +1281,7 @@ let AddStorageForVal (g: TcGlobals) (v, s) eenv = // v, dereferencing it to find the corresponding signature Val, and adding an entry for the signature val. // // A similar code path exists in ilxgen.fs for the tables of "optimization data" for values - if g.compilingFSharpCore then + if g.compilingCoreLibrary then // Passing an empty remap is sufficient for FSharp.Core.dll because it turns out the remapped type signature can // still be resolved. match tryRescopeVal g.fslibCcu Remap.Empty v with @@ -3846,7 +3846,7 @@ and GenUnionCaseProof cenv cgbuf eenv (e, ucref, tyargs, m) sequel = GenExpr cenv cgbuf eenv e Continue let cuspec, idx = GenUnionCaseSpec cenv m eenv.tyenv ucref tyargs let fty = EraseUnions.GetILTypeForAlternative cuspec idx - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore ucref.TyconRef + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary ucref.TyconRef EraseUnions.emitCastData g.ilg (UnionCodeGen cgbuf) (false, avoidHelpers, cuspec, idx) CG.EmitInstrs cgbuf (pop 1) (Push [ fty ]) [] // push/pop to match the line above GenSequel cenv eenv.cloc cgbuf sequel @@ -3858,7 +3858,7 @@ and GenGetUnionCaseField cenv cgbuf eenv (e, ucref, tyargs, n, m) sequel = GenExpr cenv cgbuf eenv e Continue let cuspec, idx = GenUnionCaseSpec cenv m eenv.tyenv ucref tyargs let fty = actualTypOfIlxUnionField cuspec idx n - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore ucref.TyconRef + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary ucref.TyconRef CG.EmitInstr cgbuf (pop 1) (Push [ fty ]) (EraseUnions.mkLdData (avoidHelpers, cuspec, idx, n)) GenSequel cenv eenv.cloc cgbuf sequel @@ -3869,7 +3869,7 @@ and GenGetUnionCaseFieldAddr cenv cgbuf eenv (e, ucref, tyargs, n, m) sequel = GenExpr cenv cgbuf eenv e Continue let cuspec, idx = GenUnionCaseSpec cenv m eenv.tyenv ucref tyargs let fty = actualTypOfIlxUnionField cuspec idx n - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore ucref.TyconRef + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary ucref.TyconRef CG.EmitInstr cgbuf (pop 1) (Push [ ILType.Byref fty ]) (EraseUnions.mkLdDataAddr (avoidHelpers, cuspec, idx, n)) GenSequel cenv eenv.cloc cgbuf sequel @@ -3877,7 +3877,7 @@ and GenGetUnionCaseTag cenv cgbuf eenv (e, tcref, tyargs, m) sequel = let g = cenv.g GenExpr cenv cgbuf eenv e Continue let cuspec = GenUnionSpec cenv m eenv.tyenv tcref tyargs - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore tcref + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary tcref EraseUnions.emitLdDataTag g.ilg (UnionCodeGen cgbuf) (avoidHelpers, cuspec) CG.EmitInstrs cgbuf (pop 1) (Push [ g.ilg.typ_Int32 ]) [] // push/pop to match the line above GenSequel cenv eenv.cloc cgbuf sequel @@ -3886,7 +3886,7 @@ and GenSetUnionCaseField cenv cgbuf eenv (e, ucref, tyargs, n, e2, m) sequel = let g = cenv.g GenExpr cenv cgbuf eenv e Continue let cuspec, idx = GenUnionCaseSpec cenv m eenv.tyenv ucref tyargs - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore ucref.TyconRef + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary ucref.TyconRef EraseUnions.emitCastData g.ilg (UnionCodeGen cgbuf) (false, avoidHelpers, cuspec, idx) CG.EmitInstrs cgbuf (pop 1) (Push [ cuspec.DeclaringType ]) [] // push/pop to match the line above GenExpr cenv cgbuf eenv e2 Continue @@ -3930,7 +3930,7 @@ and GenFieldGet isStatic cenv cgbuf eenv (rfref: RecdFieldRef, tyargs, m) = if useGenuineField rfref.Tycon rfref.RecdField - || entityRefInThisAssembly cenv.g.compilingFSharpCore rfref.TyconRef + || entityRefInThisAssembly cenv.g.compilingCoreLibrary rfref.TyconRef then let instr = if isStatic then @@ -5655,7 +5655,7 @@ and GenGenericParam cenv eenv (tp: Typar) = | None -> tp.Name | Some nm -> nm // Some special rules apply when compiling Fsharp.Core.dll to avoid a proliferation of [] attributes on type parameters - if g.compilingFSharpCore then + if g.compilingCoreLibrary then match nm with | "U" -> "TResult" | "U1" -> "TResult1" @@ -7642,7 +7642,7 @@ and GenDecisionTreeSwitch let cuspec = GenUnionSpec cenv m eenv.tyenv c.TyconRef tyargs let idx = c.Index - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore c.TyconRef + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary c.TyconRef let tester = (Some(pop 1, Push [ g.ilg.typ_Bool ], Choice1Of2(avoidHelpers, cuspec, idx))) @@ -7761,7 +7761,7 @@ and GenDecisionTreeSwitch | TCase(DecisionTreeTest.UnionCase(c, _), _) -> (c.Index, label.CodeLabel) | _ -> failwith "error: mixed constructor/const test?") - let avoidHelpers = entityRefInThisAssembly g.compilingFSharpCore hdc.TyconRef + let avoidHelpers = entityRefInThisAssembly g.compilingCoreLibrary hdc.TyconRef EraseUnions.emitDataSwitch g.ilg (UnionCodeGen cgbuf) (avoidHelpers, cuspec, dests) CG.EmitInstrs cgbuf (pop 1) Push0 [] // push/pop to match the line above @@ -10876,7 +10876,7 @@ and GenTypeDef cenv mgbuf lazyInitInfo eenv m (tycon: Tycon) : ILTypeRef option let generateDebugDisplayAttribute = not g.useReflectionFreeCodeGen - && not g.compilingFSharpCore + && not g.compilingCoreLibrary && tycon.IsUnionTycon && isNil debugDisplayAttrs diff --git a/src/Compiler/CodeGen/IlxGenSupport.fs b/src/Compiler/CodeGen/IlxGenSupport.fs index a0fa11a4a31..c809e351fdb 100644 --- a/src/Compiler/CodeGen/IlxGenSupport.fs +++ b/src/Compiler/CodeGen/IlxGenSupport.fs @@ -180,7 +180,7 @@ let GenReadOnlyAttributeIfNecessary g ty = let GetDynamicallyAccessedMemberTypes (g: TcGlobals) = let tref = g.enum_DynamicallyAccessedMemberTypes.TypeRef - if not (g.compilingFSharpCore) then + if not (g.compilingCoreLibrary) then g.TryEmbedILType( tref, (fun () -> diff --git a/src/Compiler/Driver/CompilerConfig.fs b/src/Compiler/Driver/CompilerConfig.fs index ba16b854298..581faf1fec3 100644 --- a/src/Compiler/Driver/CompilerConfig.fs +++ b/src/Compiler/Driver/CompilerConfig.fs @@ -122,6 +122,8 @@ let ComputeMakePathAbsolute implicitIncludeDir (path: string) = with :? ArgumentException -> path +let isCoreLibrary compilingLibraryName = compilingLibraryName = "FSharp.Core" + //---------------------------------------------------------------------------- // Configuration //---------------------------------------------------------------------------- @@ -419,7 +421,7 @@ type TcConfigBuilder = mutable implicitIncludeDir: string (* normally "." *) mutable openDebugInformationForLaterStaticLinking: bool (* only for --standalone *) defaultFSharpBinariesDir: string - mutable compilingFSharpCore: bool + mutable compilingLibraryName: string mutable useIncrementalBuilder: bool mutable includes: string list mutable implicitOpens: string list @@ -661,7 +663,7 @@ type TcConfigBuilder = stackReserveSize = None conditionalDefines = [] openDebugInformationForLaterStaticLinking = false - compilingFSharpCore = false + compilingLibraryName = null useIncrementalBuilder = false implicitOpens = [] includes = [] @@ -1082,6 +1084,8 @@ type TcConfigBuilder = else ri, FileSystemUtils.fileNameOfPath ri, ILResourceAccess.Public + member tcConfigB.compilingCoreLibrary = isCoreLibrary tcConfigB.compilingLibraryName + //---------------------------------------------------------------------------- // TcConfig //-------------------------------------------------------------------------- @@ -1234,7 +1238,7 @@ type TcConfig private (data: TcConfigBuilder, validate: bool) = data.openDebugInformationForLaterStaticLinking member _.fsharpBinariesDir = data.defaultFSharpBinariesDir - member _.compilingFSharpCore = data.compilingFSharpCore + member _.compilingLibraryName = data.compilingLibraryName member _.useIncrementalBuilder = data.useIncrementalBuilder member _.includes = data.includes member _.implicitOpens = data.implicitOpens @@ -1471,6 +1475,8 @@ type TcConfig private (data: TcConfigBuilder, validate: bool) = member tcConfig.assumeDotNetFramework = tcConfig.primaryAssembly = PrimaryAssembly.Mscorlib + member tcConfig.compilingCoreLibrary = isCoreLibrary tcConfig.compilingLibraryName + /// 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. type TcConfigProvider = diff --git a/src/Compiler/Driver/CompilerConfig.fsi b/src/Compiler/Driver/CompilerConfig.fsi index 89e0039610b..398c1db2a6b 100644 --- a/src/Compiler/Driver/CompilerConfig.fsi +++ b/src/Compiler/Driver/CompilerConfig.fsi @@ -238,7 +238,7 @@ type TcConfigBuilder = defaultFSharpBinariesDir: string - mutable compilingFSharpCore: bool + mutable compilingLibraryName: string mutable useIncrementalBuilder: bool @@ -572,6 +572,8 @@ type TcConfigBuilder = member SetPrimaryAssembly: primaryAssembly: PrimaryAssembly -> unit + member compilingCoreLibrary: bool + /// Immutable TcConfig, modifications are made via a TcConfigBuilder [] type TcConfig = @@ -587,7 +589,7 @@ type TcConfig = member fsharpBinariesDir: string - member compilingFSharpCore: bool + member compilingCoreLibrary: bool member useIncrementalBuilder: bool @@ -898,6 +900,8 @@ type TcConfig = member realsig: bool + member compilingCoreLibrary: bool + /// 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. [] diff --git a/src/Compiler/Driver/CompilerImports.fs b/src/Compiler/Driver/CompilerImports.fs index 76573599919..f9811cf13b7 100644 --- a/src/Compiler/Driver/CompilerImports.fs +++ b/src/Compiler/Driver/CompilerImports.fs @@ -729,7 +729,7 @@ type TcAssemblyResolutions(tcConfig: TcConfig, results: AssemblyResolution list, let assumeDotNetFramework = primaryReference.SimpleAssemblyNameIs("mscorlib") - if not tcConfig.compilingFSharpCore then + if not tcConfig.compilingCoreLibrary then tcConfig.CoreLibraryDllReference() if assumeDotNetFramework then @@ -2457,7 +2457,7 @@ and [] TcImports let! fslibCcu, fsharpCoreAssemblyScopeRef = async { - if tcConfig.compilingFSharpCore then + if tcConfig.compilingCoreLibrary then // When compiling FSharp.Core.dll, the fslibCcu reference to FSharp.Core.dll is a delayed ccu thunk fixed up during type checking return CcuThunk.CreateDelayed getFSharpCoreLibraryName, ILScopeRef.Local else @@ -2507,7 +2507,7 @@ and [] TcImports // OK, now we have both mscorlib.dll and FSharp.Core.dll we can create TcGlobals let tcGlobals = TcGlobals( - tcConfig.compilingFSharpCore, + tcConfig.compilingCoreLibrary, ilGlobals, fslibCcu, tcConfig.implicitIncludeDir, diff --git a/src/Compiler/Driver/CompilerOptions.fs b/src/Compiler/Driver/CompilerOptions.fs index e742a20e139..b62e134af24 100644 --- a/src/Compiler/Driver/CompilerOptions.fs +++ b/src/Compiler/Driver/CompilerOptions.fs @@ -1767,7 +1767,7 @@ let compilingFsLibFlag (tcConfigB: TcConfigBuilder) = "compiling-fslib", tagNone, OptionUnit(fun () -> - tcConfigB.compilingFSharpCore <- true + tcConfigB.compilingLibraryName <- "FSharp.Core" tcConfigB.TurnWarningOff(rangeStartup, "42")), Some(InternalCommandLineOption("--compiling-fslib", rangeCmdArgs)), None diff --git a/src/Compiler/Driver/CreateILModule.fs b/src/Compiler/Driver/CreateILModule.fs index 506171ed0ef..32b6e4a977c 100644 --- a/src/Compiler/Driver/CreateILModule.fs +++ b/src/Compiler/Driver/CreateILModule.fs @@ -333,7 +333,7 @@ module MainModuleBuilder = // Add the type forwarders to any .NET DLL post-.NET-2.0, to give binary compatibility let exportedTypesList = - if tcConfig.compilingFSharpCore then + if tcConfig.compilingCoreLibrary then List.append (createMscorlibExportList tcGlobals) (createSystemNumericsExportList tcConfig tcImports) else [] diff --git a/src/Compiler/Driver/ParseAndCheckInputs.fs b/src/Compiler/Driver/ParseAndCheckInputs.fs index 7f7dd55ef7a..9c072064b61 100644 --- a/src/Compiler/Driver/ParseAndCheckInputs.fs +++ b/src/Compiler/Driver/ParseAndCheckInputs.fs @@ -643,7 +643,7 @@ let ParseOneInputLexbuf (tcConfig: TcConfig, lexResourceManager, lexbuf, fileNam LexFilter .LexFilter( indentationSyntaxStatus, - tcConfig.compilingFSharpCore, + tcConfig.compilingCoreLibrary, Lexer.token lexargs skipWhitespaceTokens, lexbuf, tcConfig.tokenize = TokenizeOption.Debug @@ -654,7 +654,7 @@ let ParseOneInputLexbuf (tcConfig: TcConfig, lexResourceManager, lexbuf, fileNam LexFilter .LexFilter( indentationSyntaxStatus, - tcConfig.compilingFSharpCore, + tcConfig.compilingCoreLibrary, Lexer.token lexargs skipWhitespaceTokens, lexbuf, tcConfig.tokenize = TokenizeOption.Debug @@ -719,7 +719,7 @@ let parseInputStreamAux // Set up the LexBuffer for the file let lexbuf = - UnicodeLexing.StreamReaderAsLexbuf(not tcConfig.compilingFSharpCore, tcConfig.langVersion, tcConfig.strictIndentation, reader) + UnicodeLexing.StreamReaderAsLexbuf(not tcConfig.compilingCoreLibrary, tcConfig.langVersion, tcConfig.strictIndentation, reader) // Parse the file drawing tokens from the lexbuf ParseOneInputLexbuf(tcConfig, lexResourceManager, lexbuf, fileName, isLastCompiland, diagnosticsLogger) @@ -735,7 +735,7 @@ let parseInputSourceTextAux ) = // Set up the LexBuffer for the file let lexbuf = - UnicodeLexing.SourceTextAsLexbuf(not tcConfig.compilingFSharpCore, tcConfig.langVersion, tcConfig.strictIndentation, sourceText) + UnicodeLexing.SourceTextAsLexbuf(not tcConfig.compilingCoreLibrary, tcConfig.langVersion, tcConfig.strictIndentation, sourceText) // Parse the file drawing tokens from the lexbuf ParseOneInputLexbuf(tcConfig, lexResourceManager, lexbuf, fileName, isLastCompiland, diagnosticsLogger) @@ -747,7 +747,7 @@ let parseInputFileAux (tcConfig: TcConfig, lexResourceManager, fileName, isLastC // Set up the LexBuffer for the file let lexbuf = - UnicodeLexing.StreamReaderAsLexbuf(not tcConfig.compilingFSharpCore, tcConfig.langVersion, tcConfig.strictIndentation, reader) + UnicodeLexing.StreamReaderAsLexbuf(not tcConfig.compilingCoreLibrary, tcConfig.langVersion, tcConfig.strictIndentation, reader) // Parse the file drawing tokens from the lexbuf ParseOneInputLexbuf(tcConfig, lexResourceManager, lexbuf, fileName, isLastCompiland, diagnosticsLogger) @@ -1199,7 +1199,7 @@ let GetInitialTcState (m, ccuName, tcConfig: TcConfig, tcGlobals, tcImports: TcI let ccu = CcuThunk.Create(ccuName, ccuData) // OK, is this is the FSharp.Core CCU then fix it up. - if tcConfig.compilingFSharpCore then + if tcConfig.compilingCoreLibrary then tcGlobals.fslibCcu.Fixup ccu { @@ -1965,7 +1965,7 @@ let CheckClosedInputSet (ctok, checkForErrors, tcConfig: TcConfig, tcImports, tc // tcEnvAtEndOfLastFile is the environment required by fsi.exe when incrementally adding definitions let results, tcState = match tcConfig.typeCheckingConfig.Mode with - | TypeCheckingMode.Graph when (not tcConfig.isInteractive && not tcConfig.compilingFSharpCore) -> + | TypeCheckingMode.Graph when (not tcConfig.isInteractive && not tcConfig.compilingCoreLibrary) -> CheckMultipleInputsUsingGraphMode( ctok, checkForErrors, diff --git a/src/Compiler/Driver/fsc.fs b/src/Compiler/Driver/fsc.fs index 26be4051cbd..2f6f08cfef0 100644 --- a/src/Compiler/Driver/fsc.fs +++ b/src/Compiler/Driver/fsc.fs @@ -1222,7 +1222,7 @@ let main6 // Don't copy referenced FSharp.core.dll if we are building FSharp.Core.dll if (tcConfig.copyFSharpCore = CopyFSharpCoreFlag.Yes) - && not tcConfig.compilingFSharpCore + && not tcConfig.compilingCoreLibrary && not tcConfig.standalone then CopyFSharpCore(outfile, tcConfig.referencedDLLs) diff --git a/src/Compiler/Interactive/fsi.fs b/src/Compiler/Interactive/fsi.fs index 1e560e70bdd..2b1196519a1 100644 --- a/src/Compiler/Interactive/fsi.fs +++ b/src/Compiler/Interactive/fsi.fs @@ -3579,7 +3579,7 @@ type FsiStdinLexerProvider let tokenizer = LexFilter.LexFilter( indentationSyntaxStatus, - tcConfigB.compilingFSharpCore, + tcConfigB.compilingCoreLibrary, Lexer.token lexargs skip, lexbuf, tcConfigB.tokenize = TokenizeOption.Debug diff --git a/src/Compiler/Optimize/DetupleArgs.fs b/src/Compiler/Optimize/DetupleArgs.fs index a1655bafb0b..649ec817d0e 100644 --- a/src/Compiler/Optimize/DetupleArgs.fs +++ b/src/Compiler/Optimize/DetupleArgs.fs @@ -282,7 +282,7 @@ module GlobalUsageAnalysis = // - tmethods let UsageFolders (g: TcGlobals) = let foldLocalVal f z (vref: ValRef) = - if valRefInThisAssembly g.compilingFSharpCore vref then + if valRefInThisAssembly g.compilingCoreLibrary vref then f z vref.Deref else z diff --git a/src/Compiler/Optimize/Optimizer.fs b/src/Compiler/Optimize/Optimizer.fs index b2f5f654ce2..f251e1ccf21 100644 --- a/src/Compiler/Optimize/Optimizer.fs +++ b/src/Compiler/Optimize/Optimizer.fs @@ -585,7 +585,7 @@ let BindExternalLocalVal cenv (v: Val) vval env = // // A similar code path exists in ilxgen.fs for the tables of "representations" for values let env = - if g.compilingFSharpCore then + if g.compilingCoreLibrary then // Passing an empty remap is sufficient for FSharp.Core.dll because it turns out the remapped type signature can // still be resolved. match tryRescopeVal g.fslibCcu Remap.Empty v with @@ -672,7 +672,7 @@ let GetInfoForNonLocalVal cenv env (vref: ValRef) = | None -> //dprintn ("\n\n*** Optimization info for value "+n+" from module "+(full_name_of_nlpath smv)+" not found, module contains values: "+String.concat ", " (NameMap.domainL structInfo.ValInfos)) //System.Diagnostics.Debug.Assert(false, sprintf "Break for module %s, value %s" (full_name_of_nlpath smv) n) - if g.compilingFSharpCore then + if g.compilingCoreLibrary then match structInfo.ValInfos.TryFindForFslib (g, vref) with | true, ninfo -> snd ninfo | _ -> UnknownValInfo @@ -3436,7 +3436,7 @@ and TryInlineApplication cenv env finfo (tyargs: TType list, args: Expr list, m) // confuse the optimizer if the assembly is referenced on 4.0, since there will be no value to tie back // to FSharp.Core let isValFromLazyExtensions = - if g.compilingFSharpCore then + if g.compilingCoreLibrary then false else match finfo.Info with @@ -4180,7 +4180,7 @@ and OptimizeBinding cenv isRec env (TBind(vref, expr, spBind)) = // ilxgen.fs, hence treat them as if no-inline (when preparing the inline information for // FSharp.Core). (let nvref = mkLocalValRef vref - g.compilingFSharpCore && + g.compilingCoreLibrary && (valRefEq g nvref g.seq_vref || valRefEq g nvref g.seq_generated_vref || valRefEq g nvref g.seq_finally_vref || diff --git a/src/Compiler/Service/FSharpCheckerResults.fs b/src/Compiler/Service/FSharpCheckerResults.fs index cab12da5cdf..0b65b082863 100644 --- a/src/Compiler/Service/FSharpCheckerResults.fs +++ b/src/Compiler/Service/FSharpCheckerResults.fs @@ -2711,7 +2711,7 @@ type FSharpParsingOptions = IsInteractive: bool IndentationAwareSyntax: bool option StrictIndentation: bool option - CompilingFSharpCore: bool + compilingCoreLibrary: bool IsExe: bool } @@ -2729,7 +2729,7 @@ type FSharpParsingOptions = IsInteractive = false IndentationAwareSyntax = None StrictIndentation = None - CompilingFSharpCore = false + compilingCoreLibrary = false IsExe = false } @@ -2743,7 +2743,7 @@ type FSharpParsingOptions = IsInteractive = isInteractive IndentationAwareSyntax = tcConfig.indentationAwareSyntax StrictIndentation = tcConfig.strictIndentation - CompilingFSharpCore = tcConfig.compilingFSharpCore + compilingCoreLibrary = tcConfig.compilingCoreLibrary IsExe = tcConfig.target.IsExe } @@ -2757,7 +2757,7 @@ type FSharpParsingOptions = IsInteractive = isInteractive IndentationAwareSyntax = tcConfigB.indentationAwareSyntax StrictIndentation = tcConfigB.strictIndentation - CompilingFSharpCore = tcConfigB.compilingFSharpCore + compilingCoreLibrary = tcConfigB.compilingCoreLibrary IsExe = tcConfigB.target.IsExe } @@ -2896,7 +2896,7 @@ module internal ParseAndCheckFile = ) let tokenizer = - LexFilter.LexFilter(indentationSyntaxStatus, options.CompilingFSharpCore, Lexer.token lexargs true, lexbuf, false) + LexFilter.LexFilter(indentationSyntaxStatus, options.compilingCoreLibrary, Lexer.token lexargs true, lexbuf, false) if ct.CanBeCanceled then (fun _ -> diff --git a/src/Compiler/Service/FSharpCheckerResults.fsi b/src/Compiler/Service/FSharpCheckerResults.fsi index 0ae8b3039d9..623b6d6356d 100644 --- a/src/Compiler/Service/FSharpCheckerResults.fsi +++ b/src/Compiler/Service/FSharpCheckerResults.fsi @@ -232,7 +232,7 @@ type public FSharpParsingOptions = StrictIndentation: bool option - CompilingFSharpCore: bool + compilingCoreLibrary: bool IsExe: bool } diff --git a/src/Compiler/Service/ServiceLexing.fs b/src/Compiler/Service/ServiceLexing.fs index 9abe2199dc0..f7a08461518 100644 --- a/src/Compiler/Service/ServiceLexing.fs +++ b/src/Compiler/Service/ServiceLexing.fs @@ -1275,7 +1275,7 @@ type FSharpLexerFlags = | Default = 0x11011 | LightSyntaxOn = 0x00001 | Compiling = 0x00010 - | CompilingFSharpCore = 0x00110 + | compilingCoreLibrary = 0x00110 | SkipTrivia = 0x01000 | UseLexFilter = 0x10000 @@ -1856,8 +1856,8 @@ module FSharpLexerImpl = let isCompiling = (flags &&& FSharpLexerFlags.Compiling) = FSharpLexerFlags.Compiling - let isCompilingFSharpCore = - (flags &&& FSharpLexerFlags.CompilingFSharpCore) = FSharpLexerFlags.CompilingFSharpCore + let iscompilingCoreLibrary = + (flags &&& FSharpLexerFlags.compilingCoreLibrary) = FSharpLexerFlags.compilingCoreLibrary let canUseLexFilter = (flags &&& FSharpLexerFlags.UseLexFilter) = FSharpLexerFlags.UseLexFilter @@ -1884,7 +1884,7 @@ module FSharpLexerImpl = if canUseLexFilter then let lexFilter = - LexFilter.LexFilter(lexargs.indentationSyntaxStatus, isCompilingFSharpCore, lexer, lexbuf, false) + LexFilter.LexFilter(lexargs.indentationSyntaxStatus, iscompilingCoreLibrary, lexer, lexbuf, false) (fun _ -> lexFilter.GetToken()) else diff --git a/src/Compiler/Service/ServiceLexing.fsi b/src/Compiler/Service/ServiceLexing.fsi index ee2ab7411d5..253565a9902 100755 --- a/src/Compiler/Service/ServiceLexing.fsi +++ b/src/Compiler/Service/ServiceLexing.fsi @@ -361,7 +361,7 @@ type public FSharpLexerFlags = | Default = 0x11011 | LightSyntaxOn = 0x00001 | Compiling = 0x00010 - | CompilingFSharpCore = 0x00110 + | compilingCoreLibrary = 0x00110 | SkipTrivia = 0x01000 | UseLexFilter = 0x10000 diff --git a/src/Compiler/Service/TransparentCompiler.fs b/src/Compiler/Service/TransparentCompiler.fs index f2af93736e3..50e1c83300e 100644 --- a/src/Compiler/Service/TransparentCompiler.fs +++ b/src/Compiler/Service/TransparentCompiler.fs @@ -1134,7 +1134,7 @@ type internal TransparentCompiler // TODO: we will probably want to cache and re-use larger graphs if available let graph = - if tcConfig.compilingFSharpCore then + if tcConfig.compilingCoreLibrary then mkLinearGraph sourceFiles.Length else DependencyResolution.mkGraph filePairs sourceFiles |> fst |> processGraph @@ -2053,7 +2053,7 @@ type internal TransparentCompiler yield options.IsInteractive yield! (Option.toList options.IndentationAwareSyntax) yield! (Option.toList options.StrictIndentation) - yield options.CompilingFSharpCore + yield options.compilingCoreLibrary yield options.IsExe ] |> Md5Hasher.toString diff --git a/src/Compiler/Symbols/SymbolHelpers.fs b/src/Compiler/Symbols/SymbolHelpers.fs index 1584e096edd..9ca70edf992 100644 --- a/src/Compiler/Symbols/SymbolHelpers.fs +++ b/src/Compiler/Symbols/SymbolHelpers.fs @@ -605,11 +605,11 @@ module internal SymbolHelpers = GetXmlCommentForItemAux None infoReader m item | Item.Value vref | Item.CustomBuilder (_, vref) -> - let doc = if valRefInThisAssembly g.compilingFSharpCore vref || vref.XmlDoc.NonEmpty then Some vref.XmlDoc else None + let doc = if valRefInThisAssembly g.compilingCoreLibrary vref || vref.XmlDoc.NonEmpty then Some vref.XmlDoc else None GetXmlCommentForItemAux doc infoReader m item | Item.UnionCase(ucinfo, _) -> - let doc = if tyconRefUsesLocalXmlDoc g.compilingFSharpCore ucinfo.TyconRef || ucinfo.UnionCase.XmlDoc.NonEmpty then Some ucinfo.UnionCase.XmlDoc else None + let doc = if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary ucinfo.TyconRef || ucinfo.UnionCase.XmlDoc.NonEmpty then Some ucinfo.UnionCase.XmlDoc else None GetXmlCommentForItemAux doc infoReader m item | Item.ActivePatternCase apref -> @@ -617,13 +617,13 @@ module internal SymbolHelpers = GetXmlCommentForItemAux doc infoReader m item | Item.ExnCase ecref -> - let doc = if tyconRefUsesLocalXmlDoc g.compilingFSharpCore ecref || ecref.XmlDoc.NonEmpty then Some ecref.XmlDoc else None + let doc = if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary ecref || ecref.XmlDoc.NonEmpty then Some ecref.XmlDoc else None GetXmlCommentForItemAux doc infoReader m item | Item.RecdField rfinfo -> let tcref = rfinfo.TyconRef let doc = - if tyconRefUsesLocalXmlDoc g.compilingFSharpCore tcref || tcref.XmlDoc.NonEmpty then + if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary tcref || tcref.XmlDoc.NonEmpty then if tcref.IsFSharpException then Some tcref.XmlDoc else @@ -650,7 +650,7 @@ module internal SymbolHelpers = let doc = match tys with | AbbrevOrAppTy(tcref, _) :: _ -> - if tyconRefUsesLocalXmlDoc g.compilingFSharpCore tcref || tcref.XmlDoc.NonEmpty then + if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary tcref || tcref.XmlDoc.NonEmpty then Some tcref.XmlDoc else None @@ -661,7 +661,7 @@ module internal SymbolHelpers = let doc = match tcrefs with | tcref :: _ -> - if tyconRefUsesLocalXmlDoc g.compilingFSharpCore tcref || tcref.XmlDoc.NonEmpty then + if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary tcref || tcref.XmlDoc.NonEmpty then Some tcref.XmlDoc else None @@ -671,7 +671,7 @@ module internal SymbolHelpers = | Item.ModuleOrNamespaces(modref :: _ as modrefs) -> let definiteNamespace = modrefs |> List.forall (fun modref -> modref.IsNamespace) if not definiteNamespace then - let doc = if entityRefInThisAssembly g.compilingFSharpCore modref || modref.XmlDoc.NonEmpty then Some modref.XmlDoc else None + let doc = if entityRefInThisAssembly g.compilingCoreLibrary modref || modref.XmlDoc.NonEmpty then Some modref.XmlDoc else None GetXmlCommentForItemAux doc infoReader m item else GetXmlCommentForItemAux None infoReader m item @@ -682,13 +682,13 @@ module internal SymbolHelpers = | Some(ArgumentContainer.Method minfo) -> if minfo.HasDirectXmlComment || minfo.XmlDoc.NonEmpty then Some minfo.XmlDoc else None | Some(ArgumentContainer.Type tcref) -> - if tyconRefUsesLocalXmlDoc g.compilingFSharpCore tcref || tcref.XmlDoc.NonEmpty then Some tcref.XmlDoc else None + if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary tcref || tcref.XmlDoc.NonEmpty then Some tcref.XmlDoc else None | _ -> None GetXmlCommentForItemAux doc infoReader m item | Item.UnionCaseField (ucinfo, _) -> let doc = - if tyconRefUsesLocalXmlDoc g.compilingFSharpCore ucinfo.TyconRef || ucinfo.UnionCase.XmlDoc.NonEmpty then + if tyconRefUsesLocalXmlDoc g.compilingCoreLibrary ucinfo.TyconRef || ucinfo.UnionCase.XmlDoc.NonEmpty then Some ucinfo.UnionCase.XmlDoc else None diff --git a/src/Compiler/SyntaxTree/LexFilter.fs b/src/Compiler/SyntaxTree/LexFilter.fs index 79afdca04c3..069658b0155 100644 --- a/src/Compiler/SyntaxTree/LexFilter.fs +++ b/src/Compiler/SyntaxTree/LexFilter.fs @@ -588,7 +588,7 @@ type PositionWithColumn = //--------------------------------------------------------------------------*) type LexFilterImpl ( indentationSyntaxStatus: IndentationAwareSyntaxStatus, - compilingFSharpCore, + compilingCoreLibrary, lexer: (Lexbuf -> token), lexbuf: Lexbuf, debug: bool @@ -1465,7 +1465,7 @@ type LexFilterImpl ( // (# "unbox.any !0" type ('T) x : 'T #) // where the type keyword is used inside an expression, so we must exempt FSharp.Core from some extra failed-parse-diagnostics-recovery-processing of the 'type' keyword let mutable effectsToDo = [] - if not compilingFSharpCore then + if not compilingCoreLibrary then // ... <<< code with unmatched ( or [ or { or [| >>> ... "type" ... // We want a TYPE or MODULE keyword to close any currently-open "expression" contexts, as though there were close delimiters in the file, so: let rec nextOuterMostInterestingContextIsNamespaceOrModule offsideStack = @@ -2675,9 +2675,9 @@ type LexFilterImpl ( // LexFilterImpl does the majority of the work for offsides rules and other magic. // LexFilter just wraps it with light post-processing that introduces a few more 'coming soon' symbols, to // make it easier for the parser to 'look ahead' and safely shift tokens in a number of recovery scenarios. -type LexFilter (indentationSyntaxStatus: IndentationAwareSyntaxStatus, compilingFSharpCore, lexer, lexbuf: Lexbuf, debug) = +type LexFilter (indentationSyntaxStatus: IndentationAwareSyntaxStatus, compilingCoreLibrary, lexer, lexbuf: Lexbuf, debug) = let debug = debug || forceDebug - let inner = LexFilterImpl(indentationSyntaxStatus, compilingFSharpCore, lexer, lexbuf, debug) + let inner = LexFilterImpl(indentationSyntaxStatus, compilingCoreLibrary, lexer, lexbuf, debug) // We don't interact with lexbuf state at all, any inserted tokens have same state/location as the real one read, so // we don't have to do any of the wrapped lexbuf magic that you see in LexFilterImpl. diff --git a/src/Compiler/SyntaxTree/LexFilter.fsi b/src/Compiler/SyntaxTree/LexFilter.fsi index 7d39b8325df..256f4c71fb4 100644 --- a/src/Compiler/SyntaxTree/LexFilter.fsi +++ b/src/Compiler/SyntaxTree/LexFilter.fsi @@ -20,7 +20,7 @@ type LexFilter = /// Create a lex filter new: indentationSyntaxStatus: IndentationAwareSyntaxStatus * - compilingFSharpCore: bool * + compilingCoreLibrary: bool * lexer: (LexBuffer -> token) * lexbuf: LexBuffer * debug: bool -> diff --git a/src/Compiler/TypedTree/TcGlobals.fs b/src/Compiler/TypedTree/TcGlobals.fs index 69a99dfe119..1c8edb94bc1 100644 --- a/src/Compiler/TypedTree/TcGlobals.fs +++ b/src/Compiler/TypedTree/TcGlobals.fs @@ -181,7 +181,7 @@ let tname_IsByRefLikeAttribute = "System.Runtime.CompilerServices.IsByRefLikeAtt //------------------------------------------------------------------------- type TcGlobals( - compilingFSharpCore: bool, + compilingCoreLibrary: bool, ilg: ILGlobals, fslibCcu: CcuThunk, directoryToResolveRelativePaths, @@ -545,13 +545,15 @@ type TcGlobals( let fslib_MFOperatorIntrinsics_nleref = mkNestedNonLocalEntityRef fslib_MFOperators_nleref "OperatorIntrinsics" let fslib_MFOperatorsUnchecked_nleref = mkNestedNonLocalEntityRef fslib_MFOperators_nleref "Unchecked" let fslib_MFOperatorsChecked_nleref = mkNestedNonLocalEntityRef fslib_MFOperators_nleref "Checked" + let fslib_MFExtraTopLevelOperators_nleref = mkNestedNonLocalEntityRef fslib_MFCore_nleref "ExtraTopLevelOperators" let fslib_MFNullableOperators_nleref = mkNestedNonLocalEntityRef fslib_MFLinq_nleref "NullableOperators" let fslib_MFQueryRunExtensions_nleref = mkNestedNonLocalEntityRef fslib_MFLinq_nleref "QueryRunExtensions" let fslib_MFQueryRunExtensionsLowPriority_nleref = mkNestedNonLocalEntityRef fslib_MFQueryRunExtensions_nleref "LowPriority" let fslib_MFQueryRunExtensionsHighPriority_nleref = mkNestedNonLocalEntityRef fslib_MFQueryRunExtensions_nleref "HighPriority" - let fslib_MFPrintfModule_nleref = mkNestedNonLocalEntityRef fslib_MFCore_nleref "PrintfModule" + let fslib_MFPrintfModule_nleref = mkNestedNonLocalEntityRef fslib_MFCore_nleref "PrintfModule" + let fslib_MFPrintfExtensionsModule_nleref = mkNestedNonLocalEntityRef fslib_MFCore_nleref "PrintfExtensions" let fslib_MFSeqModule_nleref = mkNestedNonLocalEntityRef fslib_MFCollections_nleref "SeqModule" let fslib_MFListModule_nleref = mkNestedNonLocalEntityRef fslib_MFCollections_nleref "ListModule" let fslib_MFArrayModule_nleref = mkNestedNonLocalEntityRef fslib_MFCollections_nleref "ArrayModule" @@ -593,7 +595,7 @@ type TcGlobals( let v_choice5_tcr = mk_MFCore_tcref fslibCcu "Choice`5" let v_choice6_tcr = mk_MFCore_tcref fslibCcu "Choice`6" let v_choice7_tcr = mk_MFCore_tcref fslibCcu "Choice`7" - let tyconRefEq x y = primEntityRefEq compilingFSharpCore fslibCcu x y + let tyconRefEq x y = primEntityRefEq compilingCoreLibrary fslibCcu x y let v_suppressed_types = [ mk_MFCore_tcref fslibCcu "Option`1"; @@ -618,6 +620,7 @@ type TcGlobals( fslib_MFQueryRunExtensionsHighPriority_nleref fslib_MFPrintfModule_nleref + fslib_MFPrintfExtensionsModule_nleref fslib_MFSeqModule_nleref fslib_MFListModule_nleref fslib_MFArrayModule_nleref @@ -797,7 +800,7 @@ type TcGlobals( let v_invalid_arg_info = makeIntrinsicValRef(fslib_MFOperators_nleref, "invalidArg" , None , Some "InvalidArg" , [vara], ([[v_string_ty]; [v_string_ty]], varaTy)) let v_null_arg_info = makeIntrinsicValRef(fslib_MFOperators_nleref, "nullArg" , None , Some "NullArg" , [vara], ([[v_string_ty]], varaTy)) let v_invalid_op_info = makeIntrinsicValRef(fslib_MFOperators_nleref, "invalidOp" , None , Some "InvalidOp" , [vara], ([[v_string_ty]], varaTy)) - let v_failwithf_info = makeIntrinsicValRef(fslib_MFExtraTopLevelOperators_nleref, "failwithf" , None , Some "PrintFormatToStringThenFail" , [vara;varb], ([[mk_format4_ty varaTy v_unit_ty v_string_ty v_string_ty]], varaTy)) + let v_failwithf_info = makeIntrinsicValRef(fslib_MFPrintfExtensionsModule_nleref, "failwithf" , None , Some "PrintFormatToStringThenFail" , [vara;varb], ([[mk_format4_ty varaTy v_unit_ty v_string_ty v_string_ty]], varaTy)) let v_reraise_info = makeIntrinsicValRef(fslib_MFOperators_nleref, "reraise" , None , Some "Reraise", [vara], ([[v_unit_ty]], varaTy)) let v_typeof_info = makeIntrinsicValRef(fslib_MFOperators_nleref, "typeof" , None , Some "TypeOf" , [vara], ([], v_system_Type_ty)) @@ -861,7 +864,7 @@ type TcGlobals( let v_seq_singleton_info = makeIntrinsicValRef(fslib_MFSeqModule_nleref, "singleton" , None , Some "Singleton" , [vara], ([[varaTy]], mkSeqTy varaTy)) let v_seq_empty_info = makeIntrinsicValRef(fslib_MFSeqModule_nleref, "empty" , None , Some "Empty" , [vara], ([], mkSeqTy varaTy)) let v_new_format_info = makeIntrinsicValRef(fslib_MFCore_nleref, ".ctor" , Some "PrintfFormat`5", None , [vara;varb;varc;vard;vare], ([[v_string_ty]], mkPrintfFormatTy varaTy varbTy varcTy vardTy vareTy)) - let v_sprintf_info = makeIntrinsicValRef(fslib_MFExtraTopLevelOperators_nleref, "sprintf" , None , Some "PrintFormatToStringThen", [vara], ([[mk_format4_ty varaTy v_unit_ty v_string_ty v_string_ty]], varaTy)) + let v_sprintf_info = makeIntrinsicValRef(fslib_MFPrintfExtensionsModule_nleref, "sprintf" , None , Some "PrintFormatToStringThen", [vara], ([[mk_format4_ty varaTy v_unit_ty v_string_ty v_string_ty]], varaTy)) let v_lazy_force_info = makeIntrinsicValRef(fslib_MFLazyExtensions_nleref, "Force" , Some "Lazy`1" , None , [vara], ([[mkLazyTy varaTy]; []], varaTy)) let v_lazy_create_info = makeIntrinsicValRef(fslib_MFLazyExtensions_nleref, "Create" , Some "Lazy`1" , None , [vara], ([[v_unit_ty --> varaTy]], mkLazyTy varaTy)) @@ -1047,7 +1050,7 @@ type TcGlobals( /// Doing this normalization is a fairly performance critical piece of code as it is frequently invoked /// in the process of converting .NET metadata to F# internal compiler data structures (see import.fs). let decompileTy (tcref: EntityRef) tinst = - if compilingFSharpCore then + if compilingCoreLibrary then // No need to decompile when compiling FSharp.Core.dll TType_app (tcref, tinst, v_knownWithoutNull) else @@ -1060,7 +1063,7 @@ type TcGlobals( /// Doing this normalization is a fairly performance critical piece of code as it is frequently invoked /// in the process of converting .NET metadata to F# internal compiler data structures (see import.fs). let improveTy (tcref: EntityRef) tinst = - if compilingFSharpCore then + if compilingCoreLibrary then let dict = getBetterTypeDict1() match dict.TryGetValue tcref.LogicalName with | true, builder -> builder tcref tinst @@ -1106,7 +1109,7 @@ type TcGlobals( // better the job we do of mapping from provided expressions back to FSharp.Core F# functions and values. member _.knownFSharpCoreModules = v_knownFSharpCoreModules - member _.compilingFSharpCore = compilingFSharpCore + member _.compilingCoreLibrary = compilingCoreLibrary member _.useReflectionFreeCodeGen = useReflectionFreeCodeGen @@ -1122,9 +1125,9 @@ type TcGlobals( member _.realsig = realsig - member _.unionCaseRefEq x y = primUnionCaseRefEq compilingFSharpCore fslibCcu x y + member _.unionCaseRefEq x y = primUnionCaseRefEq compilingCoreLibrary fslibCcu x y - member _.valRefEq x y = primValRefEq compilingFSharpCore fslibCcu x y + member _.valRefEq x y = primValRefEq compilingCoreLibrary fslibCcu x y member _.fslibCcu = fslibCcu @@ -1849,7 +1852,7 @@ type TcGlobals( /// Indicates if we are generating witness arguments for SRTP constraints. Only done if the FSharp.Core /// supports witness arguments. member g.generateWitnesses = - compilingFSharpCore || + compilingCoreLibrary || ((ValRefForIntrinsic g.call_with_witnesses_info).TryDeref.IsSome && langVersion.SupportsFeature LanguageFeature.WitnessPassing) /// Indicates if we can use System.Array.Empty when emitting IL for empty array literals diff --git a/src/Compiler/TypedTree/TypedTreeBasics.fs b/src/Compiler/TypedTree/TypedTreeBasics.fs index ca2674f873f..8a2c54b1fa3 100644 --- a/src/Compiler/TypedTree/TypedTreeBasics.fs +++ b/src/Compiler/TypedTree/TypedTreeBasics.fs @@ -290,12 +290,12 @@ let rescopePubPath viewedCcu (PubPath p) = NonLocalEntityRef(viewedCcu, p) // Equality between TAST items. //--------------------------------------------------------------------------- -let valRefInThisAssembly compilingFSharpCore (x: ValRef) = +let valRefInThisAssembly compilingCoreLibrary (x: ValRef) = match x with | VRefLocal _ -> true - | VRefNonLocal _ -> compilingFSharpCore + | VRefNonLocal _ -> compilingCoreLibrary -let tyconRefUsesLocalXmlDoc compilingFSharpCore (x: TyconRef) = +let tyconRefUsesLocalXmlDoc compilingCoreLibrary (x: TyconRef) = match x with | ERefLocal _ -> true | ERefNonLocal _ -> @@ -304,12 +304,12 @@ let tyconRefUsesLocalXmlDoc compilingFSharpCore (x: TyconRef) = | TProvidedTypeRepr _ -> true | _ -> #endif - compilingFSharpCore + compilingCoreLibrary -let entityRefInThisAssembly compilingFSharpCore (x: EntityRef) = +let entityRefInThisAssembly compilingCoreLibrary (x: EntityRef) = match x with | ERefLocal _ -> true - | ERefNonLocal _ -> compilingFSharpCore + | ERefNonLocal _ -> compilingCoreLibrary let arrayPathEq (y1: string[]) (y2: string[]) = let len1 = y1.Length @@ -386,10 +386,10 @@ let fslibValRefEq fslibCcu vref1 vref2 = /// Primitive routine to compare two EntityRef's for equality /// This takes into account the possibility that they may have type forwarders -let primEntityRefEq compilingFSharpCore fslibCcu (x: EntityRef) (y: EntityRef) = +let primEntityRefEq compilingCoreLibrary fslibCcu (x: EntityRef) (y: EntityRef) = x === y || - if x.IsResolved && y.IsResolved && not compilingFSharpCore then + if x.IsResolved && y.IsResolved && not compilingCoreLibrary then x.ResolvedTarget === y.ResolvedTarget elif not x.IsLocalRef && not y.IsLocalRef && (// Two tcrefs with identical paths are always equal @@ -402,11 +402,11 @@ let primEntityRefEq compilingFSharpCore fslibCcu (x: EntityRef) (y: EntityRef) = | _ -> match y.TryDeref with ValueNone -> true | _ -> false)) then true else - compilingFSharpCore && fslibEntityRefEq fslibCcu x y + compilingCoreLibrary && fslibEntityRefEq fslibCcu x y /// Primitive routine to compare two UnionCaseRef's for equality -let primUnionCaseRefEq compilingFSharpCore fslibCcu (UnionCaseRef(tcr1, c1) as uc1) (UnionCaseRef(tcr2, c2) as uc2) = - uc1 === uc2 || (primEntityRefEq compilingFSharpCore fslibCcu tcr1 tcr2 && c1 = c2) +let primUnionCaseRefEq compilingCoreLibrary fslibCcu (UnionCaseRef(tcr1, c1) as uc1) (UnionCaseRef(tcr2, c2) as uc2) = + uc1 === uc2 || (primEntityRefEq compilingCoreLibrary fslibCcu tcr1 tcr2 && c1 = c2) /// 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 @@ -415,7 +415,7 @@ let primUnionCaseRefEq compilingFSharpCore fslibCcu (UnionCaseRef(tcr1, c1) as u /// and quotation splicing /// /// Note this routine doesn't take type forwarding into account -let primValRefEq compilingFSharpCore fslibCcu (x: ValRef) (y: ValRef) = +let primValRefEq compilingCoreLibrary fslibCcu (x: ValRef) (y: ValRef) = x === y || (x.IsResolved && y.IsResolved && x.ResolvedTarget === y.ResolvedTarget) || (x.IsLocalRef && y.IsLocalRef && valEq x.ResolvedTarget y.ResolvedTarget) @@ -423,7 +423,7 @@ let primValRefEq compilingFSharpCore fslibCcu (x: ValRef) (y: ValRef) = match x.TryDeref with | ValueSome v1 -> match y.TryDeref with ValueSome v2 -> v1 === v2 | ValueNone -> false | ValueNone -> match y.TryDeref with ValueNone -> true | ValueSome _ -> false - || (compilingFSharpCore && fslibValRefEq fslibCcu x y) + || (compilingCoreLibrary && fslibValRefEq fslibCcu x y) //--------------------------------------------------------------------------- // pubpath/cpath mess diff --git a/src/Compiler/TypedTree/TypedTreeBasics.fsi b/src/Compiler/TypedTree/TypedTreeBasics.fsi index 001e4129d06..a7cb9f43ef3 100644 --- a/src/Compiler/TypedTree/TypedTreeBasics.fsi +++ b/src/Compiler/TypedTree/TypedTreeBasics.fsi @@ -152,11 +152,11 @@ val rescopePubPathToParent: viewedCcu: CcuThunk -> PublicPath -> NonLocalEntityR /// From Ref_private to Ref_nonlocal when exporting data. val rescopePubPath: viewedCcu: CcuThunk -> PublicPath -> NonLocalEntityRef -val valRefInThisAssembly: compilingFSharpCore: bool -> x: ValRef -> bool +val valRefInThisAssembly: compilingCoreLibrary: bool -> x: ValRef -> bool -val tyconRefUsesLocalXmlDoc: compilingFSharpCore: bool -> x: TyconRef -> bool +val tyconRefUsesLocalXmlDoc: compilingCoreLibrary: bool -> x: TyconRef -> bool -val entityRefInThisAssembly: compilingFSharpCore: bool -> x: EntityRef -> bool +val entityRefInThisAssembly: compilingCoreLibrary: bool -> x: EntityRef -> bool val arrayPathEq: y1: string[] -> y2: string[] -> bool @@ -181,10 +181,10 @@ val fslibValRefEq: fslibCcu: CcuThunk -> vref1: ValRef -> vref2: ValRef -> bool /// Primitive routine to compare two EntityRef's for equality /// This takes into account the possibility that they may have type forwarders -val primEntityRefEq: compilingFSharpCore: bool -> fslibCcu: CcuThunk -> x: EntityRef -> y: EntityRef -> bool +val primEntityRefEq: compilingCoreLibrary: bool -> fslibCcu: CcuThunk -> x: EntityRef -> y: EntityRef -> bool /// Primitive routine to compare two UnionCaseRef's for equality -val primUnionCaseRefEq: compilingFSharpCore: bool -> fslibCcu: CcuThunk -> UnionCaseRef -> UnionCaseRef -> bool +val primUnionCaseRefEq: compilingCoreLibrary: bool -> fslibCcu: CcuThunk -> UnionCaseRef -> UnionCaseRef -> bool /// 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 @@ -193,7 +193,7 @@ val primUnionCaseRefEq: compilingFSharpCore: bool -> fslibCcu: CcuThunk -> Union /// and quotation splicing /// /// Note this routine doesn't take type forwarding into account -val primValRefEq: compilingFSharpCore: bool -> fslibCcu: CcuThunk -> x: ValRef -> y: ValRef -> bool +val primValRefEq: compilingCoreLibrary: bool -> fslibCcu: CcuThunk -> x: ValRef -> y: ValRef -> bool val fullCompPathOfModuleOrNamespace: m: ModuleOrNamespace -> CompilationPath diff --git a/src/Compiler/TypedTree/TypedTreeOps.fs b/src/Compiler/TypedTree/TypedTreeOps.fs index 120baae8461..fbdb29e52b8 100644 --- a/src/Compiler/TypedTree/TypedTreeOps.fs +++ b/src/Compiler/TypedTree/TypedTreeOps.fs @@ -413,8 +413,8 @@ let mkTyconRefInst (tcref: TyconRef) tinst = mkTyconInst tcref.Deref tinst // Basic equalities //--------------------------------------------------------------------------- -let tyconRefEq (g: TcGlobals) tcref1 tcref2 = primEntityRefEq g.compilingFSharpCore g.fslibCcu tcref1 tcref2 -let valRefEq (g: TcGlobals) vref1 vref2 = primValRefEq g.compilingFSharpCore g.fslibCcu vref1 vref2 +let tyconRefEq (g: TcGlobals) tcref1 tcref2 = primEntityRefEq g.compilingCoreLibrary g.fslibCcu tcref1 tcref2 +let valRefEq (g: TcGlobals) vref1 vref2 = primValRefEq g.compilingCoreLibrary g.fslibCcu vref1 vref2 //--------------------------------------------------------------------------- // Remove inference equations and abbreviations from units @@ -3875,34 +3875,34 @@ let (|AttribBitwiseOrExpr|_|) g expr = // is defined. These get through type checking because enums implicitly support the '|||' operator through // the automatic resolution of undefined operators (see tc.fs, Item.ImplicitOp). This then compiles as an // application of a lambda to two arguments. We recognize this pattern here - | Expr.App (Expr.Lambda _, _, _, [arg1;arg2], _) when g.compilingFSharpCore -> + | Expr.App (Expr.Lambda _, _, _, [arg1;arg2], _) when g.compilingCoreLibrary -> ValueSome(arg1, arg2) | _ -> ValueNone let isUncheckedDefaultOfValRef g vref = valRefEq g vref g.unchecked_defaultof_vref // There is an internal version of typeof defined in prim-types.fs that needs to be detected - || (g.compilingFSharpCore && vref.LogicalName = "defaultof") + || (g.compilingCoreLibrary && vref.LogicalName = "defaultof") let isTypeOfValRef g vref = valRefEq g vref g.typeof_vref // There is an internal version of typeof defined in prim-types.fs that needs to be detected - || (g.compilingFSharpCore && vref.LogicalName = "typeof") + || (g.compilingCoreLibrary && vref.LogicalName = "typeof") let isSizeOfValRef g vref = valRefEq g vref g.sizeof_vref // There is an internal version of typeof defined in prim-types.fs that needs to be detected - || (g.compilingFSharpCore && vref.LogicalName = "sizeof") + || (g.compilingCoreLibrary && vref.LogicalName = "sizeof") let isNameOfValRef g vref = valRefEq g vref g.nameof_vref // There is an internal version of nameof defined in prim-types.fs that needs to be detected - || (g.compilingFSharpCore && vref.LogicalName = "nameof") + || (g.compilingCoreLibrary && vref.LogicalName = "nameof") let isTypeDefOfValRef g vref = valRefEq g vref g.typedefof_vref // There is an internal version of typedefof defined in prim-types.fs that needs to be detected - || (g.compilingFSharpCore && vref.LogicalName = "typedefof") + || (g.compilingCoreLibrary && vref.LogicalName = "typedefof") [] let (|UncheckedDefaultOfExpr|_|) g expr = @@ -5908,7 +5908,7 @@ and remapExprImpl (ctxt: RemapContext) (compgen: ValCopyFlag) (tmenv: Remap) exp | Expr.Op (TOp.ValFieldGetAddr (rfref, readonly), tinst, [arg], m) when not rfref.RecdField.IsMutable && - not (entityRefInThisAssembly ctxt.g.compilingFSharpCore rfref.TyconRef) -> + not (entityRefInThisAssembly ctxt.g.compilingCoreLibrary rfref.TyconRef) -> let tinst = remapTypes tmenv tinst let arg = remapExprImpl ctxt compgen tmenv arg @@ -5917,7 +5917,7 @@ and remapExprImpl (ctxt: RemapContext) (compgen: ValCopyFlag) (tmenv: Remap) exp | Expr.Op (TOp.UnionCaseFieldGetAddr (uref, cidx, readonly), tinst, [arg], m) when not (uref.FieldByIndex(cidx).IsMutable) && - not (entityRefInThisAssembly ctxt.g.compilingFSharpCore uref.TyconRef) -> + not (entityRefInThisAssembly ctxt.g.compilingCoreLibrary uref.TyconRef) -> let tinst = remapTypes tmenv tinst let arg = remapExprImpl ctxt compgen tmenv arg @@ -6537,7 +6537,7 @@ let isExnDefinitelyMutable (_ecref: TyconRef) = true // with caution. Hence we are conservative and within FSharp.Core we don't treat list // reads as if they were pure. let isUnionCaseFieldMutable (g: TcGlobals) (ucref: UnionCaseRef) n = - (g.compilingFSharpCore && tyconRefEq g ucref.TyconRef g.list_tcr_canon && n = 1) || + (g.compilingCoreLibrary && tyconRefEq g ucref.TyconRef g.list_tcr_canon && n = 1) || (ucref.FieldByIndex n).IsMutable let isExnFieldMutable ecref n = @@ -6963,7 +6963,7 @@ let CanTakeAddressOfImmutableVal (g: TcGlobals) m (vref: ValRef) mut = not vref.IsMutable && not vref.IsMemberOrModuleBinding && // Note: We can't add this: - // || valRefInThisAssembly g.compilingFSharpCore vref + // || valRefInThisAssembly g.compilingCoreLibrary vref // This is because we don't actually guarantee to generate static backing fields for all values like these, e.g. simple constants "let x = 1". // We always generate a static property but there is no field to take an address of CanTakeAddressOf g m false vref.Type mut @@ -6971,7 +6971,7 @@ let CanTakeAddressOfImmutableVal (g: TcGlobals) m (vref: ValRef) mut = let MustTakeAddressOfVal (g: TcGlobals) (vref: ValRef) = vref.IsMutable && // We can only take the address of mutable values in the same assembly - valRefInThisAssembly g.compilingFSharpCore vref + valRefInThisAssembly g.compilingCoreLibrary vref let MustTakeAddressOfByrefGet (g: TcGlobals) (vref: ValRef) = isByrefTy g vref.Type && not (isInByrefTy g vref.Type) @@ -6989,13 +6989,13 @@ let MustTakeAddressOfRecdFieldRef (rfref: RecdFieldRef) = MustTakeAddressOfRecdF let CanTakeAddressOfRecdFieldRef (g: TcGlobals) m (rfref: RecdFieldRef) tinst mut = // We only do this if the field is defined in this assembly because we can't take addresses across assemblies for immutable fields - entityRefInThisAssembly g.compilingFSharpCore rfref.TyconRef && + entityRefInThisAssembly g.compilingCoreLibrary rfref.TyconRef && not rfref.RecdField.IsMutable && CanTakeAddressOf g m false (actualTyOfRecdFieldRef rfref tinst) mut let CanTakeAddressOfUnionFieldRef (g: TcGlobals) m (uref: UnionCaseRef) cidx tinst mut = // We only do this if the field is defined in this assembly because we can't take addresses across assemblies for immutable fields - entityRefInThisAssembly g.compilingFSharpCore uref.TyconRef && + entityRefInThisAssembly g.compilingCoreLibrary uref.TyconRef && let rfref = uref.FieldByIndex cidx not rfref.IsMutable && CanTakeAddressOf g m false (actualTyOfUnionFieldRef uref cidx tinst) mut @@ -7220,7 +7220,7 @@ let rec IterateRecursiveFixups g (selfv: Val option) rvs (access: Expr, set) exp (fun e -> // NICE: it would be better to do this check in the type checker let tcref = c.TyconRef - if not (c.FieldByIndex n).IsMutable && not (entityRefInThisAssembly g.compilingFSharpCore tcref) then + if not (c.FieldByIndex n).IsMutable && not (entityRefInThisAssembly g.compilingCoreLibrary tcref) then errorR(Error(FSComp.SR.tastRecursiveValuesMayNotAppearInConstructionOfType(tcref.LogicalName), m)) mkUnionCaseFieldSet (access, c, tinst, n, e, m)))) @@ -7231,7 +7231,7 @@ let rec IterateRecursiveFixups g (selfv: Val option) rvs (access: Expr, set) exp (mkRecdFieldGetViaExprAddr (access, fref, tinst, m), (fun e -> // NICE: it would be better to do this check in the type checker - if not fspec.IsMutable && not (entityRefInThisAssembly g.compilingFSharpCore tcref) then + if not fspec.IsMutable && not (entityRefInThisAssembly g.compilingCoreLibrary tcref) then errorR(Error(FSComp.SR.tastRecursiveValuesMayNotBeAssignedToNonMutableField(fspec.rfield_id.idText, tcref.LogicalName), m)) mkRecdFieldSetViaExprAddr (access, fref, tinst, e, m))) arg ) | Expr.Val _ diff --git a/src/Compiler/TypedTree/TypedTreePickle.fs b/src/Compiler/TypedTree/TypedTreePickle.fs index 038909659ce..76c42c9dc77 100644 --- a/src/Compiler/TypedTree/TypedTreePickle.fs +++ b/src/Compiler/TypedTree/TypedTreePickle.fs @@ -1779,7 +1779,7 @@ let rec p_tycon_repr x st = // Unions with static fields, added to format | TFSharpTyconRepr ({ fsobjmodel_cases = cases; fsobjmodel_kind = TFSharpUnion } as r) -> - if st.oglobals.compilingFSharpCore then + if st.oglobals.compilingCoreLibrary then let fields = r.fsobjmodel_rfields.FieldsByIndex let firstFieldRange = fields[0].DefinitionRange let allFieldsText = fields |> Array.map (fun f -> f.LogicalName) |> String.concat System.Environment.NewLine @@ -1962,11 +1962,11 @@ and p_tycon_objmodel_kind x st = | TFSharpDelegate ss -> p_byte 3 st; p_slotsig ss st | TFSharpEnum -> p_byte 4 st | TFSharpUnion -> - if st.oglobals.compilingFSharpCore then + if st.oglobals.compilingCoreLibrary then raise (Error(FSComp.SR.pickleFsharpCoreBackwardsCompatible("union as FSharpTyconKind ",st.ofile), range.Zero)) p_byte 5 st | TFSharpRecord -> - if st.oglobals.compilingFSharpCore then + if st.oglobals.compilingCoreLibrary then raise (Error(FSComp.SR.pickleFsharpCoreBackwardsCompatible("record as FSharpTyconKind ",st.ofile), range.Zero)) p_byte 6 st diff --git a/src/FSharp.Core/FSharp.Core.fsproj b/src/FSharp.Core/FSharp.Core.fsproj index 418f8a57c52..2dddaf660c5 100644 --- a/src/FSharp.Core/FSharp.Core.fsproj +++ b/src/FSharp.Core/FSharp.Core.fsproj @@ -25,7 +25,7 @@ $(OtherFlags) --nowarn:3511 $(OtherFlags) --nowarn:3513 - $(OtherFlags) --compiling-fslib --compiling-fslib-40 --maxerrors:100 --extraoptimizationloops:1 + $(OtherFlags) --compiling-fslib --maxerrors:100 --extraoptimizationloops:1 true true @@ -103,12 +103,6 @@ Collections/local.fs - - Collections/array2.fsi - - - Collections/array2.fs - Collections/option.fsi @@ -157,6 +151,12 @@ Collections/array.fs + + Collections/array2.fsi + + + Collections/array2.fs + Collections/array3.fsi @@ -175,6 +175,12 @@ Collections/set.fs + + Collections/collectionextensions.fsi + + + Collections/collectionextensions.fs + Reflection/reflect.fsi diff --git a/src/FSharp.Core/Linq.fs b/src/FSharp.Core/Linq.fs index cf7033e09db..7afa7d47138 100644 --- a/src/FSharp.Core/Linq.fs +++ b/src/FSharp.Core/Linq.fs @@ -345,10 +345,10 @@ module LeafExpressionConverter = let (|ConvIntPtrQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Operators.nativeint)) let (|ConvUIntPtrQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Operators.unativeint)) - let (|ConvInt8Q|_|) = SpecificCallToMethodInfo (typeof.Assembly.GetType("Microsoft.FSharp.Core.ExtraTopLevelOperators").GetMethod("ToSByte")) - let (|ConvUInt8Q|_|) = SpecificCallToMethodInfo (typeof.Assembly.GetType("Microsoft.FSharp.Core.ExtraTopLevelOperators").GetMethod("ToByte")) - let (|ConvDoubleQ|_|) = SpecificCallToMethodInfo (typeof.Assembly.GetType("Microsoft.FSharp.Core.ExtraTopLevelOperators").GetMethod("ToDouble")) - let (|ConvSingleQ|_|) = SpecificCallToMethodInfo (typeof.Assembly.GetType("Microsoft.FSharp.Core.ExtraTopLevelOperators").GetMethod("ToSingle")) + let (|ConvInt8Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> Operators.int8 x)) + let (|ConvUInt8Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> Operators.uint8 x)) + let (|ConvDoubleQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> Operators.double x)) + let (|ConvSingleQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> Operators.single x)) let (|ConvNullableCharQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Nullable.char)) let (|ConvNullableDecimalQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Nullable.decimal)) @@ -374,8 +374,8 @@ module LeafExpressionConverter = let (|TypeTestGeneric|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> LanguagePrimitives.IntrinsicFunctions.TypeTestGeneric x)) let (|CheckedConvCharQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Checked.char)) let (|CheckedConvSByteQ|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Checked.sbyte)) - let (|CheckedConvInt8Q|_|) = SpecificCallToMethodInfo (typeof.Assembly.GetType("Microsoft.FSharp.Core.ExtraTopLevelOperators+Checked").GetMethod("ToSByte")) - let (|CheckedConvUInt8Q|_|) = SpecificCallToMethodInfo (typeof.Assembly.GetType("Microsoft.FSharp.Core.ExtraTopLevelOperators+Checked").GetMethod("ToByte")) + let (|CheckedConvInt8Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> Operators.Checked.int8 x)) + let (|CheckedConvUInt8Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (fun x -> Operators.Checked.uint8 x)) let (|CheckedConvInt16Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Checked.int16)) let (|CheckedConvInt32Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Checked.int32)) let (|CheckedConvInt64Q|_|) = (|SpecificCallToMethod|_|) (methodhandleof (Checked.int64)) diff --git a/src/FSharp.Core/async.fs b/src/FSharp.Core/async.fs index 9f9a2d1ef48..f6eda0982e8 100644 --- a/src/FSharp.Core/async.fs +++ b/src/FSharp.Core/async.fs @@ -2246,6 +2246,9 @@ type Async = module CommonExtensions = + [] + let async = AsyncBuilder() + type System.IO.Stream with [] // give the extension member a 'nice', unmangled compiled name, unique within this module diff --git a/src/FSharp.Core/async.fsi b/src/FSharp.Core/async.fsi index 6b621176c9d..3e7ec38d196 100644 --- a/src/FSharp.Core/async.fsi +++ b/src/FSharp.Core/async.fsi @@ -1394,6 +1394,24 @@ namespace Microsoft.FSharp.Control [] module CommonExtensions = + /// Builds an asynchronous workflow using computation expression syntax. + /// + /// + /// + /// let sleepExample() = + /// async { + /// printfn "sleeping" + /// do! Async.Sleep 10 + /// printfn "waking up" + /// return 6 + /// } + /// + /// sleepExample() |> Async.RunSynchronously + /// + /// + [] + val async: AsyncBuilder + type System.IO.Stream with /// Returns an asynchronous computation that will read from the stream into the given buffer. diff --git a/src/FSharp.Core/collectionextensions.fs b/src/FSharp.Core/collectionextensions.fs new file mode 100644 index 00000000000..79b8a6ee3d8 --- /dev/null +++ b/src/FSharp.Core/collectionextensions.fs @@ -0,0 +1,248 @@ +// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. + +namespace Microsoft.FSharp.Collections + +open System +open System.Collections.Generic +open System.ComponentModel +open System.IO +open System.Diagnostics +open Microsoft.FSharp.Core +open Microsoft.FSharp.Collections +open Microsoft.FSharp.Core.CompilerServices + + +[] +module CollectionExtensions = + + [] + let inline set elements = + Set.ofSeq elements + + let dummyArray = [||] + + let inline dont_tail_call f = + let result = f () + dummyArray.Length |> ignore // pretty stupid way to avoid tail call, would be better if attribute existed, but this should be inlineable by the JIT + result + + let inline ICollection_Contains<'collection, 'item when 'collection :> ICollection<'item>> + (collection: 'collection) + (item: 'item) + = + collection.Contains item + + [] + [>)>] + type DictImpl<'SafeKey, 'Key, 'T> + (t: Dictionary<'SafeKey, 'T>, makeSafeKey: 'Key -> 'SafeKey, getKey: 'SafeKey -> 'Key) = + + member _.Count = t.Count + + // Give a read-only view of the dictionary + interface IDictionary<'Key, 'T> with + member _.Item + with get x = dont_tail_call (fun () -> t.[makeSafeKey x]) + and set _ _ = raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Keys = + let keys = t.Keys + + { new ICollection<'Key> with + member _.Add(x) = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Clear() = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Remove(x) = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Contains(x) = + t.ContainsKey(makeSafeKey x) + + member _.CopyTo(arr, i) = + let mutable n = 0 + + for k in keys do + arr.[i + n] <- getKey k + n <- n + 1 + + member _.IsReadOnly = true + + member _.Count = keys.Count + interface IEnumerable<'Key> with + member _.GetEnumerator() = + (keys |> Seq.map getKey).GetEnumerator() + interface System.Collections.IEnumerable with + member _.GetEnumerator() = + ((keys |> Seq.map getKey) :> System.Collections.IEnumerable).GetEnumerator() + } + + member _.Values = upcast t.Values + + member _.Add(_, _) = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.ContainsKey(k) = + dont_tail_call (fun () -> t.ContainsKey(makeSafeKey k)) + + member _.TryGetValue(k, r) = + let safeKey = makeSafeKey k + + match t.TryGetValue safeKey with + | true, tsafe -> + (r <- tsafe + true) + | false, _ -> false + + member _.Remove(_: 'Key) = + (raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))): bool) + + interface IReadOnlyDictionary<'Key, 'T> with + + member _.Item + with get key = t.[makeSafeKey key] + + member _.Keys = t.Keys |> Seq.map getKey + + member _.TryGetValue(key, r) = + match t.TryGetValue(makeSafeKey key) with + | false, _ -> false + | true, value -> + r <- value + true + + member _.Values = (t :> IReadOnlyDictionary<_, _>).Values + + member _.ContainsKey k = + t.ContainsKey(makeSafeKey k) + + interface ICollection> with + + member _.Add(_) = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Clear() = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Remove(_) = + raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) + + member _.Contains(KeyValue(k, v)) = + ICollection_Contains t (KeyValuePair<_, _>(makeSafeKey k, v)) + + member _.CopyTo(arr, i) = + let mutable n = 0 + + for (KeyValue(k, v)) in t do + arr.[i + n] <- KeyValuePair<_, _>(getKey k, v) + n <- n + 1 + + member _.IsReadOnly = true + + member _.Count = t.Count + + interface IReadOnlyCollection> with + member _.Count = t.Count + + interface IEnumerable> with + + member _.GetEnumerator() = + // We use an array comprehension here instead of seq {} as otherwise we get incorrect + // IEnumerator.Reset() and IEnumerator.Current semantics. + let kvps = [| for (KeyValue(k, v)) in t -> KeyValuePair(getKey k, v) |] :> seq<_> + kvps.GetEnumerator() + + interface System.Collections.IEnumerable with + member _.GetEnumerator() = + // We use an array comprehension here instead of seq {} as otherwise we get incorrect + // IEnumerator.Reset() and IEnumerator.Current semantics. + let kvps = + [| for (KeyValue(k, v)) in t -> KeyValuePair(getKey k, v) |] :> System.Collections.IEnumerable + + kvps.GetEnumerator() + + and DictDebugView<'SafeKey, 'Key, 'T>(d: DictImpl<'SafeKey, 'Key, 'T>) = + [] + member _.Items = Array.ofSeq d + + let inline dictImpl + (comparer: IEqualityComparer<'SafeKey>) + (makeSafeKey: 'Key -> 'SafeKey) + (getKey: 'SafeKey -> 'Key) + (l: seq<'Key * 'T>) + = + let t = Dictionary comparer + + for (k, v) in l do + t.[makeSafeKey k] <- v + + DictImpl(t, makeSafeKey, getKey) + + // We avoid wrapping a StructBox, because under 64 JIT we get some "hard" tailcalls which affect performance + let dictValueType (l: seq<'Key * 'T>) = + dictImpl HashIdentity.Structural<'Key> id id l + + // Wrap a StructBox around all keys in case the key type is itself a type using null as a representation + let dictRefType (l: seq<'Key * 'T>) = + dictImpl RuntimeHelpers.StructBox<'Key>.Comparer (RuntimeHelpers.StructBox) (fun sb -> sb.Value) l + + [] + let dict (keyValuePairs: seq<'Key * 'T>) : IDictionary<'Key, 'T> = + if typeof<'Key>.IsValueType then + dictValueType keyValuePairs + else + dictRefType keyValuePairs + + [] + let readOnlyDict (keyValuePairs: seq<'Key * 'T>) : IReadOnlyDictionary<'Key, 'T> = + if typeof<'Key>.IsValueType then + dictValueType keyValuePairs + else + dictRefType keyValuePairs + + let inline checkNonNullNullArg argName arg = + match box arg with + | null -> nullArg argName + | _ -> () + + let inline checkNonNullInvalidArg argName message arg = + match box arg with + | null -> invalidArg argName message + | _ -> () + + let getArray (vals: seq<'T>) = + match vals with + | :? ('T array) as arr -> arr + | _ -> Seq.toArray vals + + [] + let array2D (rows: seq<#seq<'T>>) = + checkNonNullNullArg "rows" rows + let rowsArr = getArray rows + let m = rowsArr.Length + + if m = 0 then + Array2D.zeroCreate 0 0 + else + checkNonNullInvalidArg "rows" (SR.GetString(SR.nullsNotAllowedInArray)) rowsArr.[0] + let firstRowArr = getArray rowsArr.[0] + let n = firstRowArr.Length + let res = Array2D.zeroCreate m n + + for j in 0 .. (n - 1) do + res.[0, j] <- firstRowArr.[j] + + for i in 1 .. (m - 1) do + checkNonNullInvalidArg "rows" (SR.GetString(SR.nullsNotAllowedInArray)) rowsArr.[i] + let rowiArr = getArray rowsArr.[i] + + if rowiArr.Length <> n then + invalidArg "vals" (SR.GetString(SR.arraysHadDifferentLengths)) + + for j in 0 .. (n - 1) do + res.[i, j] <- rowiArr.[j] + + res + diff --git a/src/FSharp.Core/collectionextensions.fsi b/src/FSharp.Core/collectionextensions.fsi new file mode 100644 index 00000000000..a88ea73d9a4 --- /dev/null +++ b/src/FSharp.Core/collectionextensions.fsi @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. + +namespace Microsoft.FSharp.Collections + +open Microsoft.FSharp.Core +open System.ComponentModel + +/// A set of extra operators and functions. This module is automatically opened in all F# code. +/// +/// Basic Operators +[] +module CollectionExtensions = + + /// Builds a set from a sequence of objects. The objects are indexed using generic comparison. + /// + /// The input sequence of elements. + /// + /// The created set. + /// + /// + /// + /// let values = set [ 1; 2; 3; 5; 7; 11 ] + /// + /// Evaluates to a set containing the given numbers. + /// + [] + val inline set: elements: seq<'T> -> Set<'T> + + /// Builds a read-only lookup table from a sequence of key/value pairs. The key objects are indexed using generic hashing and equality. + /// + /// + /// + /// let table = dict [ (1, 100); (2, 200) ] + /// + /// table[1] + /// + /// Evaluates to 100. + /// + /// + /// + /// + /// let table = dict [ (1, 100); (2, 200) ] + /// + /// table[3] + /// + /// Throws System.Collections.Generic.KeyNotFoundException. + /// + [] + val dict: keyValuePairs: seq<'Key * 'Value> -> System.Collections.Generic.IDictionary<'Key,'Value> when 'Key : equality + + /// Builds a read-only lookup table from a sequence of key/value pairs. The key objects are indexed using generic hashing and equality. + /// + /// + /// + /// let table = readOnlyDict [ (1, 100); (2, 200) ] + /// + /// table[1] + /// + /// Evaluates to 100. + /// + /// + /// + /// + /// let table = readOnlyDict [ (1, 100); (2, 200) ] + /// + /// table[3] + /// + /// Throws System.Collections.Generic.KeyNotFoundException. + /// + [] + val readOnlyDict: keyValuePairs: seq<'Key * 'Value> -> System.Collections.Generic.IReadOnlyDictionary<'Key,'Value> when 'Key : equality + + /// Builds a 2D array from a sequence of sequences of elements. + /// + /// + /// + /// array2D [ [ 1.0; 2.0 ]; [ 3.0; 4.0 ] ] + /// + /// Evaluates to a 2x2 zero-based array with contents [[1.0; 2.0]; [3.0; 4.0]] + /// + [] + val array2D: rows: seq<#seq<'T>> -> 'T[,] diff --git a/src/FSharp.Core/fslib-extra-pervasives.fs b/src/FSharp.Core/fslib-extra-pervasives.fs index b5cf5dee3af..169d1b2475e 100644 --- a/src/FSharp.Core/fslib-extra-pervasives.fs +++ b/src/FSharp.Core/fslib-extra-pervasives.fs @@ -6,306 +6,87 @@ module ExtraTopLevelOperators = open System open System.Collections.Generic + open System.ComponentModel open System.IO - open System.Diagnostics - open Microsoft.FSharp open Microsoft.FSharp.Core - open Microsoft.FSharp.Core.Operators open Microsoft.FSharp.Collections open Microsoft.FSharp.Control open Microsoft.FSharp.Linq - open Microsoft.FSharp.Primitives.Basics - open Microsoft.FSharp.Core.CompilerServices - let inline checkNonNullNullArg argName arg = - match box arg with - | null -> nullArg argName - | _ -> () - - let inline checkNonNullInvalidArg argName message arg = - match box arg with - | null -> invalidArg argName message - | _ -> () - - [] + [] let set elements = - Collections.Set.ofSeq elements - - let dummyArray = [||] - - let inline dont_tail_call f = - let result = f () - dummyArray.Length |> ignore // pretty stupid way to avoid tail call, would be better if attribute existed, but this should be inlineable by the JIT - result - - let inline ICollection_Contains<'collection, 'item when 'collection :> ICollection<'item>> - (collection: 'collection) - (item: 'item) - = - collection.Contains item - - [] - [>)>] - type DictImpl<'SafeKey, 'Key, 'T> - (t: Dictionary<'SafeKey, 'T>, makeSafeKey: 'Key -> 'SafeKey, getKey: 'SafeKey -> 'Key) = - - member _.Count = t.Count - - // Give a read-only view of the dictionary - interface IDictionary<'Key, 'T> with - member _.Item - with get x = dont_tail_call (fun () -> t.[makeSafeKey x]) - and set _ _ = raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Keys = - let keys = t.Keys - - { new ICollection<'Key> with - member _.Add(x) = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Clear() = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Remove(x) = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Contains(x) = - t.ContainsKey(makeSafeKey x) - - member _.CopyTo(arr, i) = - let mutable n = 0 - - for k in keys do - arr.[i + n] <- getKey k - n <- n + 1 - - member _.IsReadOnly = true - - member _.Count = keys.Count - interface IEnumerable<'Key> with - member _.GetEnumerator() = - (keys |> Seq.map getKey).GetEnumerator() - interface System.Collections.IEnumerable with - member _.GetEnumerator() = - ((keys |> Seq.map getKey) :> System.Collections.IEnumerable).GetEnumerator() - } - - member _.Values = upcast t.Values - - member _.Add(_, _) = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.ContainsKey(k) = - dont_tail_call (fun () -> t.ContainsKey(makeSafeKey k)) - - member _.TryGetValue(k, r) = - let safeKey = makeSafeKey k - - match t.TryGetValue safeKey with - | true, tsafe -> - (r <- tsafe - true) - | false, _ -> false - - member _.Remove(_: 'Key) = - (raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))): bool) - - interface IReadOnlyDictionary<'Key, 'T> with - - member _.Item - with get key = t.[makeSafeKey key] - - member _.Keys = t.Keys |> Seq.map getKey - - member _.TryGetValue(key, r) = - match t.TryGetValue(makeSafeKey key) with - | false, _ -> false - | true, value -> - r <- value - true - - member _.Values = (t :> IReadOnlyDictionary<_, _>).Values + set elements - member _.ContainsKey k = - t.ContainsKey(makeSafeKey k) - - interface ICollection> with - - member _.Add(_) = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Clear() = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Remove(_) = - raise (NotSupportedException(SR.GetString(SR.thisValueCannotBeMutated))) - - member _.Contains(KeyValue(k, v)) = - ICollection_Contains t (KeyValuePair<_, _>(makeSafeKey k, v)) - - member _.CopyTo(arr, i) = - let mutable n = 0 - - for (KeyValue(k, v)) in t do - arr.[i + n] <- KeyValuePair<_, _>(getKey k, v) - n <- n + 1 - - member _.IsReadOnly = true - - member _.Count = t.Count - - interface IReadOnlyCollection> with - member _.Count = t.Count - - interface IEnumerable> with - - member _.GetEnumerator() = - // We use an array comprehension here instead of seq {} as otherwise we get incorrect - // IEnumerator.Reset() and IEnumerator.Current semantics. - let kvps = [| for (KeyValue(k, v)) in t -> KeyValuePair(getKey k, v) |] :> seq<_> - kvps.GetEnumerator() - - interface System.Collections.IEnumerable with - member _.GetEnumerator() = - // We use an array comprehension here instead of seq {} as otherwise we get incorrect - // IEnumerator.Reset() and IEnumerator.Current semantics. - let kvps = - [| for (KeyValue(k, v)) in t -> KeyValuePair(getKey k, v) |] :> System.Collections.IEnumerable - - kvps.GetEnumerator() - - and DictDebugView<'SafeKey, 'Key, 'T>(d: DictImpl<'SafeKey, 'Key, 'T>) = - [] - member _.Items = Array.ofSeq d - - let inline dictImpl - (comparer: IEqualityComparer<'SafeKey>) - (makeSafeKey: 'Key -> 'SafeKey) - (getKey: 'SafeKey -> 'Key) - (l: seq<'Key * 'T>) - = - let t = Dictionary comparer - - for (k, v) in l do - t.[makeSafeKey k] <- v - - DictImpl(t, makeSafeKey, getKey) - - // We avoid wrapping a StructBox, because under 64 JIT we get some "hard" tailcalls which affect performance - let dictValueType (l: seq<'Key * 'T>) = - dictImpl HashIdentity.Structural<'Key> id id l - - // Wrap a StructBox around all keys in case the key type is itself a type using null as a representation - let dictRefType (l: seq<'Key * 'T>) = - dictImpl RuntimeHelpers.StructBox<'Key>.Comparer (RuntimeHelpers.StructBox) (fun sb -> sb.Value) l - - [] + [] let dict (keyValuePairs: seq<'Key * 'T>) : IDictionary<'Key, 'T> = - if typeof<'Key>.IsValueType then - dictValueType keyValuePairs - else - dictRefType keyValuePairs + dict keyValuePairs - [] + [] let readOnlyDict (keyValuePairs: seq<'Key * 'T>) : IReadOnlyDictionary<'Key, 'T> = - if typeof<'Key>.IsValueType then - dictValueType keyValuePairs - else - dictRefType keyValuePairs + readOnlyDict keyValuePairs - let getArray (vals: seq<'T>) = - match vals with - | :? ('T array) as arr -> arr - | _ -> Seq.toArray vals - - [] + [] let array2D (rows: seq<#seq<'T>>) = - checkNonNullNullArg "rows" rows - let rowsArr = getArray rows - let m = rowsArr.Length - - if m = 0 then - Array2D.zeroCreate<'T> 0 0 - else - checkNonNullInvalidArg "rows" (SR.GetString(SR.nullsNotAllowedInArray)) rowsArr.[0] - let firstRowArr = getArray rowsArr.[0] - let n = firstRowArr.Length - let res = Array2D.zeroCreate<'T> m n - - for j in 0 .. (n - 1) do - res.[0, j] <- firstRowArr.[j] - - for i in 1 .. (m - 1) do - checkNonNullInvalidArg "rows" (SR.GetString(SR.nullsNotAllowedInArray)) rowsArr.[i] - let rowiArr = getArray rowsArr.[i] - - if rowiArr.Length <> n then - invalidArg "vals" (SR.GetString(SR.arraysHadDifferentLengths)) - - for j in 0 .. (n - 1) do - res.[i, j] <- rowiArr.[j] - - res + array2D rows - [] + [] let sprintf format = - Printf.sprintf format + sprintf format - [] + [] let failwithf format = - Printf.failwithf format + failwithf format - [] + [] let fprintf (textWriter: TextWriter) format = - Printf.fprintf textWriter format + fprintf textWriter format - [] + [] let fprintfn (textWriter: TextWriter) format = - Printf.fprintfn textWriter format + fprintfn textWriter format - [] + [] let printf format = Printf.printf format - [] + [] let eprintf format = Printf.eprintf format - [] + [] let printfn format = Printf.printfn format - [] + [] let eprintfn format = - Printf.eprintfn format + eprintfn format - [] + [] let async = AsyncBuilder() - [] + [] let inline single value = float32 value - [] + [] let inline double value = float value - [] + [] let inline uint8 value = byte value - [] + [] let inline int8 value = sbyte value module Checked = - [] + [] let inline uint8 value = Checked.byte value - [] + [] let inline int8 value = Checked.sbyte value diff --git a/src/FSharp.Core/fslib-extra-pervasives.fsi b/src/FSharp.Core/fslib-extra-pervasives.fsi index 97120245f87..a9e6145f333 100644 --- a/src/FSharp.Core/fslib-extra-pervasives.fsi +++ b/src/FSharp.Core/fslib-extra-pervasives.fsi @@ -9,11 +9,11 @@ namespace Microsoft.FSharp.Core [] module ExtraTopLevelOperators = + open System.ComponentModel open System.IO open Microsoft.FSharp.Core open Microsoft.FSharp.Control open Microsoft.FSharp.Collections - open Microsoft.FSharp.Control open Microsoft.FSharp.Linq open Microsoft.FSharp.Quotations @@ -24,7 +24,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.printf (link: ) for examples. - [] + [] val printf: format: Printf.TextWriterFormat<'T> -> 'T /// Print to stdout using the given format, and add a newline. @@ -34,7 +34,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.printfn (link: ) for examples. - [] + [] val printfn: format: Printf.TextWriterFormat<'T> -> 'T /// Print to stderr using the given format. @@ -44,7 +44,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.eprintf (link: ) for examples. - [] + [] val eprintf: format: Printf.TextWriterFormat<'T> -> 'T /// Print to stderr using the given format, and add a newline. @@ -54,7 +54,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.eprintfn (link: ) for examples. - [] + [] val eprintfn: format: Printf.TextWriterFormat<'T> -> 'T /// Print to a string using the given format. @@ -64,7 +64,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.sprintf (link: ) for examples. - [] + [] val sprintf: format: Printf.StringFormat<'T> -> 'T /// Print to a string buffer and raise an exception with the given @@ -75,7 +75,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.failwithf (link: ) for examples. - [] + [] val failwithf: format: Printf.StringFormat<'T,'Result> -> 'T /// Print to a file using the given format. @@ -86,7 +86,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.fprintf (link: ) for examples. - [] + [] val fprintf: textWriter: TextWriter -> format:Printf.TextWriterFormat<'T> -> 'T /// Print to a file using the given format, and add a newline. @@ -97,7 +97,7 @@ module ExtraTopLevelOperators = /// The formatted result. /// /// See Printf.fprintfn (link: ) for examples. - [] + [] val fprintfn : textWriter: TextWriter -> format:Printf.TextWriterFormat<'T> -> 'T /// Builds a set from a sequence of objects. The objects are indexed using generic comparison. @@ -112,7 +112,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to a set containing the given numbers. /// - [] + [] val set: elements: seq<'T> -> Set<'T> /// Builds an asynchronous workflow using computation expression syntax. @@ -130,7 +130,7 @@ module ExtraTopLevelOperators = /// sleepExample() |> Async.RunSynchronously /// /// - [] + [] val async: AsyncBuilder /// Converts the argument to 32-bit float. @@ -144,7 +144,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to 45.0f. /// - [] + [] val inline single: value: ^T -> single when ^T : (static member op_Explicit : ^T -> single) and default ^T : int /// Converts the argument to 64-bit float. @@ -165,7 +165,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to 12.30000019. /// - [] + [] val inline double: value: ^T -> double when ^T : (static member op_Explicit : ^T -> double) and default ^T : int /// Converts the argument to byte. @@ -178,7 +178,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to 12uy. /// - [] + [] val inline uint8: value: ^T -> uint8 when ^T : (static member op_Explicit : ^T -> uint8) and default ^T : int /// Converts the argument to signed byte. @@ -199,7 +199,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to 3y. /// - [] + [] val inline int8: value: ^T -> int8 when ^T : (static member op_Explicit : ^T -> int8) and default ^T : int module Checked = @@ -221,7 +221,7 @@ module ExtraTopLevelOperators = /// /// Throws System.OverflowException. /// - [] + [] val inline uint8: value: ^T -> byte when ^T : (static member op_Explicit : ^T -> uint8) and default ^T : int /// Converts the argument to signed byte. @@ -242,7 +242,7 @@ module ExtraTopLevelOperators = /// /// Throws System.OverflowException. /// - [] + [] val inline int8: value: ^T -> sbyte when ^T : (static member op_Explicit : ^T -> int8) and default ^T : int /// Builds a read-only lookup table from a sequence of key/value pairs. The key objects are indexed using generic hashing and equality. @@ -264,7 +264,7 @@ module ExtraTopLevelOperators = /// /// Throws System.Collections.Generic.KeyNotFoundException. /// - [] + [] val dict: keyValuePairs: seq<'Key * 'Value> -> System.Collections.Generic.IDictionary<'Key,'Value> when 'Key : equality /// Builds a read-only lookup table from a sequence of key/value pairs. The key objects are indexed using generic hashing and equality. @@ -286,7 +286,7 @@ module ExtraTopLevelOperators = /// /// Throws System.Collections.Generic.KeyNotFoundException. /// - [] + [] val readOnlyDict: keyValuePairs: seq<'Key * 'Value> -> System.Collections.Generic.IReadOnlyDictionary<'Key,'Value> when 'Key : equality /// Builds a 2D array from a sequence of sequences of elements. @@ -297,7 +297,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to a 2x2 zero-based array with contents [[1.0; 2.0]; [3.0; 4.0]] /// - [] + [] val array2D: rows: seq<#seq<'T>> -> 'T[,] /// Special prefix operator for splicing typed expressions into quotation holes. @@ -339,7 +339,7 @@ module ExtraTopLevelOperators = /// /// Evaluates to 10. The text eval! is printed once on the first invocation of f. /// - [] + [] val (|Lazy|): input: Lazy<'T> -> 'T /// Builds a query using query syntax and operators. diff --git a/src/FSharp.Core/prim-types.fs b/src/FSharp.Core/prim-types.fs index d95659a14f2..7ff46fa6401 100644 --- a/src/FSharp.Core/prim-types.fs +++ b/src/FSharp.Core/prim-types.fs @@ -4742,6 +4742,9 @@ namespace Microsoft.FSharp.Core // this condition is used whenever ^T is resolved to a nominal type or witnesses are available when ^T : ^T = (^T : (static member op_Explicit: ^T -> byte) (value)) + [] + let inline uint8 value = byte value + [] [] let inline sbyte (value: ^T) = @@ -4764,6 +4767,10 @@ namespace Microsoft.FSharp.Core // this condition is used whenever ^T is resolved to a nominal type or witnesses are available when ^T : ^T = (^T : (static member op_Explicit: ^T -> sbyte) (value)) + + [] + let inline int8 value = sbyte value + [] [] let inline uint16 (value: ^T) = @@ -4944,6 +4951,8 @@ namespace Microsoft.FSharp.Core when ^T : byte = (# "conv.r.un conv.r4" value : float32 #) when ^T : ^T = (^T : (static member op_Explicit: ^T -> float32) (value)) + let inline single value = float32 value + [] [] let inline float (value: ^T) = @@ -4966,6 +4975,8 @@ namespace Microsoft.FSharp.Core when ^T : decimal = (Convert.ToDouble((# "" value : decimal #))) when ^T : ^T = (^T : (static member op_Explicit: ^T -> float) (value)) + let inline double value = float value + [] [] let inline decimal (value: ^T) = @@ -5496,6 +5507,9 @@ namespace Microsoft.FSharp.Core when ^T : byte = (# "" value : byte #) when ^T : ^T = (^T : (static member op_Explicit: ^T -> byte) (value)) + [] + let inline uint8 value = byte value + [] [] let inline sbyte (value: ^T) = @@ -5516,6 +5530,9 @@ namespace Microsoft.FSharp.Core when ^T : byte = (# "conv.ovf.i1.un" value : sbyte #) when ^T : ^T = (^T : (static member op_Explicit: ^T -> sbyte) (value)) + [] + let inline int8 value = sbyte value + [] [] let inline uint16 (value: ^T) = @@ -7152,6 +7169,7 @@ namespace Microsoft.FSharp.Control open Microsoft.FSharp.Core.Operators module LazyExtensions = + type System.Lazy<'T> with [] // give the extension member a 'nice', unmangled compiled name, unique within this module static member Create(creator : unit -> 'T) : Lazy<'T> = @@ -7176,6 +7194,9 @@ namespace Microsoft.FSharp.Control [] // give the extension member a 'nice', unmangled compiled name, unique within this module member x.UnsynchronizedForce() = x.Value + + [] + let (|Lazy|) (input: Lazy<_>) = input.Force() type Lazy<'T> = System.Lazy<'T> diff --git a/src/FSharp.Core/prim-types.fsi b/src/FSharp.Core/prim-types.fsi index cb8c890171c..766cb6a3ddd 100644 --- a/src/FSharp.Core/prim-types.fsi +++ b/src/FSharp.Core/prim-types.fsi @@ -3249,7 +3249,7 @@ namespace Microsoft.FSharp.Core /// [] val (|Failure|_|): error: exn -> string option - + /// Return the first element of a tuple, fst (a,b) = a. /// /// The input tuple. @@ -4324,8 +4324,22 @@ namespace Microsoft.FSharp.Core /// /// [] - val inline byte: value: ^T -> byte when ^T: (static member op_Explicit: ^T -> byte) and default ^T: int - + val inline byte: value: ^T -> byte when ^T: (static member op_Explicit: ^T -> byte) and default ^T: int + + /// Converts the argument to uint8. + /// This is a direct conversion for all + /// primitive numeric types. For strings, the input is converted using Byte.Parse() + /// on strings and otherwise requires a ToByte method on the input type. + /// + /// + /// + /// uint8 12 + /// + /// Evaluates to 12uy. + /// + [] + val inline uint8: value: ^T -> uint8 when ^T : (static member op_Explicit : ^T -> uint8) and default ^T : int + /// Converts the argument to signed byte. This is a direct conversion for all /// primitive numeric types. For strings, the input is converted using SByte.Parse() /// with InvariantCulture settings. Otherwise the operation requires an appropriate @@ -4346,6 +4360,27 @@ namespace Microsoft.FSharp.Core [] val inline sbyte: value:^T -> sbyte when ^T: (static member op_Explicit: ^T -> sbyte) and default ^T: int + /// Converts the argument to signed byte. + /// This is a direct, checked conversion for all + /// primitive numeric types. For strings, the input is converted using SByte.Parse() with InvariantCulture settings. + /// Otherwise the operation requires and invokes a ToSByte method on the input type. + /// + /// + /// + /// Checked.int8 -12 + /// + /// Evaluates to -12y. + /// + /// + /// + /// + /// Checked.int8 "129" + /// + /// Throws System.OverflowException. + /// + [] + val inline int8: value: ^T -> sbyte when ^T : (static member op_Explicit : ^T -> int8) and default ^T : int + /// Converts the argument to signed 16-bit integer. This is a direct conversion for all /// primitive numeric types. For strings, the input is converted using Int16.Parse() /// with InvariantCulture settings. Otherwise the operation requires an appropriate @@ -4545,6 +4580,19 @@ namespace Microsoft.FSharp.Core [] val inline float32: value: ^T -> float32 when ^T: (static member op_Explicit: ^T -> float32) and default ^T: int + /// Converts the argument to 32-bit float. + /// + /// This is a direct conversion for all + /// primitive numeric types. For strings, the input is converted using Single.Parse() with InvariantCulture settings. Otherwise the operation requires and invokes a ToSingle method on the input type. + /// + /// + /// + /// single 45 + /// + /// Evaluates to 45.0f. + /// + val inline single: value: ^T -> single when ^T : (static member op_Explicit : ^T -> single) and default ^T : int + /// Converts the argument to 64-bit float. This is a direct conversion for all /// primitive numeric types. For strings, the input is converted using Double.Parse() /// with InvariantCulture settings. Otherwise the operation requires an appropriate @@ -4565,6 +4613,26 @@ namespace Microsoft.FSharp.Core [] val inline float: value: ^T -> float when ^T: (static member op_Explicit: ^T -> float) and default ^T: int + /// Converts the argument to 64-bit float. + /// + /// This is a direct conversion for all + /// primitive numeric types. For strings, the input is converted using Double.Parse() with InvariantCulture settings. Otherwise the operation requires and invokes a ToDouble method on the input type. + /// + /// + /// + /// double 45 + /// + /// Evaluates to 45.0. + /// + /// + /// + /// + /// double 12.3f + /// + /// Evaluates to 12.30000019. + /// + val inline double: value: ^T -> double when ^T : (static member op_Explicit : ^T -> double) and default ^T : int + /// Converts the argument to signed native integer. This is a direct conversion for all /// primitive numeric types. Otherwise the operation requires an appropriate /// static conversion method on the input type. @@ -5797,6 +5865,26 @@ namespace Microsoft.FSharp.Core [] val inline byte: value: ^T -> byte when ^T: (static member op_Explicit: ^T -> byte) and default ^T: int + /// Converts the argument to byte. + /// This is a direct, checked conversion for all + /// primitive numeric types. For strings, the input is converted using Byte.Parse() on strings and otherwise requires a ToByte method on the input type. + /// + /// + /// + /// Checked.uint8 12 + /// + /// Evaluates to -12y. + /// + /// + /// + /// + /// Checked.uint8 -12 + /// + /// Throws System.OverflowException. + /// + [] + val inline uint8: value: ^T -> byte when ^T : (static member op_Explicit : ^T -> uint8) and default ^T : int + /// Converts the argument to sbyte. This is a direct, checked conversion for all /// primitive numeric types. For strings, the input is converted using /// with InvariantCulture settings. Otherwise the operation requires an appropriate @@ -5811,6 +5899,27 @@ namespace Microsoft.FSharp.Core [] val inline sbyte: value: ^T -> sbyte when ^T: (static member op_Explicit: ^T -> sbyte) and default ^T: int + /// Converts the argument to signed byte. + /// This is a direct, checked conversion for all + /// primitive numeric types. For strings, the input is converted using SByte.Parse() with InvariantCulture settings. + /// Otherwise the operation requires and invokes a ToSByte method on the input type. + /// + /// + /// + /// Checked.int8 -12 + /// + /// Evaluates to -12y. + /// + /// + /// + /// + /// Checked.int8 "129" + /// + /// Throws System.OverflowException. + /// + [] + val inline int8: value: ^T -> sbyte when ^T : (static member op_Explicit : ^T -> int8) and default ^T : int + /// Converts the argument to int16. This is a direct, checked conversion for all /// primitive numeric types. For strings, the input is converted using /// with InvariantCulture settings. Otherwise the operation requires an appropriate @@ -5953,6 +6062,19 @@ namespace Microsoft.FSharp.Control open Microsoft.FSharp.Core + + /// The type of delayed computations. + /// + /// Use the values in the Lazy module to manipulate + /// values of this type, and the notation lazy expr to create values + /// of type . + /// + /// Lazy Computation + type Lazy<'T> = System.Lazy<'T> + and + [] + 'T ``lazy`` = System.Lazy<'T> + /// Extensions related to Lazy values. /// /// Lazy Computation @@ -5982,18 +6104,22 @@ namespace Microsoft.FSharp.Control /// The value of the Lazy object. [] // give the extension member a 'nice', unmangled compiled name, unique within this module member Force: unit -> 'T - - /// The type of delayed computations. - /// - /// Use the values in the Lazy module to manipulate - /// values of this type, and the notation lazy expr to create values - /// of type . - /// - /// Lazy Computation - type Lazy<'T> = System.Lazy<'T> - and - [] - 'T ``lazy`` = System.Lazy<'T> + + /// An active pattern to force the execution of values of type Lazy<_>. + /// + /// + /// + /// let f (Lazy v) = v + v + /// + /// let v = lazy (printf "eval!"; 5+5) + /// + /// f v + /// f v + /// + /// Evaluates to 10. The text eval! is printed once on the first invocation of f. + /// + [] + val (|Lazy|): input: Lazy<'T> -> 'T namespace Microsoft.FSharp.Control diff --git a/src/FSharp.Core/printf.fs b/src/FSharp.Core/printf.fs index a326492c672..44b68951aa5 100644 --- a/src/FSharp.Core/printf.fs +++ b/src/FSharp.Core/printf.fs @@ -1462,3 +1462,39 @@ module Printf = [] let eprintfn format = fprintfn Console.Error format + + +[] +module PrintfExtensions = + + [] + let sprintf format = + Printf.sprintf format + + [] + let failwithf format = + Printf.failwithf format + + [] + let fprintf (textWriter: TextWriter) format = + Printf.fprintf textWriter format + + [] + let fprintfn (textWriter: TextWriter) format = + Printf.fprintfn textWriter format + + [] + let printf format = + Printf.printf format + + [] + let eprintf format = + Printf.eprintf format + + [] + let printfn format = + Printf.printfn format + + [] + let eprintfn format = + Printf.eprintfn format diff --git a/src/FSharp.Core/printf.fsi b/src/FSharp.Core/printf.fsi index 2e4d009c537..572a3a2d19e 100644 --- a/src/FSharp.Core/printf.fsi +++ b/src/FSharp.Core/printf.fsi @@ -443,3 +443,92 @@ module Printf = /// [] val failwithf: format: StringFormat<'T, 'Result> -> 'T + +/// A set of extra printf functions. This module is automatically opened in all F# code. +/// +/// Basic Operators +[] +module PrintfExtensions = + + /// Print to stdout using the given format. + /// + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.printf (link: ) for examples. + [] + val printf: format: Printf.TextWriterFormat<'T> -> 'T + + /// Print to stdout using the given format, and add a newline. + /// + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.printfn (link: ) for examples. + [] + val printfn: format: Printf.TextWriterFormat<'T> -> 'T + + /// Print to stderr using the given format. + /// + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.eprintf (link: ) for examples. + [] + val eprintf: format: Printf.TextWriterFormat<'T> -> 'T + + /// Print to stderr using the given format, and add a newline. + /// + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.eprintfn (link: ) for examples. + [] + val eprintfn: format: Printf.TextWriterFormat<'T> -> 'T + + /// Print to a string using the given format. + /// + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.sprintf (link: ) for examples. + [] + val sprintf: format: Printf.StringFormat<'T> -> 'T + + /// Print to a string buffer and raise an exception with the given + /// result. Helper printers must return strings. + /// + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.failwithf (link: ) for examples. + [] + val failwithf: format: Printf.StringFormat<'T,'Result> -> 'T + + /// Print to a file using the given format. + /// + /// The file TextWriter. + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.fprintf (link: ) for examples. + [] + val fprintf: textWriter: TextWriter -> format:Printf.TextWriterFormat<'T> -> 'T + + /// Print to a file using the given format, and add a newline. + /// + /// The file TextWriter. + /// The formatter. + /// + /// The formatted result. + /// + /// See Printf.fprintfn (link: ) for examples. + [] + val fprintfn : textWriter: TextWriter -> format:Printf.TextWriterFormat<'T> -> 'T diff --git a/src/fscorlib/Directory.Build.props b/src/fscorlib/Directory.Build.props new file mode 100644 index 00000000000..666b95d9465 --- /dev/null +++ b/src/fscorlib/Directory.Build.props @@ -0,0 +1,24 @@ + + + + true + + + + + + <_FSharpBuildTargetFramework Condition="'$(MSBuildRuntimeType)'!='Core'">net472 + <_FSharpBuildTargetFramework Condition="'$(MSBuildRuntimeType)'=='Core'">$(FSharpNetCoreProductTargetFramework) + <_FSharpBuildBinPath>$(MSBuildThisFileDirectory)..\..\artifacts\bin\fsc\$(Configuration)\$(_FSharpBuildTargetFramework) + + $(_FSharpBuildBinPath)\FSharp.Build.dll + + $(_FSharpBuildBinPath)/Microsoft.FSharp.Targets + $(_FSharpBuildBinPath)/Microsoft.FSharp.NetSdk.props + $(_FSharpBuildBinPath)/Microsoft.FSharp.NetSdk.targets + $(_FSharpBuildBinPath)/Microsoft.FSharp.Overrides.NetSdk.targets + + + + + diff --git a/src/fscorlib/FSCore.resx b/src/fscorlib/FSCore.resx new file mode 100644 index 00000000000..b90b5442f20 --- /dev/null +++ b/src/fscorlib/FSCore.resx @@ -0,0 +1,546 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The match cases were incomplete + + + First class uses of address-of operators are not permitted. + + + The arrays have different lengths. + + + The input array was empty. + + + Input string was not in a correct format. + + + Expecting delegate type. + + + Dynamic invocation of DivideByInt involving coercions is not supported. + + + Dynamic invocation of op_Addition involving coercions is not supported. + + + Dynamic invocation of op_Addition involving overloading is not supported. + + + Dynamic invocation of op_Multiply involving coercions is not supported. + + + Dynamic invocation of op_Multiply involving overloading is not supported. + + + The end of a range cannot be NaN. + + + Enumeration already finished. + + + Enumeration has not started. Call MoveNext. + + + Set contains no elements. + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + Failed to read enough bytes from the stream. + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + The index was outside the range of elements in the list. + + + The input list was empty. + + + The input must be non-negative. + + + The input must be positive. + + + The input sequence was empty. + + + This is not a valid tuple type for the F# reflection library. + + + The item, key, or index was not found in the collection. + + + The lists had different lengths. + + + The MailboxProcessor has already been started. + + + MailboxProcessor.PostAndAsyncReply timed out. + + + MailboxProcessor.PostAndReply timed out. + + + Mailbox.Receive timed out. + + + Mailbox.Scan timed out. + + + Map values cannot be mutated. + + + The IAsyncResult object provided does not match this 'Cancel' operation. + + + The IAsyncResult object provided does not match this 'End' operation. + + + Negating the minimum value of a twos complement number is invalid. + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + Arrays with non-zero base cannot be created on this platform. + + + Type '{0}' is not a function type. + + + Type '{0}' is not the representation of an F# exception declaration. + + + The function did not compute a permutation. + + + Type '{0}' is not an F# record type. + + + Type '{0}' is not a tuple type. + + + Type '{0}' is not an F# union type. + + + The two objects have different types and are not comparable. + + + The input sequence has an insufficient number of elements. + + + This object is for recursive equality calls and cannot be used for hashing. + + + One of the elements in the array is null. + + + The object is not an F# record value. + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + The index is outside the legal range. + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + Expected exactly one type argument. + + + Expected exactly two type arguments. + + + Not a valid F# union case index. + + + Type '{0}' did not have an F# record field named '{1}'. + + + Type '{0}' did not have an F# union case named '{1}'. + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + Unexpected quotation hole in expression. + + + The parameter is not a recognized method name. + + + Reset is not supported on this enumerator. + + + The start of a range cannot be NaN. + + + The step of a range cannot be NaN. + + + The step of a range cannot be zero. + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + The tuple index '{1}' was out of range for tuple type '{0}'. + + + Failed to bind constructor + + + Failed to bind field '{0}' + + + Failed to bind property '{0}' + + + Failed to bind type '{0}' in assembly '{1}' + + + Incompatible record length + + + Incorrect instance type + + + Incorrect number of arguments + + + Incorrect type + + + Invalid function type + + + The member is non-static (instance), but no receiver object was supplied + + + Parent type cannot be null + + + Reading a set-only property + + + Receiver object was unexpected, as member is static + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + Tuple access out of range + + + The tuple lengths are different + + + F# union type requires different number of arguments + + + Writing a get-only property + + + The method '{0}' expects {1} type arguments but {2} were provided + + + An index satisfying the predicate was not found in the collection. + + + The constructor method '{0}' for the union case could not be found + + + first class uses of '%' or '%%' are not permitted + + + MoveNext not called, or finished + + + Multiple CompilationMappingAttributes, expected at most one + + + Bad float value + + + Bad format specifier:{0} + + + Bad integer supplied to dynamic formatter + + + Expected a precision argument + + + Expected a width argument + + + The # formatting modifier is invalid in F# + + + Missing format specifier + + + Not a function type + + + Bad format specifier (precision) + + + Bad format specifier (after {0}) + + + Bad format specifier (width) + + + Could not bind function {0} in type {1} + + + Could not bind property {0} in type {1} + + + Could not bind to method + + + Cannot take the address of this quotation + + + Failed to bind assembly '{0}' while processing quotation data + + + ill formed expression: AppOp or LetOp + + + type argument out of range + + + This value cannot be mutated + + + The option value was None + + + A continuation provided by Async.FromContinuations was invoked multiple times + + + The record type '{0}' is invalid. Required constructor is not defined. + + + The tuple type '{0}' is invalid. Required constructor is not defined. + + + The input sequence contains more than one element. + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + maxDegreeOfParallelism must be positive, was {0} + + \ No newline at end of file diff --git a/src/fscorlib/ILLink.LinkAttributes.xml b/src/fscorlib/ILLink.LinkAttributes.xml new file mode 100644 index 00000000000..26eaf39ad93 --- /dev/null +++ b/src/fscorlib/ILLink.LinkAttributes.xml @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/fscorlib/ILLink.Substitutions.xml b/src/fscorlib/ILLink.Substitutions.xml new file mode 100644 index 00000000000..014b51d19ca --- /dev/null +++ b/src/fscorlib/ILLink.Substitutions.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/fscorlib/fscorlib.fsproj b/src/fscorlib/fscorlib.fsproj new file mode 100644 index 00000000000..3e9f15efb52 --- /dev/null +++ b/src/fscorlib/fscorlib.fsproj @@ -0,0 +1,154 @@ + + + + + + Library + netstandard2.0 + netstandard2.0;netstandard2.1 + $(NoWarn);62 + $(NoWarn);75 + $(NoWarn);1204 + true + $(DefineConstants);FSHARP_CORE + + $(OtherFlags) --warnon:3218 + + $(OtherFlags) --warnon:1182 + + $(OtherFlags) --warnon:3390 + + $(OtherFlags) --warnon:3520 + + $(OtherFlags) --nowarn:57 + + $(OtherFlags) --nowarn:3511 + + $(OtherFlags) --nowarn:3513 + $(OtherFlags) --compiling-fslib --maxerrors:100 --extraoptimizationloops:1 + + true + true + Debug;Release;Proto + + + + + $(OtherFlags) --realsig+ + + + + + false + false + true + + + + + $(ArtifactsDir)/bin/$(MSBuildProjectName)/$(Configuration)/ + $(ArtifactsDir)obj/$(MSBuildProjectName)/$(Configuration)/ + + + + + true + true + false + Microsoft.FSharp.Core.SR + FSCore.resx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(BaseOutputPath)\$(Configuration)\$(TargetFramework) + + + + + + + diff --git a/src/fscorlib/fscorlib.runtimeconfig.json b/src/fscorlib/fscorlib.runtimeconfig.json new file mode 100644 index 00000000000..146feb55582 --- /dev/null +++ b/src/fscorlib/fscorlib.runtimeconfig.json @@ -0,0 +1,3 @@ +{ + "runtimeOptions": {} +} diff --git a/src/fscorlib/xlf/FSCore.cs.xlf b/src/fscorlib/xlf/FSCore.cs.xlf new file mode 100644 index 00000000000..b345b4b1c47 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.cs.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.de.xlf b/src/fscorlib/xlf/FSCore.de.xlf new file mode 100644 index 00000000000..4f12b328109 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.de.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.es.xlf b/src/fscorlib/xlf/FSCore.es.xlf new file mode 100644 index 00000000000..16ad3ec54d4 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.es.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.fr.xlf b/src/fscorlib/xlf/FSCore.fr.xlf new file mode 100644 index 00000000000..24f9d1c56c3 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.fr.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.it.xlf b/src/fscorlib/xlf/FSCore.it.xlf new file mode 100644 index 00000000000..ec6cca58ff2 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.it.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.ja.xlf b/src/fscorlib/xlf/FSCore.ja.xlf new file mode 100644 index 00000000000..3478705a890 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.ja.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.ko.xlf b/src/fscorlib/xlf/FSCore.ko.xlf new file mode 100644 index 00000000000..0f397244387 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.ko.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.pl.xlf b/src/fscorlib/xlf/FSCore.pl.xlf new file mode 100644 index 00000000000..b1822fb36d1 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.pl.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.pt-BR.xlf b/src/fscorlib/xlf/FSCore.pt-BR.xlf new file mode 100644 index 00000000000..d44ac8572a5 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.pt-BR.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.ru.xlf b/src/fscorlib/xlf/FSCore.ru.xlf new file mode 100644 index 00000000000..479cf5249a4 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.ru.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.tr.xlf b/src/fscorlib/xlf/FSCore.tr.xlf new file mode 100644 index 00000000000..ceb96c1fb3d --- /dev/null +++ b/src/fscorlib/xlf/FSCore.tr.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.zh-Hans.xlf b/src/fscorlib/xlf/FSCore.zh-Hans.xlf new file mode 100644 index 00000000000..63551ac964c --- /dev/null +++ b/src/fscorlib/xlf/FSCore.zh-Hans.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/FSCore.zh-Hant.xlf b/src/fscorlib/xlf/FSCore.zh-Hant.xlf new file mode 100644 index 00000000000..21cc1bfe9b4 --- /dev/null +++ b/src/fscorlib/xlf/FSCore.zh-Hant.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.cs.xlf b/src/fscorlib/xlf/fscorlib.cs.xlf new file mode 100644 index 00000000000..9c37204bfcf --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.cs.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.de.xlf b/src/fscorlib/xlf/fscorlib.de.xlf new file mode 100644 index 00000000000..955a71ad368 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.de.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.es.xlf b/src/fscorlib/xlf/fscorlib.es.xlf new file mode 100644 index 00000000000..c5b27476197 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.es.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.fr.xlf b/src/fscorlib/xlf/fscorlib.fr.xlf new file mode 100644 index 00000000000..f927cef1885 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.fr.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.it.xlf b/src/fscorlib/xlf/fscorlib.it.xlf new file mode 100644 index 00000000000..871843c022b --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.it.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.ja.xlf b/src/fscorlib/xlf/fscorlib.ja.xlf new file mode 100644 index 00000000000..3a5c5fb2f48 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.ja.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.ko.xlf b/src/fscorlib/xlf/fscorlib.ko.xlf new file mode 100644 index 00000000000..845b3b95d50 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.ko.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.pl.xlf b/src/fscorlib/xlf/fscorlib.pl.xlf new file mode 100644 index 00000000000..f141056856e --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.pl.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.pt-BR.xlf b/src/fscorlib/xlf/fscorlib.pt-BR.xlf new file mode 100644 index 00000000000..51ca7488e29 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.pt-BR.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.ru.xlf b/src/fscorlib/xlf/fscorlib.ru.xlf new file mode 100644 index 00000000000..86a55cc21ca --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.ru.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.tr.xlf b/src/fscorlib/xlf/fscorlib.tr.xlf new file mode 100644 index 00000000000..5bfe422bb62 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.tr.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.zh-Hans.xlf b/src/fscorlib/xlf/fscorlib.zh-Hans.xlf new file mode 100644 index 00000000000..195a4e2682a --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.zh-Hans.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/src/fscorlib/xlf/fscorlib.zh-Hant.xlf b/src/fscorlib/xlf/fscorlib.zh-Hant.xlf new file mode 100644 index 00000000000..37147cce9c4 --- /dev/null +++ b/src/fscorlib/xlf/fscorlib.zh-Hant.xlf @@ -0,0 +1,717 @@ + + + + + + Could not bind function {0} in type {1} + Could not bind function {0} in type {1} + + + + Could not bind property {0} in type {1} + Could not bind property {0} in type {1} + + + + Could not bind to method + Could not bind to method + + + + Cannot take the address of this quotation + Cannot take the address of this quotation + + + + Expected exactly one type argument. + Expected exactly one type argument. + + + + Expected exactly two type arguments. + Expected exactly two type arguments. + + + + Failed to bind assembly '{0}' while processing quotation data + Failed to bind assembly '{0}' while processing quotation data + + + + Failed to bind constructor + Failed to bind constructor + + + + Failed to bind field '{0}' + Failed to bind field '{0}' + + + + Failed to bind property '{0}' + Failed to bind property '{0}' + + + + Failed to bind type '{0}' in assembly '{1}' + Failed to bind type '{0}' in assembly '{1}' + + + + ill formed expression: AppOp or LetOp + ill formed expression: AppOp or LetOp + + + + Incompatible record length + Incompatible record length + + + + Incorrect instance type + Incorrect instance type + + + + Incorrect number of arguments + Incorrect number of arguments + + + + Incorrect type + Incorrect type + + + + Not a valid F# union case index. + Not a valid F# union case index. + + + + Invalid function type + Invalid function type + + + + Type '{0}' did not have an F# record field named '{1}'. + Type '{0}' did not have an F# record field named '{1}'. + + + + Type '{0}' did not have an F# union case named '{1}'. + Type '{0}' did not have an F# union case named '{1}'. + + + + The member is non-static (instance), but no receiver object was supplied + The member is non-static (instance), but no receiver object was supplied + + + + Parent type cannot be null + Parent type cannot be null + + + + Reading a set-only property + Reading a set-only property + + + + Receiver object was unexpected, as member is static + Receiver object was unexpected, as member is static + + + + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the type of the field was incorrect. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body must return unit. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': condition expression must be of type bool. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expected function type in function application or let binding. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the expression has the wrong type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': expression doesn't match the tuple type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of expression does not match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function type doesn't match delegate type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': function argument type doesn't match. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': guard must return boolean. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# record. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': incorrect argument type for an F# union. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': initializer doesn't match array type. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': invalid parameter for a method or indexer property. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': body of the for loop must be lambda taking integer as an argument. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': lower and upper bounds must be integers. Expected '{1}', but received type '{2}'. + + + + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + Type mismatch when splicing expression into quotation literal. The type of the expression tree being inserted doesn't match the type expected by the splicing operation. Expected '{0}', but received type '{1}'. Consider type-annotating with the expected expression type, e.g., (%% x : {0}) or (%x : {0}). + + + + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': types of true and false branches differ. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': mismatched type of argument and tuple element. Expected '{1}', but received type '{2}'. + + + + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + Type mismatch when building '{0}': the variable type doesn't match the type of the right-hand-side of a let binding. Expected '{1}', but received type '{2}'. + + + + Tuple access out of range + Tuple access out of range + + + + The tuple lengths are different + The tuple lengths are different + + + + type argument out of range + type argument out of range + + + + Unexpected quotation hole in expression. + Unexpected quotation hole in expression. + + + + F# union type requires different number of arguments + F# union type requires different number of arguments + + + + The parameter is not a recognized method name. + The parameter is not a recognized method name. + + + + Writing a get-only property + Writing a get-only property + + + + The method '{0}' expects {1} type arguments but {2} were provided + The method '{0}' expects {1} type arguments but {2} were provided + + + + First class uses of address-of operators are not permitted. + First class uses of address-of operators are not permitted. + + + + The input array was empty. + The input array was empty. + + + + The arrays have different lengths. + The arrays have different lengths. + + + + Input string was not in a correct format. + Input string was not in a correct format. + + + + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + The initialization of an object or value resulted in an object or value being accessed recursively before it was fully initialized. + + + + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + The static initialization of a file or type resulted in static data being accessed recursively before it was fully initialized. + + + + The constructor method '{0}' for the union case could not be found + The constructor method '{0}' for the union case could not be found + + + + A continuation provided by Async.FromContinuations was invoked multiple times + A continuation provided by Async.FromContinuations was invoked multiple times + + + + Expecting delegate type. + Expecting delegate type. + + + + Dynamic invocation of DivideByInt involving coercions is not supported. + Dynamic invocation of DivideByInt involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving coercions is not supported. + Dynamic invocation of op_Addition involving coercions is not supported. + + + + Dynamic invocation of op_Addition involving overloading is not supported. + Dynamic invocation of op_Addition involving overloading is not supported. + + + + Dynamic invocation of op_Multiply involving coercions is not supported. + Dynamic invocation of op_Multiply involving coercions is not supported. + + + + Dynamic invocation of op_Multiply involving overloading is not supported. + Dynamic invocation of op_Multiply involving overloading is not supported. + + + + The end of a range cannot be NaN. + The end of a range cannot be NaN. + + + + Enumeration already finished. + Enumeration already finished. + + + + Enumeration has not started. Call MoveNext. + Enumeration has not started. Call MoveNext. + + + + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + Enumeration based on System.Int32 exceeded System.Int32.MaxValue. + + + + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + Unrecognized use of a 'sumBy' or 'averageBy' operator in a query. In queries whose original data is of static type IQueryable, these operators may only be used with result type int32, int64, single, double or decimal + + + + Failed to read enough bytes from the stream. + Failed to read enough bytes from the stream. + + + + first class uses of '%' or '%%' are not permitted + first class uses of '%' or '%%' are not permitted + + + + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + Failure during generic comparison: the type '{0}' does not implement the System.IComparable interface. This error may be arise from the use of a function such as 'compare', 'max' or 'min' or a data structure such as 'Set' or 'Map' whose keys contain instances of this type. + + + + The index was outside the range of elements in the list. + The index was outside the range of elements in the list. + + + + The input list was empty. + The input list was empty. + + + + The input must be non-negative. + The input must be non-negative. + + + + The input must be positive. + The input must be positive. + + + + The input sequence was empty. + The input sequence was empty. + + + + The input sequence contains more than one element. + The input sequence contains more than one element. + + + + The record type '{0}' is invalid. Required constructor is not defined. + The record type '{0}' is invalid. Required constructor is not defined. + + + + The tuple type '{0}' is invalid. Required constructor is not defined. + The tuple type '{0}' is invalid. Required constructor is not defined. + + + + This is not a valid tuple type for the F# reflection library. + This is not a valid tuple type for the F# reflection library. + + + + The item, key, or index was not found in the collection. + The item, key, or index was not found in the collection. + + + + An index satisfying the predicate was not found in the collection. + An index satisfying the predicate was not found in the collection. + + + + The lists had different lengths. + The lists had different lengths. + + + + The MailboxProcessor has already been started. + The MailboxProcessor has already been started. + + + + MailboxProcessor.PostAndAsyncReply timed out. + MailboxProcessor.PostAndAsyncReply timed out. + + + + MailboxProcessor.PostAndReply timed out. + MailboxProcessor.PostAndReply timed out. + + + + Mailbox.Receive timed out. + Mailbox.Receive timed out. + + + + Mailbox.Scan timed out. + Mailbox.Scan timed out. + + + + Map values cannot be mutated. + Map values cannot be mutated. + + + + The match cases were incomplete + The match cases were incomplete + + + + maxDegreeOfParallelism must be positive, was {0} + maxDegreeOfParallelism must be positive, was {0} + + + + The IAsyncResult object provided does not match this 'Cancel' operation. + The IAsyncResult object provided does not match this 'Cancel' operation. + + + + The IAsyncResult object provided does not match this 'End' operation. + The IAsyncResult object provided does not match this 'End' operation. + + + + MoveNext not called, or finished + MoveNext not called, or finished + + + + Multiple CompilationMappingAttributes, expected at most one + Multiple CompilationMappingAttributes, expected at most one + + + + Negating the minimum value of a twos complement number is invalid. + Negating the minimum value of a twos complement number is invalid. + + + + Arrays with non-zero base cannot be created on this platform. + Arrays with non-zero base cannot be created on this platform. + + + + Type '{0}' is not a function type. + Type '{0}' is not a function type. + + + + The function did not compute a permutation. + The function did not compute a permutation. + + + + Type '{0}' is not an F# record type. + Type '{0}' is not an F# record type. + + + + Type '{0}' is not a tuple type. + Type '{0}' is not a tuple type. + + + + Type '{0}' is not an F# union type. + Type '{0}' is not an F# union type. + + + + Type '{0}' is not the representation of an F# exception declaration. + Type '{0}' is not the representation of an F# exception declaration. + + + + The two objects have different types and are not comparable. + The two objects have different types and are not comparable. + + + + The input sequence has an insufficient number of elements. + The input sequence has an insufficient number of elements. + + + + This object is for recursive equality calls and cannot be used for hashing. + This object is for recursive equality calls and cannot be used for hashing. + + + + One of the elements in the array is null. + One of the elements in the array is null. + + + + The object is not an F# record value. + The object is not an F# record value. + + + + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + The object is null and no type was given. Either pass a non-null object or a non-null type parameter. + + + + The option value was None + The option value was None + + + + The index is outside the legal range. + The index is outside the legal range. + + + + Bad float value + Bad float value + + + + Bad format specifier:{0} + Bad format specifier:{0} + + + + Bad integer supplied to dynamic formatter + Bad integer supplied to dynamic formatter + + + + Expected a precision argument + Expected a precision argument + + + + Expected a width argument + Expected a width argument + + + + The # formatting modifier is invalid in F# + The # formatting modifier is invalid in F# + + + + Missing format specifier + Missing format specifier + + + + Not a function type + Not a function type + + + + Bad format specifier (precision) + Bad format specifier (precision) + + + + Bad format specifier (after {0}) + Bad format specifier (after {0}) + + + + Bad format specifier (width) + Bad format specifier (width) + + + + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is the representation of an F# exception declaration but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# record type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + The type '{0}' is an F# union type but its representation is private. You must specify BindingFlags.NonPublic to access private type representations. + + + + Reset is not supported on this enumerator. + Reset is not supported on this enumerator. + + + + Set contains no elements. + Set contains no elements. + + + + The start of a range cannot be NaN. + The start of a range cannot be NaN. + + + + The step of a range cannot be NaN. + The step of a range cannot be NaN. + + + + The step of a range cannot be zero. + The step of a range cannot be zero. + + + + The System.Threading.SynchronizationContext.Current of the calling thread is null. + The System.Threading.SynchronizationContext.Current of the calling thread is null. + + + + 'thenBy' and 'thenByDescending' may only be used with an ordered input + 'thenBy' and 'thenByDescending' may only be used with an ordered input + + + + This value cannot be mutated + This value cannot be mutated + + + + The tuple index '{1}' was out of range for tuple type '{0}'. + The tuple index '{1}' was out of range for tuple type '{0}'. + + + + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + An if/then/else conditional or pattern matching expression with multiple branches is not permitted in a query. An if/then/else conditional may be used. + + + + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + This is not a valid query expression. The method '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression + + + + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The following construct was used in a query but is not recognized by the F#-to-LINQ query translator:\n{0}\nCheck the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The construct '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + This is not a valid query expression. The property '{0}' was used in a query but is not recognized by the F#-to-LINQ query translator. Check the specification of permitted queries and consider moving some of the operations out of the query expression. + + + + + \ No newline at end of file diff --git a/tests/AheadOfTime/Trimming/check.ps1 b/tests/AheadOfTime/Trimming/check.ps1 index c9699c66c1b..4c0f2fbe6cb 100644 --- a/tests/AheadOfTime/Trimming/check.ps1 +++ b/tests/AheadOfTime/Trimming/check.ps1 @@ -42,7 +42,7 @@ function CheckTrim($root, $tfm, $outputfile, $expected_len) { # error NETSDK1124: Trimming assemblies requires .NET Core 3.0 or higher. # Check net7.0 trimmed assemblies -CheckTrim -root "SelfContained_Trimming_Test" -tfm "net8.0" -outputfile "FSharp.Core.dll" -expected_len 284672 +CheckTrim -root "SelfContained_Trimming_Test" -tfm "net8.0" -outputfile "FSharp.Core.dll" -expected_len 285184 # Check net8.0 trimmed assemblies CheckTrim -root "StaticLinkedFSharpCore_Trimming_Test" -tfm "net8.0" -outputfile "StaticLinkedFSharpCore_Trimming_Test.dll" -expected_len 8818176 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.debug.bsl index c95b446032a..dbf8108c966 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.debug.bsl @@ -76,15 +76,15 @@ .maxstack 8 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "stuck in the middle" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "goodbye" IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002f: pop IL_0030: ldarg.0 IL_0031: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/f1@6::builder@ @@ -101,7 +101,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.release.bsl index c95b446032a..dbf8108c966 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOff.il.release.bsl @@ -76,15 +76,15 @@ .maxstack 8 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "stuck in the middle" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "goodbye" IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002f: pop IL_0030: ldarg.0 IL_0031: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/f1@6::builder@ @@ -101,7 +101,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.debug.bsl index 90c7d53851c..86262a61d3a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.debug.bsl @@ -74,15 +74,15 @@ .maxstack 8 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "stuck in the middle" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "goodbye" IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002f: pop IL_0030: ldarg.0 IL_0031: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/f1@6::builder@ @@ -98,7 +98,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.release.bsl index 90c7d53851c..86262a61d3a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest1.fs.RealInternalSignatureOn.il.release.bsl @@ -74,15 +74,15 @@ .maxstack 8 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "stuck in the middle" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "goodbye" IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002f: pop IL_0030: ldarg.0 IL_0031: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/f1@6::builder@ @@ -98,7 +98,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.debug.bsl index 416b71131a9..7db1b7f0888 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.debug.bsl @@ -124,7 +124,7 @@ IL_0018: nop IL_0019: ldstr "hello" IL_001e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0028: pop IL_0029: ldarg.0 IL_002a: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f2@7-2'::builder@ @@ -199,7 +199,7 @@ IL_0000: ldc.i4.0 IL_0001: call class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1 [FSharp.Core]Microsoft.FSharp.Core.Operators::Ref(!!0) IL_0006: stloc.0 - IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_000c: stloc.1 IL_000d: ldloc.1 IL_000e: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.release.bsl index 416b71131a9..7db1b7f0888 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOff.il.release.bsl @@ -124,7 +124,7 @@ IL_0018: nop IL_0019: ldstr "hello" IL_001e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0028: pop IL_0029: ldarg.0 IL_002a: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f2@7-2'::builder@ @@ -199,7 +199,7 @@ IL_0000: ldc.i4.0 IL_0001: call class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1 [FSharp.Core]Microsoft.FSharp.Core.Operators::Ref(!!0) IL_0006: stloc.0 - IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_000c: stloc.1 IL_000d: ldloc.1 IL_000e: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.debug.bsl index bdcb8cfe3a1..91c9a0c0786 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.debug.bsl @@ -121,7 +121,7 @@ IL_0018: nop IL_0019: ldstr "hello" IL_001e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0028: pop IL_0029: ldarg.0 IL_002a: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f2@7-2'::builder@ @@ -194,7 +194,7 @@ IL_0000: ldc.i4.0 IL_0001: call class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1 [FSharp.Core]Microsoft.FSharp.Core.Operators::Ref(!!0) IL_0006: stloc.0 - IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_000c: stloc.1 IL_000d: ldloc.1 IL_000e: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.release.bsl index bdcb8cfe3a1..91c9a0c0786 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest2.fs.RealInternalSignatureOn.il.release.bsl @@ -121,7 +121,7 @@ IL_0018: nop IL_0019: ldstr "hello" IL_001e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0023: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0028: pop IL_0029: ldarg.0 IL_002a: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f2@7-2'::builder@ @@ -194,7 +194,7 @@ IL_0000: ldc.i4.0 IL_0001: call class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1 [FSharp.Core]Microsoft.FSharp.Core.Operators::Ref(!!0) IL_0006: stloc.0 - IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0007: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_000c: stloc.1 IL_000d: ldloc.1 IL_000e: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.debug.bsl index 86e0cc6afbd..731318ac895 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.debug.bsl @@ -166,7 +166,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.release.bsl index f564cc5c3c6..4aa2b3e9a2d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOff.il.release.bsl @@ -163,7 +163,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.debug.bsl index 38d888ef90e..57fe692fdf0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.debug.bsl @@ -161,7 +161,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.release.bsl index 69e251eafbf..73143fbeb5e 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest3.fs.RealInternalSignatureOn.il.release.bsl @@ -158,7 +158,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.debug.bsl index 77d0d57a799..02a216bc3dd 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.debug.bsl @@ -189,7 +189,7 @@ IL_0018: ldstr "done" IL_001d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) IL_0022: tail. - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: ret } @@ -316,7 +316,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.release.bsl index 62f0e29565a..9a490214ea7 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOff.il.release.bsl @@ -186,7 +186,7 @@ IL_0018: ldstr "done" IL_001d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) IL_0022: tail. - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: ret } @@ -307,7 +307,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.debug.bsl index 57fce064655..02f716d321e 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.debug.bsl @@ -184,7 +184,7 @@ IL_0018: ldstr "done" IL_001d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) IL_0022: tail. - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: ret } @@ -307,7 +307,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.release.bsl index 8d15000dc25..8358cf53f30 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest4.fs.RealInternalSignatureOn.il.release.bsl @@ -181,7 +181,7 @@ IL_0018: ldstr "done" IL_001d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) IL_0022: tail. - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: ret } @@ -298,7 +298,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.debug.bsl index 537e2ce83d7..d409fc01999 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.debug.bsl @@ -79,11 +79,11 @@ IL_0001: stloc.0 IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@6-1'::builder@ @@ -126,11 +126,11 @@ IL_0001: stloc.0 IL_0002: ldstr "goodbye" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "goodbye 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@9-3'::builder@ @@ -353,7 +353,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.release.bsl index 2b8dd85d274..d8a19a25743 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOff.il.release.bsl @@ -79,11 +79,11 @@ IL_0001: stloc.0 IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@6-1'::builder@ @@ -126,11 +126,11 @@ IL_0001: stloc.0 IL_0002: ldstr "goodbye" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "goodbye 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@9-3'::builder@ @@ -344,7 +344,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.debug.bsl index 9c7a9399b77..9765caecfbd 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.debug.bsl @@ -77,11 +77,11 @@ IL_0001: stloc.0 IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@6-1'::builder@ @@ -122,11 +122,11 @@ IL_0001: stloc.0 IL_0002: ldstr "goodbye" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "goodbye 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@9-3'::builder@ @@ -342,7 +342,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.release.bsl index e192d2bc639..7d93dba0093 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest5.fs.RealInternalSignatureOn.il.release.bsl @@ -77,11 +77,11 @@ IL_0001: stloc.0 IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@6-1'::builder@ @@ -122,11 +122,11 @@ IL_0001: stloc.0 IL_0002: ldstr "goodbye" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "goodbye 2" IL_0017: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: pop IL_0022: ldarg.0 IL_0023: ldfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder assembly/assembly/'f7@9-3'::builder@ @@ -333,7 +333,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.debug.bsl index e68776c8dac..4b975cf0058 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.debug.bsl @@ -733,7 +733,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 @@ -749,7 +749,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.release.bsl index 723f29b7d82..186cf14285a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOff.il.release.bsl @@ -703,7 +703,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 @@ -719,7 +719,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.debug.bsl index d731307a799..2a0b2f2effe 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.debug.bsl @@ -715,7 +715,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 @@ -730,7 +730,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.release.bsl index 6dd4c2cb2fc..c1be3ee9735 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AsyncExpressionStepping/AsyncExpressionSteppingTest6.fs.RealInternalSignatureOn.il.release.bsl @@ -685,7 +685,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 @@ -700,7 +700,7 @@ .maxstack 4 .locals init (class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder V_0) - IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.debug.bsl index 2c3e14a8a7e..75556ee2aa9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.debug.bsl @@ -98,7 +98,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.release.bsl index 2c3e14a8a7e..75556ee2aa9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOff.il.release.bsl @@ -98,7 +98,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.debug.bsl index cb55a4490dc..a87607889d0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.debug.bsl @@ -90,7 +90,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: stsfld int32 M::T@12 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.release.bsl index cb55a4490dc..a87607889d0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Default.fs.RealInternalSignatureOn.il.release.bsl @@ -90,7 +90,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: stsfld int32 M::T@12 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.debug.bsl index e411f0829da..0e048ed2315 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.debug.bsl @@ -97,7 +97,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.release.bsl index e411f0829da..0e048ed2315 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOff.il.release.bsl @@ -97,7 +97,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.debug.bsl index 3a3ddefaf4b..40e60bdb3c4 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.debug.bsl @@ -90,7 +90,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: stsfld int32 M::T@12 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.release.bsl index 3a3ddefaf4b..40e60bdb3c4 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Field.fs.RealInternalSignatureOn.il.release.bsl @@ -90,7 +90,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: stsfld int32 M::T@12 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.debug.bsl index 34e072d5694..37adb95051d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.debug.bsl @@ -97,7 +97,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.release.bsl index 34e072d5694..37adb95051d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOff.il.release.bsl @@ -97,7 +97,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.debug.bsl index f2331b55c3d..b67f5c7d1be 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.debug.bsl @@ -89,7 +89,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: stsfld int32 M::T@12 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.release.bsl similarity index 90% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.release.bsl index f2331b55c3d..38dec9243f1 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOn.il.release.bsl @@ -17,16 +17,8 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.mresource public FSharpSignatureCompressedData.assembly -{ - - -} -.mresource public FSharpOptimizationCompressedData.assembly -{ - - -} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } .module assembly.dll .imagebase {value} @@ -89,7 +81,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldc.i4.1 IL_0012: stsfld int32 M::T@12 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOnil.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOnil.release.bsl deleted file mode 100644 index c76b811ec57..00000000000 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AttributeTargets/Property.fs.RealInternalSignatureOnil.release.bsl +++ /dev/null @@ -1,128 +0,0 @@ - - - - - -.assembly extern runtime { } -.assembly extern FSharp.Core { } -.assembly assembly -{ - .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, - int32, - int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) - - - - - .hash algorithm 0x00008004 - .ver 0:0:0:0 -} -.mresource public FSharpSignatureCompressedData.assembly -{ - - -} -.mresource public FSharpOptimizationCompressedData.assembly -{ - - -} -.module assembly.dll - -.imagebase {value} -.file alignment 0x00000200 -.stackreserve 0x00100000 -.subsystem 0x0003 -.corflags 0x00000001 - - - - - -.class public abstract auto ansi sealed M - extends [runtime]System.Object -{ - .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) - .class auto ansi serializable nested public ExportAttribute - extends [runtime]System.Attribute - { - .custom instance void [runtime]System.AttributeUsageAttribute::.ctor(valuetype [runtime]System.AttributeTargets) = ( 01 00 80 01 00 00 00 00 ) - .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 03 00 00 00 00 00 ) - .method public specialname rtspecialname instance void .ctor() cil managed - { - - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: callvirt instance void [runtime]System.Attribute::.ctor() - IL_0006: ldarg.0 - IL_0007: pop - IL_0008: ret - } - - } - - .field static assembly int32 T@12 - .custom instance void [runtime]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [runtime]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) - .method public specialname static int32 get_T() cil managed - { - - .maxstack 8 - IL_0000: ldsfld int32 M::T@12 - IL_0005: ret - } - - .method private specialname rtspecialname static void .cctor() cil managed - { - - .maxstack 8 - IL_0000: ldc.i4.0 - IL_0001: stsfld int32 ''.$M::init@ - IL_0006: ldsfld int32 ''.$M::init@ - IL_000b: pop - IL_000c: ret - } - - .method assembly static void staticInitialization@() cil managed - { - - .maxstack 8 - IL_0000: nop - IL_0001: ldstr "hello" - IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) - IL_0010: pop - IL_0011: ldc.i4.1 - IL_0012: stsfld int32 M::T@12 - IL_0017: ret - } - - .property int32 T() - { - .custom instance void M/ExportAttribute::.ctor() = ( 01 00 00 00 ) - .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 ) - .get int32 M::get_T() - } -} - -.class private abstract auto ansi sealed ''.$M - extends [runtime]System.Object -{ - .field static assembly int32 init@ - .custom instance void [runtime]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [runtime]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) - .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) - .method private specialname rtspecialname static void .cctor() cil managed - { - - .maxstack 8 - IL_0000: call void M::staticInitialization@() - IL_0005: ret - } - -} - - - - - - diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.net472.bsl index 77f8af77dd1..c37b7613e01 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.net472.bsl @@ -187,7 +187,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -200,7 +200,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/C>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.netcore.bsl index 7da09957b3e..d6a372a8658 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.netcore.bsl @@ -187,7 +187,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -200,7 +200,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/C>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.net472.bsl index 31a1741c78f..52ce9f76b79 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.net472.bsl @@ -187,7 +187,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -200,7 +200,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/C>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.netcore.bsl index 9949b5576be..12ed0ce68cb 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOn.il.netcore.bsl @@ -187,7 +187,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -200,7 +200,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/C>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOff.il.bsl index eebec5a906a..1006ffa32e0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOff.il.bsl @@ -128,11 +128,11 @@ .locals init (int32 V_0) IL_0000: ldstr "hello1" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "hello2" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "1" IL_0025: callvirt instance int32 [runtime]System.String::get_Length() @@ -140,7 +140,7 @@ IL_002f: nop IL_0030: ldstr "hello3" IL_0035: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_003f: pop IL_0040: call int32 assembly/M::get_x() IL_0045: dup diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOn.il.bsl index 687c049cf84..fd8888893d9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember02a.fs.RealInternalSignatureOn.il.bsl @@ -102,7 +102,7 @@ .maxstack 8 IL_0000: ldstr "hello2" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "1" IL_0015: callvirt instance int32 [runtime]System.String::get_Length() @@ -145,13 +145,13 @@ .maxstack 8 IL_0000: ldstr "hello1" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: call void assembly/M::staticInitialization@() IL_0015: nop IL_0016: ldstr "hello3" IL_001b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0025: pop IL_0026: call int32 assembly/M::get_x() IL_002b: stsfld int32 assembly::y@9 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOff.il.bsl index 2eb0131c709..c4df91a9f96 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOff.il.bsl @@ -59,7 +59,7 @@ .maxstack 8 IL_0000: ldstr "File1.x = %A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: call int32 assembly::get_x() IL_0014: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0019: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOn.il.bsl index 8a8ad8366f3..0364ce1e31f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/CCtorDUWithMember/CCtorDUWithMember04a.fs.RealInternalSignatureOn.il.bsl @@ -60,7 +60,7 @@ .maxstack 8 IL_0000: ldstr "File1.x = %A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: call int32 assembly::get_x() IL_0014: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0019: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOff.il.bsl index 9021049bf78..66b1cd0aba2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOff.il.bsl @@ -76,7 +76,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldstr "hello" IL_0016: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOn.il.bsl index 2420bd020cb..cbcbd42ed0d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr02.fs.RealInternalSignatureOn.il.bsl @@ -76,7 +76,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldstr "hello" IL_0016: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOff.il.bsl index f27f8256dfa..3a9ea0f2088 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOff.il.bsl @@ -76,7 +76,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldstr "hello" IL_0016: callvirt instance int32 [runtime]System.String::get_Length() @@ -122,7 +122,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldstr "hello" IL_0016: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOn.il.bsl index 72f38d7e7cf..c2bae802545 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr03.fs.RealInternalSignatureOn.il.bsl @@ -76,7 +76,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldstr "hello" IL_0016: callvirt instance int32 [runtime]System.String::get_Length() @@ -122,7 +122,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldstr "hello" IL_0016: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOff.il.bsl index c45991ef668..18c87e01ee9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOff.il.bsl @@ -78,7 +78,7 @@ IL_0001: nop IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello" IL_0017: callvirt instance int32 [runtime]System.String::get_Length() @@ -139,7 +139,7 @@ IL_0002: nop IL_0003: ldstr "hello" IL_0008: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0012: pop IL_0013: ldstr "hello" IL_0018: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOn.il.bsl index 6c1bb207389..a57a701c0e4 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr04.fs.RealInternalSignatureOn.il.bsl @@ -78,7 +78,7 @@ IL_0001: nop IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello" IL_0017: callvirt instance int32 [runtime]System.String::get_Length() @@ -139,7 +139,7 @@ IL_0002: nop IL_0003: ldstr "hello" IL_0008: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0012: pop IL_0013: ldstr "hello" IL_0018: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOff.il.bsl index 76da36887ba..f2ea87c3e47 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOff.il.bsl @@ -108,7 +108,7 @@ IL_0002: nop IL_0003: ldstr "hello" IL_0008: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0012: pop IL_0013: ldstr "hello" IL_0018: callvirt instance int32 [runtime]System.String::get_Length() @@ -153,7 +153,7 @@ IL_0001: nop IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello" IL_0017: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOn.il.bsl index 2ded267c8d4..2743b6b067c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr05.fs.RealInternalSignatureOn.il.bsl @@ -108,7 +108,7 @@ IL_0002: nop IL_0003: ldstr "hello" IL_0008: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0012: pop IL_0013: ldstr "hello" IL_0018: callvirt instance int32 [runtime]System.String::get_Length() @@ -153,7 +153,7 @@ IL_0001: nop IL_0002: ldstr "hello" IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0011: pop IL_0012: ldstr "hello" IL_0017: callvirt instance int32 [runtime]System.String::get_Length() diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOff.il.bsl index ab5da5714ec..807c8f49225 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOff.il.bsl @@ -112,23 +112,23 @@ .maxstack 7 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "hello" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "hello" IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002f: pop IL_0030: ldstr "hello" IL_0035: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_003f: pop IL_0040: ldstr "hello" IL_0045: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_004a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_004f: pop IL_0050: ldarg.0 IL_0051: ldfld class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1 Program/'res6@11-2'::x diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOn.il.bsl index 1de6dde9c11..20aa2350741 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ComputationExpressions/ComputationExpr06.fs.RealInternalSignatureOn.il.bsl @@ -112,23 +112,23 @@ .maxstack 7 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "hello" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldstr "hello" IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002f: pop IL_0030: ldstr "hello" IL_0035: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_003f: pop IL_0040: ldstr "hello" IL_0045: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_004a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_004f: pop IL_0050: ldarg.0 IL_0051: ldfld class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1 Program/'res6@11-2'::x diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.debug.bsl new file mode 100644 index 00000000000..65b76645f0f --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.debug.bsl @@ -0,0 +1,451 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed assembly + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .class auto ansi serializable sealed nested assembly beforefieldinit test6@38 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test6@38 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance int32 Invoke(int32 x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: add + IL_0003: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test6@38::.ctor() + IL_0005: stsfld class assembly/test6@38 assembly/test6@38::@_instance + IL_000a: ret + } + + } + + .class auto ansi serializable sealed nested assembly beforefieldinit test7@47 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test7@47 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance int32 Invoke(int32 x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: add + IL_0003: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test7@47::.ctor() + IL_0005: stsfld class assembly/test7@47 assembly/test7@47::@_instance + IL_000a: ret + } + + } + + .method public static void test1(class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 lst) cil managed + { + + .maxstack 4 + .locals init (int32 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + int32 V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldarg.0 + IL_0003: stloc.1 + IL_0004: ldloc.1 + IL_0005: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_000a: stloc.2 + IL_000b: br.s IL_0021 + + IL_000d: ldloc.1 + IL_000e: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0013: stloc.3 + IL_0014: ldloc.0 + IL_0015: ldloc.3 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.2 + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0020: stloc.2 + IL_0021: ldloc.2 + IL_0022: brtrue.s IL_000d + + IL_0024: ret + } + + .method public static void test2() cil managed + { + + .maxstack 6 + .locals init (int32 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + int32 V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.1 + IL_0003: ldc.i4.2 + IL_0004: ldc.i4.3 + IL_0005: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000a: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000f: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0014: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0020: stloc.2 + IL_0021: br.s IL_0037 + + IL_0023: ldloc.1 + IL_0024: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0029: stloc.3 + IL_002a: ldloc.0 + IL_002b: ldloc.3 + IL_002c: add + IL_002d: stloc.0 + IL_002e: ldloc.2 + IL_002f: stloc.1 + IL_0030: ldloc.1 + IL_0031: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0036: stloc.2 + IL_0037: ldloc.2 + IL_0038: brtrue.s IL_0023 + + IL_003a: ret + } + + .method public static void test3() cil managed + { + + .maxstack 6 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + int32 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_3, + int32 V_4) + IL_0000: ldc.i4.1 + IL_0001: ldc.i4.2 + IL_0002: ldc.i4.3 + IL_0003: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_0008: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0012: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0017: stloc.0 + IL_0018: ldc.i4.0 + IL_0019: stloc.1 + IL_001a: ldloc.0 + IL_001b: stloc.2 + IL_001c: ldloc.2 + IL_001d: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0022: stloc.3 + IL_0023: br.s IL_003b + + IL_0025: ldloc.2 + IL_0026: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_002b: stloc.s V_4 + IL_002d: ldloc.1 + IL_002e: ldloc.s V_4 + IL_0030: add + IL_0031: stloc.1 + IL_0032: ldloc.3 + IL_0033: stloc.2 + IL_0034: ldloc.2 + IL_0035: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_003a: stloc.3 + IL_003b: ldloc.3 + IL_003c: brtrue.s IL_0025 + + IL_003e: ret + } + + .method public static void test4() cil managed + { + + .maxstack 6 + .locals init (int32 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_3, + int32 V_4) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.1 + IL_0003: ldc.i4.2 + IL_0004: ldc.i4.3 + IL_0005: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000a: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000f: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0014: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: stloc.2 + IL_001c: ldloc.2 + IL_001d: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0022: stloc.3 + IL_0023: br.s IL_003b + + IL_0025: ldloc.2 + IL_0026: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_002b: stloc.s V_4 + IL_002d: ldloc.0 + IL_002e: ldloc.s V_4 + IL_0030: add + IL_0031: stloc.0 + IL_0032: ldloc.3 + IL_0033: stloc.2 + IL_0034: ldloc.2 + IL_0035: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_003a: stloc.3 + IL_003b: ldloc.3 + IL_003c: brtrue.s IL_0025 + + IL_003e: ret + } + + .method public static void test5() cil managed + { + + .maxstack 6 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + int32 V_3) + IL_0000: ldc.i4.1 + IL_0001: ldc.i4.2 + IL_0002: ldc.i4.3 + IL_0003: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_0008: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0012: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0020: stloc.2 + IL_0021: br.s IL_0049 + + IL_0023: ldloc.1 + IL_0024: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0029: stloc.3 + IL_002a: ldstr "%A" + IL_002f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) + IL_0034: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0039: ldloc.3 + IL_003a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_003f: pop + IL_0040: ldloc.2 + IL_0041: stloc.1 + IL_0042: ldloc.1 + IL_0043: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0048: stloc.2 + IL_0049: ldloc.2 + IL_004a: brtrue.s IL_0023 + + IL_004c: ret + } + + .method public static void test6() cil managed + { + + .maxstack 8 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + int32 V_2) + IL_0000: ldsfld class assembly/test6@38 assembly/test6@38::@_instance + IL_0005: ldc.i4.1 + IL_0006: ldc.i4.2 + IL_0007: ldc.i4.3 + IL_0008: ldc.i4.4 + IL_0009: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000e: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0013: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0018: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_001d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0022: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 [FSharp.Core]Microsoft.FSharp.Collections.ListModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0027: stloc.0 + IL_0028: ldloc.0 + IL_0029: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_002e: stloc.1 + IL_002f: br.s IL_0057 + + IL_0031: ldloc.0 + IL_0032: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0037: stloc.2 + IL_0038: ldstr "%O" + IL_003d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) + IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0047: ldloc.2 + IL_0048: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_004d: pop + IL_004e: ldloc.1 + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0056: stloc.1 + IL_0057: ldloc.1 + IL_0058: brtrue.s IL_0031 + + IL_005a: ret + } + + .method public static void test7() cil managed + { + + .maxstack 8 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + int32 V_2, + int32 V_3) + IL_0000: ldsfld class assembly/test7@47 assembly/test7@47::@_instance + IL_0005: ldc.i4.1 + IL_0006: ldc.i4.2 + IL_0007: ldc.i4.3 + IL_0008: ldc.i4.4 + IL_0009: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000e: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0013: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0018: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_001d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0022: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 [FSharp.Core]Microsoft.FSharp.Collections.ListModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0027: stloc.0 + IL_0028: ldloc.0 + IL_0029: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_002e: stloc.1 + IL_002f: br.s IL_005b + + IL_0031: ldloc.0 + IL_0032: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0037: stloc.2 + IL_0038: ldloc.2 + IL_0039: ldc.i4.1 + IL_003a: add + IL_003b: stloc.3 + IL_003c: ldstr "%O" + IL_0041: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) + IL_0046: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004b: ldloc.3 + IL_004c: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0051: pop + IL_0052: ldloc.1 + IL_0053: stloc.0 + IL_0054: ldloc.0 + IL_0055: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_005a: stloc.1 + IL_005b: ldloc.1 + IL_005c: brtrue.s IL_0031 + + IL_005e: ret + } + +} + +.class private abstract auto ansi sealed ''.$assembly + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.release.bsl similarity index 99% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.release.bsl index 1464a253823..d933cfb307d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOff.il.release.bsl @@ -22,16 +22,8 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.mresource public FSharpSignatureCompressedData.assembly -{ - - -} -.mresource public FSharpOptimizationCompressedData.assembly -{ - - -} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } .module assembly.exe .imagebase {value} diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.debug.bsl new file mode 100644 index 00000000000..65b76645f0f --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.debug.bsl @@ -0,0 +1,451 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed assembly + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .class auto ansi serializable sealed nested assembly beforefieldinit test6@38 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test6@38 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance int32 Invoke(int32 x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: add + IL_0003: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test6@38::.ctor() + IL_0005: stsfld class assembly/test6@38 assembly/test6@38::@_instance + IL_000a: ret + } + + } + + .class auto ansi serializable sealed nested assembly beforefieldinit test7@47 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test7@47 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance int32 Invoke(int32 x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: ldc.i4.1 + IL_0002: add + IL_0003: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test7@47::.ctor() + IL_0005: stsfld class assembly/test7@47 assembly/test7@47::@_instance + IL_000a: ret + } + + } + + .method public static void test1(class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 lst) cil managed + { + + .maxstack 4 + .locals init (int32 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + int32 V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldarg.0 + IL_0003: stloc.1 + IL_0004: ldloc.1 + IL_0005: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_000a: stloc.2 + IL_000b: br.s IL_0021 + + IL_000d: ldloc.1 + IL_000e: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0013: stloc.3 + IL_0014: ldloc.0 + IL_0015: ldloc.3 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.2 + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0020: stloc.2 + IL_0021: ldloc.2 + IL_0022: brtrue.s IL_000d + + IL_0024: ret + } + + .method public static void test2() cil managed + { + + .maxstack 6 + .locals init (int32 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + int32 V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.1 + IL_0003: ldc.i4.2 + IL_0004: ldc.i4.3 + IL_0005: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000a: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000f: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0014: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0020: stloc.2 + IL_0021: br.s IL_0037 + + IL_0023: ldloc.1 + IL_0024: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0029: stloc.3 + IL_002a: ldloc.0 + IL_002b: ldloc.3 + IL_002c: add + IL_002d: stloc.0 + IL_002e: ldloc.2 + IL_002f: stloc.1 + IL_0030: ldloc.1 + IL_0031: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0036: stloc.2 + IL_0037: ldloc.2 + IL_0038: brtrue.s IL_0023 + + IL_003a: ret + } + + .method public static void test3() cil managed + { + + .maxstack 6 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + int32 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_3, + int32 V_4) + IL_0000: ldc.i4.1 + IL_0001: ldc.i4.2 + IL_0002: ldc.i4.3 + IL_0003: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_0008: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0012: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0017: stloc.0 + IL_0018: ldc.i4.0 + IL_0019: stloc.1 + IL_001a: ldloc.0 + IL_001b: stloc.2 + IL_001c: ldloc.2 + IL_001d: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0022: stloc.3 + IL_0023: br.s IL_003b + + IL_0025: ldloc.2 + IL_0026: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_002b: stloc.s V_4 + IL_002d: ldloc.1 + IL_002e: ldloc.s V_4 + IL_0030: add + IL_0031: stloc.1 + IL_0032: ldloc.3 + IL_0033: stloc.2 + IL_0034: ldloc.2 + IL_0035: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_003a: stloc.3 + IL_003b: ldloc.3 + IL_003c: brtrue.s IL_0025 + + IL_003e: ret + } + + .method public static void test4() cil managed + { + + .maxstack 6 + .locals init (int32 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_3, + int32 V_4) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.1 + IL_0003: ldc.i4.2 + IL_0004: ldc.i4.3 + IL_0005: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000a: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000f: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0014: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: stloc.2 + IL_001c: ldloc.2 + IL_001d: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0022: stloc.3 + IL_0023: br.s IL_003b + + IL_0025: ldloc.2 + IL_0026: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_002b: stloc.s V_4 + IL_002d: ldloc.0 + IL_002e: ldloc.s V_4 + IL_0030: add + IL_0031: stloc.0 + IL_0032: ldloc.3 + IL_0033: stloc.2 + IL_0034: ldloc.2 + IL_0035: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_003a: stloc.3 + IL_003b: ldloc.3 + IL_003c: brtrue.s IL_0025 + + IL_003e: ret + } + + .method public static void test5() cil managed + { + + .maxstack 6 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_2, + int32 V_3) + IL_0000: ldc.i4.1 + IL_0001: ldc.i4.2 + IL_0002: ldc.i4.3 + IL_0003: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_0008: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0012: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0020: stloc.2 + IL_0021: br.s IL_0049 + + IL_0023: ldloc.1 + IL_0024: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0029: stloc.3 + IL_002a: ldstr "%A" + IL_002f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) + IL_0034: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0039: ldloc.3 + IL_003a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_003f: pop + IL_0040: ldloc.2 + IL_0041: stloc.1 + IL_0042: ldloc.1 + IL_0043: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0048: stloc.2 + IL_0049: ldloc.2 + IL_004a: brtrue.s IL_0023 + + IL_004c: ret + } + + .method public static void test6() cil managed + { + + .maxstack 8 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + int32 V_2) + IL_0000: ldsfld class assembly/test6@38 assembly/test6@38::@_instance + IL_0005: ldc.i4.1 + IL_0006: ldc.i4.2 + IL_0007: ldc.i4.3 + IL_0008: ldc.i4.4 + IL_0009: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000e: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0013: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0018: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_001d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0022: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 [FSharp.Core]Microsoft.FSharp.Collections.ListModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0027: stloc.0 + IL_0028: ldloc.0 + IL_0029: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_002e: stloc.1 + IL_002f: br.s IL_0057 + + IL_0031: ldloc.0 + IL_0032: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0037: stloc.2 + IL_0038: ldstr "%O" + IL_003d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) + IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0047: ldloc.2 + IL_0048: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_004d: pop + IL_004e: ldloc.1 + IL_004f: stloc.0 + IL_0050: ldloc.0 + IL_0051: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_0056: stloc.1 + IL_0057: ldloc.1 + IL_0058: brtrue.s IL_0031 + + IL_005a: ret + } + + .method public static void test7() cil managed + { + + .maxstack 8 + .locals init (class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 V_1, + int32 V_2, + int32 V_3) + IL_0000: ldsfld class assembly/test7@47 assembly/test7@47::@_instance + IL_0005: ldc.i4.1 + IL_0006: ldc.i4.2 + IL_0007: ldc.i4.3 + IL_0008: ldc.i4.4 + IL_0009: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000e: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0013: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0018: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_001d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0022: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 [FSharp.Core]Microsoft.FSharp.Collections.ListModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0027: stloc.0 + IL_0028: ldloc.0 + IL_0029: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_002e: stloc.1 + IL_002f: br.s IL_005b + + IL_0031: ldloc.0 + IL_0032: call instance !0 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_HeadOrDefault() + IL_0037: stloc.2 + IL_0038: ldloc.2 + IL_0039: ldc.i4.1 + IL_003a: add + IL_003b: stloc.3 + IL_003c: ldstr "%O" + IL_0041: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) + IL_0046: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004b: ldloc.3 + IL_004c: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0051: pop + IL_0052: ldloc.1 + IL_0053: stloc.0 + IL_0054: ldloc.0 + IL_0055: call instance class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_TailOrNull() + IL_005a: stloc.1 + IL_005b: ldloc.1 + IL_005c: brtrue.s IL_0031 + + IL_005e: ret + } + +} + +.class private abstract auto ansi sealed ''.$assembly + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.release.bsl similarity index 99% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.release.bsl index 1464a253823..d933cfb307d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnList01.fs.RealInternalSignatureOn.il.release.bsl @@ -22,16 +22,8 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.mresource public FSharpSignatureCompressedData.assembly -{ - - -} -.mresource public FSharpOptimizationCompressedData.assembly -{ - - -} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } .module assembly.exe .imagebase {value} diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.debug.bsl new file mode 100644 index 00000000000..e0d4198ac74 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.debug.bsl @@ -0,0 +1,542 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly extern netstandard +{ + .publickeytoken = (CC 7B 13 FF CD 2D DD 51 ) + .ver 2:1:0:0 +} +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed assembly + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .class auto ansi serializable sealed nested assembly beforefieldinit test8@54 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test8@54 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance char Invoke(char x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: conv.i4 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: conv.u2 + IL_0005: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test8@54::.ctor() + IL_0005: stsfld class assembly/test8@54 assembly/test8@54::@_instance + IL_000a: ret + } + + } + + .class auto ansi serializable sealed nested assembly beforefieldinit test9@63 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test9@63 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance char Invoke(char x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: conv.i4 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: conv.u2 + IL_0005: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test9@63::.ctor() + IL_0005: stsfld class assembly/test9@63 assembly/test9@63::@_instance + IL_000a: ret + } + + } + + .method public static void test1(string str) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: ldarg.0 + IL_0005: callvirt instance int32 [runtime]System.String::get_Length() + IL_000a: ldc.i4.1 + IL_000b: sub + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldloc.2 + IL_000f: blt.s IL_0028 + + IL_0011: ldarg.0 + IL_0012: ldloc.2 + IL_0013: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0018: stloc.3 + IL_0019: ldloc.0 + IL_001a: ldloc.3 + IL_001b: conv.i4 + IL_001c: add + IL_001d: stloc.0 + IL_001e: ldloc.2 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: stloc.2 + IL_0022: ldloc.2 + IL_0023: ldloc.1 + IL_0024: ldc.i4.1 + IL_0025: add + IL_0026: bne.un.s IL_0011 + + IL_0028: ret + } + + .method public static void test2() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: ldstr "123" + IL_0009: callvirt instance int32 [runtime]System.String::get_Length() + IL_000e: ldc.i4.1 + IL_000f: sub + IL_0010: stloc.1 + IL_0011: ldloc.1 + IL_0012: ldloc.2 + IL_0013: blt.s IL_0030 + + IL_0015: ldstr "123" + IL_001a: ldloc.2 + IL_001b: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0020: stloc.3 + IL_0021: ldloc.0 + IL_0022: ldloc.3 + IL_0023: conv.i4 + IL_0024: add + IL_0025: stloc.0 + IL_0026: ldloc.2 + IL_0027: ldc.i4.1 + IL_0028: add + IL_0029: stloc.2 + IL_002a: ldloc.2 + IL_002b: ldloc.1 + IL_002c: ldc.i4.1 + IL_002d: add + IL_002e: bne.un.s IL_0015 + + IL_0030: ret + } + + .method public static void test3() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.2 + IL_0005: ldstr "123" + IL_000a: callvirt instance int32 [runtime]System.String::get_Length() + IL_000f: ldc.i4.1 + IL_0010: sub + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: ldloc.2 + IL_0014: blt.s IL_0031 + + IL_0016: ldstr "123" + IL_001b: ldloc.2 + IL_001c: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0021: stloc.3 + IL_0022: ldloc.0 + IL_0023: ldloc.3 + IL_0024: conv.i4 + IL_0025: add + IL_0026: stloc.0 + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.2 + IL_002b: ldloc.2 + IL_002c: ldloc.1 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: bne.un.s IL_0016 + + IL_0031: ret + } + + .method public static void test4() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: nop + IL_0003: ldc.i4.0 + IL_0004: stloc.2 + IL_0005: ldstr "123" + IL_000a: callvirt instance int32 [runtime]System.String::get_Length() + IL_000f: ldc.i4.1 + IL_0010: sub + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: ldloc.2 + IL_0014: blt.s IL_0031 + + IL_0016: ldstr "123" + IL_001b: ldloc.2 + IL_001c: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0021: stloc.3 + IL_0022: ldloc.0 + IL_0023: ldloc.3 + IL_0024: conv.i4 + IL_0025: add + IL_0026: stloc.0 + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.2 + IL_002b: ldloc.2 + IL_002c: ldloc.1 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: bne.un.s IL_0016 + + IL_0031: ret + } + + .method public static void test5() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + char V_2) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.1 + IL_0003: ldstr "123" + IL_0008: callvirt instance int32 [runtime]System.String::get_Length() + IL_000d: ldc.i4.1 + IL_000e: sub + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: ldloc.1 + IL_0012: blt.s IL_0040 + + IL_0014: ldstr "123" + IL_0019: ldloc.1 + IL_001a: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_001f: stloc.2 + IL_0020: ldstr "%A" + IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,char>::.ctor(string) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002f: ldloc.2 + IL_0030: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0035: pop + IL_0036: ldloc.1 + IL_0037: ldc.i4.1 + IL_0038: add + IL_0039: stloc.1 + IL_003a: ldloc.1 + IL_003b: ldloc.0 + IL_003c: ldc.i4.1 + IL_003d: add + IL_003e: bne.un.s IL_0014 + + IL_0040: ret + } + + .method public static void test6(string str) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: ldarg.0 + IL_0005: callvirt instance int32 [runtime]System.String::get_Length() + IL_000a: ldc.i4.1 + IL_000b: sub + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldloc.2 + IL_000f: blt.s IL_0028 + + IL_0011: ldarg.0 + IL_0012: ldloc.2 + IL_0013: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0018: stloc.3 + IL_0019: ldloc.0 + IL_001a: ldloc.3 + IL_001b: conv.i4 + IL_001c: add + IL_001d: stloc.0 + IL_001e: ldloc.2 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: stloc.2 + IL_0022: ldloc.2 + IL_0023: ldloc.1 + IL_0024: ldc.i4.1 + IL_0025: add + IL_0026: bne.un.s IL_0011 + + IL_0028: ret + } + + .method public static void test7() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.2 + IL_0005: ldstr "123" + IL_000a: callvirt instance int32 [runtime]System.String::get_Length() + IL_000f: ldc.i4.1 + IL_0010: sub + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: ldloc.2 + IL_0014: blt.s IL_0031 + + IL_0016: ldstr "123" + IL_001b: ldloc.2 + IL_001c: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0021: stloc.3 + IL_0022: ldloc.0 + IL_0023: ldloc.3 + IL_0024: conv.i4 + IL_0025: add + IL_0026: stloc.0 + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.2 + IL_002b: ldloc.2 + IL_002c: ldloc.1 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: bne.un.s IL_0016 + + IL_0031: ret + } + + .method public static void test8() cil managed + { + + .maxstack 5 + .locals init (string V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldsfld class assembly/test8@54 assembly/test8@54::@_instance + IL_0005: ldstr "1234" + IL_000a: call string [FSharp.Core]Microsoft.FSharp.Core.StringModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + string) + IL_000f: stloc.0 + IL_0010: ldc.i4.0 + IL_0011: stloc.2 + IL_0012: ldloc.0 + IL_0013: callvirt instance int32 [runtime]System.String::get_Length() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldloc.2 + IL_001d: blt.s IL_0047 + + IL_001f: ldloc.0 + IL_0020: ldloc.2 + IL_0021: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0026: stloc.3 + IL_0027: ldstr "%O" + IL_002c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,char>::.ctor(string) + IL_0031: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0036: ldloc.3 + IL_0037: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_003c: pop + IL_003d: ldloc.2 + IL_003e: ldc.i4.1 + IL_003f: add + IL_0040: stloc.2 + IL_0041: ldloc.2 + IL_0042: ldloc.1 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: bne.un.s IL_001f + + IL_0047: ret + } + + .method public static void test9() cil managed + { + + .maxstack 5 + .locals init (string V_0, + int32 V_1, + int32 V_2, + char V_3, + string V_4) + IL_0000: ldsfld class assembly/test9@63 assembly/test9@63::@_instance + IL_0005: ldstr "1234" + IL_000a: call string [FSharp.Core]Microsoft.FSharp.Core.StringModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + string) + IL_000f: stloc.0 + IL_0010: ldc.i4.0 + IL_0011: stloc.2 + IL_0012: ldloc.0 + IL_0013: callvirt instance int32 [runtime]System.String::get_Length() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldloc.2 + IL_001d: blt.s IL_005a + + IL_001f: ldloc.0 + IL_0020: ldloc.2 + IL_0021: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0026: stloc.3 + IL_0027: ldstr "{0} foo" + IL_002c: ldloc.3 + IL_002d: box [runtime]System.Char + IL_0032: call string [runtime]System.String::Format(string, + object) + IL_0037: stloc.s V_4 + IL_0039: ldstr "%O" + IL_003e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string>::.ctor(string) + IL_0043: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0048: ldloc.s V_4 + IL_004a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_004f: pop + IL_0050: ldloc.2 + IL_0051: ldc.i4.1 + IL_0052: add + IL_0053: stloc.2 + IL_0054: ldloc.2 + IL_0055: ldloc.1 + IL_0056: ldc.i4.1 + IL_0057: add + IL_0058: bne.un.s IL_001f + + IL_005a: ret + } + +} + +.class private abstract auto ansi sealed ''.$assembly + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.release.bsl similarity index 99% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.release.bsl index 2d3a691ab75..0a6ca60011c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOff.il.release.bsl @@ -22,16 +22,8 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.mresource public FSharpSignatureCompressedData.assembly -{ - - -} -.mresource public FSharpOptimizationCompressedData.assembly -{ - - -} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } .module assembly.exe .imagebase {value} @@ -518,7 +510,7 @@ IL_002c: ldloc.3 IL_002d: box [runtime]System.Char IL_0032: call string [runtime]System.String::Format(string, - object) + object) IL_0037: stloc.s V_4 IL_0039: ldstr "%O" IL_003e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string>::.ctor(string) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.debug.bsl new file mode 100644 index 00000000000..e0d4198ac74 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.debug.bsl @@ -0,0 +1,542 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly extern netstandard +{ + .publickeytoken = (CC 7B 13 FF CD 2D DD 51 ) + .ver 2:1:0:0 +} +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed assembly + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .class auto ansi serializable sealed nested assembly beforefieldinit test8@54 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test8@54 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance char Invoke(char x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: conv.i4 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: conv.u2 + IL_0005: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test8@54::.ctor() + IL_0005: stsfld class assembly/test8@54 assembly/test8@54::@_instance + IL_000a: ret + } + + } + + .class auto ansi serializable sealed nested assembly beforefieldinit test9@63 + extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2 + { + .field static assembly initonly class assembly/test9@63 @_instance + .method assembly specialname rtspecialname instance void .ctor() cil managed + { + .custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) + .custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 ) + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::.ctor() + IL_0006: ret + } + + .method public strict virtual instance char Invoke(char x) cil managed + { + + .maxstack 8 + IL_0000: ldarg.1 + IL_0001: conv.i4 + IL_0002: ldc.i4.1 + IL_0003: add + IL_0004: conv.u2 + IL_0005: ret + } + + .method private specialname rtspecialname static void .cctor() cil managed + { + + .maxstack 10 + IL_0000: newobj instance void assembly/test9@63::.ctor() + IL_0005: stsfld class assembly/test9@63 assembly/test9@63::@_instance + IL_000a: ret + } + + } + + .method public static void test1(string str) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: ldarg.0 + IL_0005: callvirt instance int32 [runtime]System.String::get_Length() + IL_000a: ldc.i4.1 + IL_000b: sub + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldloc.2 + IL_000f: blt.s IL_0028 + + IL_0011: ldarg.0 + IL_0012: ldloc.2 + IL_0013: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0018: stloc.3 + IL_0019: ldloc.0 + IL_001a: ldloc.3 + IL_001b: conv.i4 + IL_001c: add + IL_001d: stloc.0 + IL_001e: ldloc.2 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: stloc.2 + IL_0022: ldloc.2 + IL_0023: ldloc.1 + IL_0024: ldc.i4.1 + IL_0025: add + IL_0026: bne.un.s IL_0011 + + IL_0028: ret + } + + .method public static void test2() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: ldstr "123" + IL_0009: callvirt instance int32 [runtime]System.String::get_Length() + IL_000e: ldc.i4.1 + IL_000f: sub + IL_0010: stloc.1 + IL_0011: ldloc.1 + IL_0012: ldloc.2 + IL_0013: blt.s IL_0030 + + IL_0015: ldstr "123" + IL_001a: ldloc.2 + IL_001b: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0020: stloc.3 + IL_0021: ldloc.0 + IL_0022: ldloc.3 + IL_0023: conv.i4 + IL_0024: add + IL_0025: stloc.0 + IL_0026: ldloc.2 + IL_0027: ldc.i4.1 + IL_0028: add + IL_0029: stloc.2 + IL_002a: ldloc.2 + IL_002b: ldloc.1 + IL_002c: ldc.i4.1 + IL_002d: add + IL_002e: bne.un.s IL_0015 + + IL_0030: ret + } + + .method public static void test3() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.2 + IL_0005: ldstr "123" + IL_000a: callvirt instance int32 [runtime]System.String::get_Length() + IL_000f: ldc.i4.1 + IL_0010: sub + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: ldloc.2 + IL_0014: blt.s IL_0031 + + IL_0016: ldstr "123" + IL_001b: ldloc.2 + IL_001c: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0021: stloc.3 + IL_0022: ldloc.0 + IL_0023: ldloc.3 + IL_0024: conv.i4 + IL_0025: add + IL_0026: stloc.0 + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.2 + IL_002b: ldloc.2 + IL_002c: ldloc.1 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: bne.un.s IL_0016 + + IL_0031: ret + } + + .method public static void test4() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: nop + IL_0003: ldc.i4.0 + IL_0004: stloc.2 + IL_0005: ldstr "123" + IL_000a: callvirt instance int32 [runtime]System.String::get_Length() + IL_000f: ldc.i4.1 + IL_0010: sub + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: ldloc.2 + IL_0014: blt.s IL_0031 + + IL_0016: ldstr "123" + IL_001b: ldloc.2 + IL_001c: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0021: stloc.3 + IL_0022: ldloc.0 + IL_0023: ldloc.3 + IL_0024: conv.i4 + IL_0025: add + IL_0026: stloc.0 + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.2 + IL_002b: ldloc.2 + IL_002c: ldloc.1 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: bne.un.s IL_0016 + + IL_0031: ret + } + + .method public static void test5() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + char V_2) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.1 + IL_0003: ldstr "123" + IL_0008: callvirt instance int32 [runtime]System.String::get_Length() + IL_000d: ldc.i4.1 + IL_000e: sub + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: ldloc.1 + IL_0012: blt.s IL_0040 + + IL_0014: ldstr "123" + IL_0019: ldloc.1 + IL_001a: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_001f: stloc.2 + IL_0020: ldstr "%A" + IL_0025: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,char>::.ctor(string) + IL_002a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002f: ldloc.2 + IL_0030: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0035: pop + IL_0036: ldloc.1 + IL_0037: ldc.i4.1 + IL_0038: add + IL_0039: stloc.1 + IL_003a: ldloc.1 + IL_003b: ldloc.0 + IL_003c: ldc.i4.1 + IL_003d: add + IL_003e: bne.un.s IL_0014 + + IL_0040: ret + } + + .method public static void test6(string str) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldc.i4.0 + IL_0001: stloc.0 + IL_0002: ldc.i4.0 + IL_0003: stloc.2 + IL_0004: ldarg.0 + IL_0005: callvirt instance int32 [runtime]System.String::get_Length() + IL_000a: ldc.i4.1 + IL_000b: sub + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldloc.2 + IL_000f: blt.s IL_0028 + + IL_0011: ldarg.0 + IL_0012: ldloc.2 + IL_0013: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0018: stloc.3 + IL_0019: ldloc.0 + IL_001a: ldloc.3 + IL_001b: conv.i4 + IL_001c: add + IL_001d: stloc.0 + IL_001e: ldloc.2 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: stloc.2 + IL_0022: ldloc.2 + IL_0023: ldloc.1 + IL_0024: ldc.i4.1 + IL_0025: add + IL_0026: bne.un.s IL_0011 + + IL_0028: ret + } + + .method public static void test7() cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.2 + IL_0005: ldstr "123" + IL_000a: callvirt instance int32 [runtime]System.String::get_Length() + IL_000f: ldc.i4.1 + IL_0010: sub + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: ldloc.2 + IL_0014: blt.s IL_0031 + + IL_0016: ldstr "123" + IL_001b: ldloc.2 + IL_001c: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0021: stloc.3 + IL_0022: ldloc.0 + IL_0023: ldloc.3 + IL_0024: conv.i4 + IL_0025: add + IL_0026: stloc.0 + IL_0027: ldloc.2 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.2 + IL_002b: ldloc.2 + IL_002c: ldloc.1 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: bne.un.s IL_0016 + + IL_0031: ret + } + + .method public static void test8() cil managed + { + + .maxstack 5 + .locals init (string V_0, + int32 V_1, + int32 V_2, + char V_3) + IL_0000: ldsfld class assembly/test8@54 assembly/test8@54::@_instance + IL_0005: ldstr "1234" + IL_000a: call string [FSharp.Core]Microsoft.FSharp.Core.StringModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + string) + IL_000f: stloc.0 + IL_0010: ldc.i4.0 + IL_0011: stloc.2 + IL_0012: ldloc.0 + IL_0013: callvirt instance int32 [runtime]System.String::get_Length() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldloc.2 + IL_001d: blt.s IL_0047 + + IL_001f: ldloc.0 + IL_0020: ldloc.2 + IL_0021: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0026: stloc.3 + IL_0027: ldstr "%O" + IL_002c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,char>::.ctor(string) + IL_0031: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0036: ldloc.3 + IL_0037: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_003c: pop + IL_003d: ldloc.2 + IL_003e: ldc.i4.1 + IL_003f: add + IL_0040: stloc.2 + IL_0041: ldloc.2 + IL_0042: ldloc.1 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: bne.un.s IL_001f + + IL_0047: ret + } + + .method public static void test9() cil managed + { + + .maxstack 5 + .locals init (string V_0, + int32 V_1, + int32 V_2, + char V_3, + string V_4) + IL_0000: ldsfld class assembly/test9@63 assembly/test9@63::@_instance + IL_0005: ldstr "1234" + IL_000a: call string [FSharp.Core]Microsoft.FSharp.Core.StringModule::Map(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2, + string) + IL_000f: stloc.0 + IL_0010: ldc.i4.0 + IL_0011: stloc.2 + IL_0012: ldloc.0 + IL_0013: callvirt instance int32 [runtime]System.String::get_Length() + IL_0018: ldc.i4.1 + IL_0019: sub + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldloc.2 + IL_001d: blt.s IL_005a + + IL_001f: ldloc.0 + IL_0020: ldloc.2 + IL_0021: callvirt instance char [netstandard]System.String::get_Chars(int32) + IL_0026: stloc.3 + IL_0027: ldstr "{0} foo" + IL_002c: ldloc.3 + IL_002d: box [runtime]System.Char + IL_0032: call string [runtime]System.String::Format(string, + object) + IL_0037: stloc.s V_4 + IL_0039: ldstr "%O" + IL_003e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string>::.ctor(string) + IL_0043: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0048: ldloc.s V_4 + IL_004a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_004f: pop + IL_0050: ldloc.2 + IL_0051: ldc.i4.1 + IL_0052: add + IL_0053: stloc.2 + IL_0054: ldloc.2 + IL_0055: ldloc.1 + IL_0056: ldc.i4.1 + IL_0057: add + IL_0058: bne.un.s IL_001f + + IL_005a: ret + } + +} + +.class private abstract auto ansi sealed ''.$assembly + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.release.bsl similarity index 99% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.release.bsl index 2d3a691ab75..0a6ca60011c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/ForEachOnString01.fs.RealInternalSignatureOn.il.release.bsl @@ -22,16 +22,8 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.mresource public FSharpSignatureCompressedData.assembly -{ - - -} -.mresource public FSharpOptimizationCompressedData.assembly -{ - - -} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } .module assembly.exe .imagebase {value} @@ -518,7 +510,7 @@ IL_002c: ldloc.3 IL_002d: box [runtime]System.Char IL_0032: call string [runtime]System.String::Format(string, - object) + object) IL_0037: stloc.s V_4 IL_0039: ldstr "%O" IL_003e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string>::.ctor(string) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.debug.bsl new file mode 100644 index 00000000000..8980a48e428 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.debug.bsl @@ -0,0 +1,88 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed M + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .method public static void loop1(int32 N) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldc.i4.1 + IL_0001: stloc.1 + IL_0002: ldarg.0 + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: ldloc.1 + IL_0006: blt.s IL_0022 + + IL_0008: ldstr "aaa" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) + IL_0012: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0017: pop + IL_0018: ldloc.1 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: ldloc.0 + IL_001e: ldc.i4.1 + IL_001f: add + IL_0020: bne.un.s IL_0008 + + IL_0022: ret + } + +} + +.class private abstract auto ansi sealed ''.$M$fsx + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.release.bsl similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOff.il.release.bsl diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.debug.bsl new file mode 100644 index 00000000000..8980a48e428 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.debug.bsl @@ -0,0 +1,88 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed M + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .method public static void loop1(int32 N) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldc.i4.1 + IL_0001: stloc.1 + IL_0002: ldarg.0 + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: ldloc.1 + IL_0006: blt.s IL_0022 + + IL_0008: ldstr "aaa" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) + IL_0012: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0017: pop + IL_0018: ldloc.1 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: ldloc.0 + IL_001e: ldc.i4.1 + IL_001f: add + IL_0020: bne.un.s IL_0008 + + IL_0022: ret + } + +} + +.class private abstract auto ansi sealed ''.$M$fsx + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.release.bsl similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable01.fsx.RealInternalSignatureOn.il.release.bsl diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.debug.bsl new file mode 100644 index 00000000000..3d4293f3403 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.debug.bsl @@ -0,0 +1,88 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed M + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .method public static void loop2(int32 N) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldc.i4.s 100 + IL_0002: stloc.1 + IL_0003: ldarg.0 + IL_0004: stloc.0 + IL_0005: ldloc.0 + IL_0006: ldloc.1 + IL_0007: blt.s IL_0023 + + IL_0009: ldstr "aaa" + IL_000e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) + IL_0013: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0018: pop + IL_0019: ldloc.1 + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: stloc.1 + IL_001d: ldloc.1 + IL_001e: ldloc.0 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: bne.un.s IL_0009 + + IL_0023: ret + } + +} + +.class private abstract auto ansi sealed ''.$M$fsx + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.release.bsl similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOff.il.release.bsl diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.debug.bsl new file mode 100644 index 00000000000..3d4293f3403 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.debug.bsl @@ -0,0 +1,88 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed M + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .method public static void loop2(int32 N) cil managed + { + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldc.i4.s 100 + IL_0002: stloc.1 + IL_0003: ldarg.0 + IL_0004: stloc.0 + IL_0005: ldloc.0 + IL_0006: ldloc.1 + IL_0007: blt.s IL_0023 + + IL_0009: ldstr "aaa" + IL_000e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) + IL_0013: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0018: pop + IL_0019: ldloc.1 + IL_001a: ldc.i4.1 + IL_001b: add + IL_001c: stloc.1 + IL_001d: ldloc.1 + IL_001e: ldloc.0 + IL_001f: ldc.i4.1 + IL_0020: add + IL_0021: bne.un.s IL_0009 + + IL_0023: ret + } + +} + +.class private abstract auto ansi sealed ''.$M$fsx + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.release.bsl similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable02.fsx.RealInternalSignatureOn.il.release.bsl diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.debug.bsl new file mode 100644 index 00000000000..6c6584bc0cd --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.debug.bsl @@ -0,0 +1,90 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed M + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .method public static void loop3(int32 a, + int32 N) cil managed + { + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationArgumentCountsAttribute::.ctor(int32[]) = ( 01 00 02 00 00 00 01 00 00 00 01 00 00 00 00 00 ) + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: stloc.1 + IL_0002: ldarg.1 + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: ldloc.1 + IL_0006: blt.s IL_0022 + + IL_0008: ldstr "aaa" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) + IL_0012: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0017: pop + IL_0018: ldloc.1 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: ldloc.0 + IL_001e: ldc.i4.1 + IL_001f: add + IL_0020: bne.un.s IL_0008 + + IL_0022: ret + } + +} + +.class private abstract auto ansi sealed ''.$M$fsx + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.release.bsl similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOff.il.release.bsl diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.debug.bsl new file mode 100644 index 00000000000..6c6584bc0cd --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.debug.bsl @@ -0,0 +1,90 @@ + + + + + +.assembly extern runtime { } +.assembly extern FSharp.Core { } +.assembly assembly +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, + int32, + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) + + + + + .hash algorithm 0x00008004 + .ver 0:0:0:0 +} +.mresource public FSharpSignatureCompressedData.assembly { } +.mresource public FSharpOptimizationCompressedData.assembly { } +.module assembly.exe + +.imagebase {value} +.file alignment 0x00000200 +.stackreserve 0x00100000 +.subsystem 0x0003 +.corflags 0x00000001 + + + + + +.class public abstract auto ansi sealed M + extends [runtime]System.Object +{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) + .method public static void loop3(int32 a, + int32 N) cil managed + { + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationArgumentCountsAttribute::.ctor(int32[]) = ( 01 00 02 00 00 00 01 00 00 00 01 00 00 00 00 00 ) + + .maxstack 5 + .locals init (int32 V_0, + int32 V_1) + IL_0000: ldarg.0 + IL_0001: stloc.1 + IL_0002: ldarg.1 + IL_0003: stloc.0 + IL_0004: ldloc.0 + IL_0005: ldloc.1 + IL_0006: blt.s IL_0022 + + IL_0008: ldstr "aaa" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) + IL_0012: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0017: pop + IL_0018: ldloc.1 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: ldloc.0 + IL_001e: ldc.i4.1 + IL_001f: add + IL_0020: bne.un.s IL_0008 + + IL_0022: ret + } + +} + +.class private abstract auto ansi sealed ''.$M$fsx + extends [runtime]System.Object +{ + .method public static void main@() cil managed + { + .entrypoint + + .maxstack 8 + IL_0000: ret + } + +} + + + + + + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.release.bsl similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.bsl rename to tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop/NoIEnumerable03.fsx.RealInternalSignatureOn.il.release.bsl diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GeneratedIterators/GenIter02.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GeneratedIterators/GenIter02.fs.il.bsl index 789fe9dce20..2cfff1bb8b8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GeneratedIterators/GenIter02.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GeneratedIterators/GenIter02.fs.il.bsl @@ -63,7 +63,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: ldloc.3 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.net472.bsl index b609406b99b..2d0ce42099d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.netcore.bsl index 707be53aac1..edc7b7b4fec 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare05.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.net472.bsl index 93e582b122a..51078f4e86d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.net472.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/KeyR>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.netcore.bsl index fc73dd8cb94..10af946d9c7 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare06.fsx.il.netcore.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/KeyR>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.net472.bsl index 2288ebe1151..8d53a662214 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.net472.bsl @@ -148,7 +148,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -161,7 +161,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.netcore.bsl index 3505525e863..e072a9f6cd6 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare07.fsx.il.netcore.bsl @@ -148,7 +148,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -161,7 +161,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.net472.bsl index 4f2bb265b9c..58a0da41e3f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -677,7 +677,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -690,7 +690,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/KeyWithInnerKeys>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.netcore.bsl index 090421dd788..c9b5824e4d0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Compare10.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -677,7 +677,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -690,7 +690,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/CompareMicroPerfAndCodeGenerationTests/KeyWithInnerKeys>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.net472.bsl index f2b1f11fbb2..e4cee901606 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.netcore.bsl index e2ff9bad489..fd46b142c33 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals04.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.net472.bsl index a39724e32f4..6844221c185 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.net472.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/KeyR>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.netcore.bsl index da6842c973d..6d403bb722d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals05.fsx.il.netcore.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/KeyR>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.net472.bsl index b2de9256d60..9a3a6f884a6 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.net472.bsl @@ -148,7 +148,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -161,7 +161,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.netcore.bsl index 389535ea7ea..9dd2c6eaa63 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals06.fsx.il.netcore.bsl @@ -148,7 +148,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -161,7 +161,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.net472.bsl index c12162b533a..41dfef8066c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -677,7 +677,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -690,7 +690,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/KeyWithInnerKeys>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.netcore.bsl index 1b90b618416..e3ee7a47f56 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals09.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -677,7 +677,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -690,7 +690,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/EqualsMicroPerfAndCodeGenerationTests/KeyWithInnerKeys>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.net472.bsl index d69c5d52763..efd1ec77e85 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.net472.bsl @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -144,7 +144,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.netcore.bsl index 8746e1f030b..bd39ec62a76 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals11.fsx.il.netcore.bsl @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -144,7 +144,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.net472.bsl index e1ce5e4142f..4f23fb13707 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.net472.bsl @@ -115,7 +115,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.netcore.bsl index 954fb2bf26f..7e661f9abe1 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals12.fsx.il.netcore.bsl @@ -115,7 +115,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.net472.bsl index 89d8868be0b..9a58ca9603a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.net472.bsl @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericUnion`1 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) @@ -144,7 +144,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericUnion`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericUnion`1 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.netcore.bsl index 6fb20c23f54..c9d2df3e92c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals14.fsx.il.netcore.bsl @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericUnion`1 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) @@ -144,7 +144,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericUnion`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericUnion`1 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.net472.bsl index 22b2128902d..7010c31bccb 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.net472.bsl @@ -115,7 +115,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericRecord`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericRecord`1 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.netcore.bsl index 026f078e149..82c1f09662a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals15.fsx.il.netcore.bsl @@ -115,7 +115,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericRecord`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeGenericRecord`1 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.net472.bsl index ca4a16871a3..bcf04be504d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.net472.bsl @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -144,7 +144,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.netcore.bsl index bf1b7955a50..9e69b20dba2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals17.fsx.il.netcore.bsl @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -144,7 +144,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.net472.bsl index 3e88144e833..ee2407adfa7 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.net472.bsl @@ -115,7 +115,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.netcore.bsl index 344d2630e97..0532410fba8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals18.fsx.il.netcore.bsl @@ -115,7 +115,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.net472.bsl index 2bd42667f2f..ca3d96eb69b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.net472.bsl @@ -110,7 +110,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -124,7 +124,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.netcore.bsl index a8cc642d0e6..af94e53fe17 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals20.fsx.il.netcore.bsl @@ -110,7 +110,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -124,7 +124,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeUnion IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.net472.bsl index 8b1d3250251..a8ebadcae72 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.net472.bsl @@ -95,7 +95,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.netcore.bsl index 1fe2b83c557..03798ec1c91 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Equals21.fsx.il.netcore.bsl @@ -95,7 +95,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/EqualsMicroPerfAndCodeGenerationTests/SomeRecord IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.net472.bsl index fbed648ba1e..2bdc6c2a784 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.netcore.bsl index de3253d68d9..e17030aeb67 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash05.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.net472.bsl index f6a93e6fd6d..f31c02a2239 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.netcore.bsl index 7b7a4aa26b8..5464efde16d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash06.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.net472.bsl index 46adaeb4644..0e8ec8987b0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.net472.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/KeyR>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.netcore.bsl index e78fc57672f..11feadbb5eb 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash08.fsx.il.netcore.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/KeyR>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.net472.bsl index ff6c96ff250..2a681992ee1 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.netcore.bsl index e65a2911b30..22e9317f16b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.ilnetcore..bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.ilnetcore..bsl index a780eb870e1..163ad3005d8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.ilnetcore..bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash09.fsx.ilnetcore..bsl @@ -150,7 +150,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret @@ -164,7 +164,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/GenericKey`1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.net472.bsl index cd9728b029c..0772c51faa6 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.net472.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -677,7 +677,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -690,7 +690,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/KeyWithInnerKeys>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.netcore.bsl index 500d3a52a64..ef2926ce29c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/GenericComparison/Hash12.fsx.il.netcore.bsl @@ -147,7 +147,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -160,7 +160,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/Key>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -677,7 +677,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -690,7 +690,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/HashMicroPerfAndCodeGenerationTests/KeyWithInnerKeys>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.debug.bsl index f4fb003898f..d12bbf5b0e3 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.debug.bsl @@ -595,7 +595,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -608,7 +608,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.release.bsl index dccb51d00c9..4df977a0c47 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.net472.release.bsl @@ -595,7 +595,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -608,7 +608,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.debug.bsl index 11e87693f4b..9905795f99b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.debug.bsl @@ -595,7 +595,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -608,7 +608,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.release.bsl index b5b5eadeba3..f8aeafbf258 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOff.fs.il.netcore.release.bsl @@ -595,7 +595,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -608,7 +608,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.debug.bsl index 71ae86abc63..434ed96fff4 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.debug.bsl @@ -936,7 +936,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -949,7 +949,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.release.bsl index eee45015b20..c3eebb21792 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.net472.release.bsl @@ -952,7 +952,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -965,7 +965,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.debug.bsl index 8446cbbc13c..f2cb950c1cf 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.debug.bsl @@ -936,7 +936,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -949,7 +949,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.release.bsl index 35068784455..1cb38ea0f68 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01_RealInternalSignatureOn.fs.il.netcore.release.bsl @@ -952,7 +952,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -965,7 +965,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class Match01/Test1>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.net472.bsl index 383e66d0ce8..927d2cda9be 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.net472.bsl @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/U IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -140,7 +140,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/U IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.netcore.bsl index 7d53086cb75..71c7f8a7fd2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/StructUnion01.fs.il.netcore.bsl @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/U IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -140,7 +140,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,valuetype assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj assembly/U IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOff.il.bsl index 73b97924a42..fd727805215 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOff.il.bsl @@ -255,7 +255,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldloca.s V_0 IL_0013: ldc.i4.1 @@ -263,7 +263,7 @@ IL_0019: nop IL_001a: ldstr "goodbye" IL_001f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: pop IL_002a: ldloca.s V_0 IL_002c: ldc.i4.2 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOn.il.bsl index b982f53ca15..dbc7311b280 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping02.fs.RealInternalSignatureOn.il.bsl @@ -255,7 +255,7 @@ IL_0000: nop IL_0001: ldstr "hello" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: pop IL_0011: ldloca.s V_0 IL_0013: ldc.i4.1 @@ -263,7 +263,7 @@ IL_0019: nop IL_001a: ldstr "goodbye" IL_001f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: pop IL_002a: ldloca.s V_0 IL_002c: ldc.i4.2 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOff.il.bsl index 70a5d9c8ef4..751f9296219 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOff.il.bsl @@ -67,7 +67,7 @@ IL_0012: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_0017: ldstr "hello" IL_001c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0026: pop IL_0027: ldloca.s V_1 IL_0029: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOn.il.bsl index 771b817e091..83cbab1aa3f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping03.fs.RealInternalSignatureOn.il.bsl @@ -66,7 +66,7 @@ IL_0012: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_0017: ldstr "hello" IL_001c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0026: pop IL_0027: ldloca.s V_1 IL_0029: ldloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOff.il.bsl index 3cb3123097e..4f63d33a2ce 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOff.il.bsl @@ -104,7 +104,7 @@ IL_0053: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_0058: ldstr "done" IL_005d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0062: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0062: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0067: pop IL_0068: endfinally } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOn.il.bsl index 4fa59469073..50998012aa3 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping05.fs.RealInternalSignatureOn.il.bsl @@ -103,7 +103,7 @@ IL_0053: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_0058: ldstr "done" IL_005d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0062: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0062: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0067: pop IL_0068: endfinally } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOff.il.bsl index 4814da63aac..41d78778c2b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOff.il.bsl @@ -84,7 +84,7 @@ IL_0015: stloc.3 IL_0016: ldstr "hello" IL_001b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0025: pop IL_0026: ldloca.s V_0 IL_0028: ldloc.3 @@ -127,7 +127,7 @@ IL_0068: stloc.s V_7 IL_006a: ldstr "goodbye" IL_006f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0074: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0074: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0079: pop IL_007a: ldloca.s V_0 IL_007c: ldloc.s V_7 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOn.il.bsl index f45fe74c5a0..b86f4f04dc2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/ListExpressionStepping/ListExpressionStepping06.fs.RealInternalSignatureOn.il.bsl @@ -84,7 +84,7 @@ IL_0015: stloc.3 IL_0016: ldstr "hello" IL_001b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0025: pop IL_0026: ldloca.s V_0 IL_0028: ldloc.3 @@ -127,7 +127,7 @@ IL_0068: stloc.s V_7 IL_006a: ldstr "goodbye" IL_006f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0074: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0074: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0079: pop IL_007a: ldloca.s V_0 IL_007c: ldloc.s V_7 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.net472.bsl index 09ecb30cd8a..5d725c548c1 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.net472.bsl @@ -145,7 +145,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5f__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class '<>f__AnonymousType1912756633`2'j__TPar',!'j__TPar'>>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToStringf__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToStringf__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2f__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.netcore.bsl index c2b4e8854a0..1d8ee9cc6d2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/AnonRecd.fs.il.netcore.bsl @@ -145,7 +145,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5f__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class '<>f__AnonymousType1912756633`2'j__TPar',!'j__TPar'>>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToStringf__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToStringf__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2f__AnonymousType1912756633`2'j__TPar',!'j__TPar'>,string>::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.debug.bsl index 350a4d6ba7b..a95f079a4a1 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.debug.bsl @@ -308,7 +308,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -321,7 +321,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.release.bsl index 3fd3c4cefba..19c93a81613 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.net472.release.bsl @@ -308,7 +308,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -321,7 +321,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.debug.bsl index 916c5ec6d10..e47d20a8fe0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.debug.bsl @@ -308,7 +308,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -321,7 +321,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.release.bsl index ef594bc4ea1..ff0ff30af07 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/EqualsOnUnions01.fs.il.netcore.release.bsl @@ -308,7 +308,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -321,7 +321,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOff.il.bsl index 1815b1427cb..395863f9696 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOff.il.bsl @@ -79,7 +79,7 @@ IL_0022: stloc.2 IL_0023: ldstr "%A" IL_0028: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_002d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0032: ldloc.2 IL_0033: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0038: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOn.il.bsl index 5914c20eb17..9047283fef4 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop01.fs.RealInternalSignatureOn.il.bsl @@ -102,7 +102,7 @@ IL_0036: stloc.s V_5 IL_0038: ldstr "%A" IL_003d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0047: ldloc.s V_5 IL_0049: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_004e: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOff.il.bsl index 9eabae75fe8..8a691ecdcfe 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOff.il.bsl @@ -64,7 +64,7 @@ IL_0004: ldstr "%A" IL_0009: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0013: ldloc.0 IL_0014: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0019: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOn.il.bsl index 652e223cd59..efcadcaa68e 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop02.fs.RealInternalSignatureOn.il.bsl @@ -65,7 +65,7 @@ IL_0004: ldstr "%A" IL_0009: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0013: ldloc.0 IL_0014: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0019: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.net472.bsl index c2d8e84b8d7..41428cf6528 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.net472.bsl @@ -108,7 +108,7 @@ IL_0049: ldstr "z = %d" IL_004e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0058: ldloc.0 IL_0059: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_005e: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.netcore.bsl index 4fa18ee12e7..e512ec56bdd 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOff.il.netcore.bsl @@ -113,7 +113,7 @@ IL_0049: ldstr "z = %d" IL_004e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0058: ldloc.0 IL_0059: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_005e: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.net472.bsl index 771e4efe186..4e3aeb7d22a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.net472.bsl @@ -110,7 +110,7 @@ IL_0049: ldstr "z = %d" IL_004e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0058: ldloc.0 IL_0059: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_005e: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.netcore.bsl index 621457f35c8..9bde44b1361 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ForLoop03.fs.RealInternalSignatureOn.il.netcore.bsl @@ -115,7 +115,7 @@ IL_0049: ldstr "z = %d" IL_004e: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0053: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0058: ldloc.0 IL_0059: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_005e: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.net472.bsl index 7a6a0feb096..060714aa109 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.net472.bsl @@ -112,7 +112,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -125,7 +125,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Weirdo>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.netcore.bsl index b8efd286255..881f55045f3 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOff.il.netcore.bsl @@ -112,7 +112,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -125,7 +125,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Weirdo>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.net472.bsl index 8b09042819b..6f5dfba39e0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.net472.bsl @@ -112,7 +112,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -125,7 +125,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Weirdo>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.netcore.bsl index 7975a22570f..643399abe55 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/GeneralizationOnUnions01.fs.RealInternalSignatureOn.il.netcore.bsl @@ -112,7 +112,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -125,7 +125,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Weirdo>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOff.il.bsl index 80c502560e8..1f3c7a093f2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOff.il.bsl @@ -49,7 +49,7 @@ .maxstack 8 IL_0000: ldstr "Hey!" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ret } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOn.il.bsl index b769f61f249..0cfdc46da66 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/MethodImplNoInline02.fs.RealInternalSignatureOn.il.bsl @@ -49,7 +49,7 @@ .maxstack 8 IL_0000: ldstr "Hey!" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ret } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOff.il.bsl index cfedbc8e969..e11fae006a2 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOff.il.bsl @@ -80,7 +80,7 @@ .locals init (int32 V_0) IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: call int32 assembly/M::get_x() IL_0015: stloc.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOn.il.bsl index c0f9bb38aa9..d9926f2bc36 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/ModuleWithExpression01.fs.RealInternalSignatureOn.il.bsl @@ -74,7 +74,7 @@ .maxstack 8 IL_0000: ldstr "hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ret } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.debug.bsl index eb8c609233d..f5299418c49 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.debug.bsl @@ -3690,7 +3690,7 @@ IL_0266: ldstr "lowNums failed" IL_026b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0270: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0270: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0275: pop IL_0276: ldc.i4.1 IL_0277: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.release.bsl index 8a1f7e53459..19bf81670c9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.net472.release.bsl @@ -3654,7 +3654,7 @@ IL_0256: ldstr "lowNums failed" IL_025b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0260: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0260: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0265: pop IL_0266: ldc.i4.1 IL_0267: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.debug.bsl index 00848869c47..c546d0a4621 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.debug.bsl @@ -3690,7 +3690,7 @@ IL_0266: ldstr "lowNums failed" IL_026b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0270: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0270: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0275: pop IL_0276: ldc.i4.1 IL_0277: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.release.bsl index 0ca382c78a7..2151c6c8c33 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOff.il.netcore.release.bsl @@ -3654,7 +3654,7 @@ IL_0256: ldstr "lowNums failed" IL_025b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0260: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0260: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0265: pop IL_0266: ldc.i4.1 IL_0267: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.debug.bsl index 5f2973a26fd..52aaafa5d17 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.debug.bsl @@ -3520,7 +3520,7 @@ IL_0240: ldstr "lowNums failed" IL_0245: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_024a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_024a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_024f: pop IL_0250: ldc.i4.1 IL_0251: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.release.bsl index 350875b918a..cfd38e47868 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.net472.release.bsl @@ -3484,7 +3484,7 @@ IL_0230: ldstr "lowNums failed" IL_0235: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_023a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_023a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_023f: pop IL_0240: ldc.i4.1 IL_0241: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.debug.bsl index 9b747bc26e6..0f1d6d0b1f8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.debug.bsl @@ -3520,7 +3520,7 @@ IL_0240: ldstr "lowNums failed" IL_0245: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_024a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_024a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_024f: pop IL_0250: ldc.i4.1 IL_0251: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.release.bsl index 67f944b85d3..41572c6853f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/Linq101Select01.fs.RealInternalSignatureOn.il.netcore.release.bsl @@ -3484,7 +3484,7 @@ IL_0230: ldstr "lowNums failed" IL_0235: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_023a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_023a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_023f: pop IL_0240: ldc.i4.1 IL_0241: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::Exit(int32) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/RefactorExtraPervasives.fs b/tests/FSharp.Compiler.ComponentTests/EmittedIL/RefactorExtraPervasives.fs new file mode 100644 index 00000000000..3d4ea556968 --- /dev/null +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/RefactorExtraPervasives.fs @@ -0,0 +1,535 @@ +// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. + +namespace EmittedIL + +open Xunit +open FSharp.Test.Compiler +open FSharp.Test.Compiler.Assertions.StructuredResultsAsserts + +module RefactorExtraPervasives = + + let lazyPatternSource code = $""" +module LazyExtensionsModule +let printlazy v = match v with | {code} x -> x +let _ = printlazy (lazy "Hello, World") +""" + + [] + [] + [] + let ``LazyPattern - LazyExtensions`` (code) = + FSharp (lazyPatternSource code) + |> asExe + |> withOptimize + |> compileAndRun + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method public static !!a printlazy(class [runtime]System.Lazy`1 v) cil managed + { + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: callvirt instance !0 class [netstandard]System.Lazy`1::get_Value() + IL_0006: ret + } """ + """ .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldsfld class LazyExtensionsModule/clo@4 LazyExtensionsModule/clo@4::@_instance + IL_0005: call class [runtime]System.Lazy`1 [FSharp.Core]Microsoft.FSharp.Control.LazyExtensions::Create(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2) + IL_000a: callvirt instance !0 class [netstandard]System.Lazy`1::get_Value() + IL_000f: pop + IL_0010: ret + } """ ] +#else + """ + .method public static !!a printlazy(class [runtime]System.Lazy`1 v) cil managed + { + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: tail. + IL_0003: call !!0 [FSharp.Core]Microsoft.FSharp.Control.LazyExtensions::LazyPattern(class [runtime]System.Lazy`1) + IL_0008: ret + } """ + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldsfld class LazyExtensionsModule/clo@4 LazyExtensionsModule/clo@4::@_instance + IL_0005: call class [runtime]System.Lazy`1 [FSharp.Core]Microsoft.FSharp.Control.LazyExtensions::Create(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Control.LazyExtensions::LazyPattern(class [runtime]System.Lazy`1) + IL_000f: pop + IL_0010: ret + } """ ] +#endif + + [] + [] + let ``LazyPattern - ExtraTopLevelOperators`` (code) = + FSharp (lazyPatternSource code) + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method public static !!a printlazy(class [runtime]System.Lazy`1 v) cil managed + { + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: callvirt instance !0 class [netstandard]System.Lazy`1::get_Value() + IL_0006: ret + } """ + """ .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldsfld class LazyExtensionsModule/clo@4 LazyExtensionsModule/clo@4::@_instance + IL_0005: call class [runtime]System.Lazy`1 [FSharp.Core]Microsoft.FSharp.Control.LazyExtensions::Create(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2) + IL_000a: callvirt instance !0 class [netstandard]System.Lazy`1::get_Value() + IL_000f: pop + IL_0010: ret + } """ ] +#else + """ + .method public static !!a printlazy(class [runtime]System.Lazy`1 v) cil managed + { + + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: tail. + IL_0003: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::LazyPattern(class [runtime]System.Lazy`1) + IL_0008: ret + } """ + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldsfld class LazyExtensionsModule/clo@4 LazyExtensionsModule/clo@4::@_instance + IL_0005: call class [runtime]System.Lazy`1 [FSharp.Core]Microsoft.FSharp.Control.LazyExtensions::Create(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::LazyPattern(class [runtime]System.Lazy`1) + IL_000f: pop + IL_0010: ret + } """ ] +#endif + + + [] + [] + [] + [] + [] + [] + [] + [] + [] + let ``convert to byte unchecked``(code) = + FSharp $""" +module OperatorsTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: stsfld uint8 OperatorsTests::x@3 + IL_0007: ldstr "%d" + IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,uint8>::.ctor(string) + IL_0011: stsfld class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::format@1 + IL_0016: call class [netstandard]System.IO.TextWriter [netstandard]System.Console::get_Out() + IL_001b: call class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::get_format@1() + IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfModule::PrintFormatLineToTextWriter>(class [runtime]System.IO.TextWriter, + class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0025: call uint8 OperatorsTests::get_x() + IL_002a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_002f: pop + IL_0030: ret + } """ ] +#else + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: stsfld uint8 OperatorsTests::x@3 + IL_0007: ldstr "%d" + IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,uint8>::.ctor(string) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0016: call uint8 OperatorsTests::get_x() + IL_001b: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0020: pop + IL_0021: ret + } """ ] +#endif + + [] + [] + [] + [] + [] + [] + [] + [] + [] + let ``convert to byte checked``(code) = + FSharp $""" +module OperatorsTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: conv.ovf.u1 + IL_0003: stsfld uint8 OperatorsTests::x@3 + IL_0008: ldstr "%d" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,uint8>::.ctor(string) + IL_0012: stsfld class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::format@1 + IL_0017: call class [netstandard]System.IO.TextWriter [netstandard]System.Console::get_Out() + IL_001c: call class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::get_format@1() + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfModule::PrintFormatLineToTextWriter>(class [runtime]System.IO.TextWriter, + class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0026: call uint8 OperatorsTests::get_x() + IL_002b: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0030: pop + IL_0031: ret + } """ ] +#else + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: conv.ovf.u1 + IL_0003: stsfld uint8 OperatorsTests::x@3 + IL_0008: ldstr "%d" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,uint8>::.ctor(string) + IL_0012: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0017: call uint8 OperatorsTests::get_x() + IL_001c: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0021: pop + IL_0022: ret + } +""" ] +#endif + + [] + [] + [] + [] + [] + [] + [] + [] + [] + let ``convert to sbyte unchecked``(code) = + FSharp $""" +module OperatorsTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: stsfld int8 OperatorsTests::x@3 + IL_0007: ldstr "%d" + IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int8>::.ctor(string) + IL_0011: stsfld class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::format@1 + IL_0016: call class [netstandard]System.IO.TextWriter [netstandard]System.Console::get_Out() + IL_001b: call class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::get_format@1() + IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfModule::PrintFormatLineToTextWriter>(class [runtime]System.IO.TextWriter, + class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0025: call int8 OperatorsTests::get_x() + IL_002a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_002f: pop + IL_0030: ret + } """ ] +#else + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: stsfld int8 OperatorsTests::x@3 + IL_0007: ldstr "%d" + IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int8>::.ctor(string) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0016: call int8 OperatorsTests::get_x() + IL_001b: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0020: pop + IL_0021: ret + } """ ] +#endif + + [] + [] + [] + [] + [] + [] + [] + [] + [] + let ``convert to sbyte checked``(code) = + FSharp $""" +module OperatorsTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: conv.ovf.i1 + IL_0003: stsfld int8 OperatorsTests::x@3 + IL_0008: ldstr "%d" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int8>::.ctor(string) + IL_0012: stsfld class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::format@1 + IL_0017: call class [netstandard]System.IO.TextWriter [netstandard]System.Console::get_Out() + IL_001c: call class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit> OperatorsTests::get_format@1() + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfModule::PrintFormatLineToTextWriter>(class [runtime]System.IO.TextWriter, + class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0026: call int8 OperatorsTests::get_x() + IL_002b: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0030: pop + IL_0031: ret + } """ ] +#else + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 25 + IL_0002: conv.ovf.i1 + IL_0003: stsfld int8 OperatorsTests::x@3 + IL_0008: ldstr "%d" + IL_000d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int8>::.ctor(string) + IL_0012: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0017: call int8 OperatorsTests::get_x() + IL_001c: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) + IL_0021: pop + IL_0022: ret + } """ ] +#endif + + [] + [] + [] + let ``verifyDefaultAsyncImplementation - CommonExtensions``(code) = + FSharp $""" +module AsyncTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() + IL_0005: stsfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder AsyncTests::_x@3 + IL_000a: ret + } """] + + [] + [] + let ``verifyDefaultAsyncImplementation - ExtraTopLevelOperators``(code) = + FSharp $""" +module AsyncTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0005: stsfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder AsyncTests::_x@3 + IL_000a: ret + } """ ] + + [] + [] + [] + [] + let ``verifyDefaultsetImplementation - CollectionExtensions``(code) = + let _expected = +#if Release + "Collections" +#else + if code = "let _x = ExtraTopLevelOperators.set [10; 20; 30; 40]" then + "Core.ExtraTopLevelOperators::CreateSet" + else + "Collections.SetModule::OfSeq" + +#endif + + FSharp $""" +module SetExtensionsTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ +#if Release + """ + .method assembly specialname static void staticInitialization@() cil managed + { + + .maxstack 8 + IL_0000: ldc.i4.s 10 + IL_0002: ldc.i4.s 20 + IL_0004: ldc.i4.s 30 + IL_0006: ldc.i4.s 40 + IL_0008: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0012: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0017: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_001c: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0021: newobj instance void class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1::.ctor(class [runtime]System.Collections.Generic.IEnumerable`1) + IL_0026: stsfld class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 SetExtensionsTests::_x@3 + IL_002b: ret + } + + .property class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 + _x() + { + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 ) + .get class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 SetExtensionsTests::get__x() + }""" ] +#else + $""" + .method assembly specialname static void staticInitialization@() cil managed + {{ + + .maxstack 8 + IL_0000: ldc.i4.s 10 + IL_0002: ldc.i4.s 20 + IL_0004: ldc.i4.s 30 + IL_0006: ldc.i4.s 40 + IL_0008: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_000d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0012: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0017: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_001c: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0021: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 [FSharp.Core]Microsoft.FSharp.{_expected}(class [runtime]System.Collections.Generic.IEnumerable`1) + IL_0026: stsfld class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 SetExtensionsTests::_x@3 + IL_002b: ret + }} + + .property class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 + _x() + {{ + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 ) + .get class [FSharp.Core]Microsoft.FSharp.Collections.FSharpSet`1 SetExtensionsTests::get__x() + }}""" ] +#endif + + [] + [] + [] + [] + let ``verifyDefaultarray2DImplementation - CollectionExtensions``(code) = + let _expected = +#if Release + "Collections.CollectionExtensions" +#else + if code = "let _x = ExtraTopLevelOperators.array2D [ [ 10; 20 ]; [ 30; 40 ] ]" then + "Core.ExtraTopLevelOperators" + else + "Collections.CollectionExtensions" + +#endif + FSharp + $""" +module array2DExtensionsTests +{code}""" + |> asLibrary + |> withOptimize + |> compile + |> shouldSucceed + |> verifyIL [ + $""" + .method assembly specialname static void staticInitialization@() cil managed + {{ + + .maxstack 6 + IL_0000: ldc.i4.s 10 + IL_0002: ldc.i4.s 20 + IL_0004: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_0009: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_000e: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0013: ldc.i4.s 30 + IL_0015: ldc.i4.s 40 + IL_0017: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::get_Empty() + IL_001c: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0021: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0026: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::get_Empty() + IL_002b: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0030: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::Cons(!0, + class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1) + IL_0035: call !!1[0...,0...] [FSharp.Core]Microsoft.FSharp.{_expected}::CreateArray2D,int32>(class [runtime]System.Collections.Generic.IEnumerable`1) + IL_003a: stsfld int32[0...,0...] array2DExtensionsTests::_x@3 + IL_003f: ret + }}""" ] + diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOff.il.bsl index e0dbc87787d..aa5e5050d7f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOff.il.bsl @@ -102,7 +102,7 @@ IL_0024: nop IL_0025: ldstr "hello" IL_002a: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0034: pop IL_0035: ldarg.0 IL_0036: ldc.i4.1 @@ -115,7 +115,7 @@ IL_0045: ldstr "goodbye" IL_004a: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_004f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0054: pop IL_0055: ldarg.0 IL_0056: ldc.i4.2 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOn.il.bsl index a95aef22f7f..70dd6b6256f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest02.fs.RealInternalSignatureOn.il.bsl @@ -102,7 +102,7 @@ IL_0024: nop IL_0025: ldstr "hello" IL_002a: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0034: pop IL_0035: ldarg.0 IL_0036: ldc.i4.1 @@ -115,7 +115,7 @@ IL_0045: ldstr "goodbye" IL_004a: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_004f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0054: pop IL_0055: ldarg.0 IL_0056: ldc.i4.2 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOff.il.bsl index 760daabc6ef..fde40df81be 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOff.il.bsl @@ -113,7 +113,7 @@ IL_0033: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_0038: ldstr "hello" IL_003d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0047: pop IL_0048: ldarg.0 IL_0049: ldc.i4.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOn.il.bsl index 995d0770777..bdf3309177a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest03.fs.RealInternalSignatureOn.il.bsl @@ -113,7 +113,7 @@ IL_0033: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_0038: ldstr "hello" IL_003d: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0042: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0047: pop IL_0048: ldarg.0 IL_0049: ldc.i4.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOff.il.bsl index c9c71515526..f4cb6a733c0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOff.il.bsl @@ -178,7 +178,7 @@ IL_00cf: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_00d4: ldstr "done" IL_00d9: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00de: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00de: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00e3: pop IL_00e4: ldarg.0 IL_00e5: ldnull @@ -256,7 +256,7 @@ IL_0069: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_006e: ldstr "done" IL_0073: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0078: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0078: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_007d: pop IL_007e: nop IL_007f: ldarg.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOn.il.bsl index 0bc58b2d8f8..a5a62648485 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest05.fs.RealInternalSignatureOn.il.bsl @@ -178,7 +178,7 @@ IL_00cf: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_00d4: ldstr "done" IL_00d9: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00de: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00de: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00e3: pop IL_00e4: ldarg.0 IL_00e5: ldnull @@ -256,7 +256,7 @@ IL_0069: call instance void class [FSharp.Core]Microsoft.FSharp.Core.FSharpRef`1::set_contents(!0) IL_006e: ldstr "done" IL_0073: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0078: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0078: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_007d: pop IL_007e: nop IL_007f: ldarg.0 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOff.il.bsl index 3835b9fa0d5..2bd489e65d3 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOff.il.bsl @@ -141,7 +141,7 @@ IL_0060: stloc.0 IL_0061: ldstr "hello" IL_0066: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_006b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_006b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0070: pop IL_0071: ldarg.0 IL_0072: ldc.i4.2 @@ -182,7 +182,7 @@ IL_00cc: stloc.1 IL_00cd: ldstr "goodbye" IL_00d2: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00d7: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00d7: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00dc: pop IL_00dd: ldarg.0 IL_00de: ldc.i4.4 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOn.il.bsl index 5170c5d889c..55d75597cde 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest06.fs.RealInternalSignatureOn.il.bsl @@ -141,7 +141,7 @@ IL_0060: stloc.0 IL_0061: ldstr "hello" IL_0066: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_006b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_006b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0070: pop IL_0071: ldarg.0 IL_0072: ldc.i4.2 @@ -182,7 +182,7 @@ IL_00cc: stloc.1 IL_00cd: ldstr "goodbye" IL_00d2: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00d7: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00d7: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00dc: pop IL_00dd: ldarg.0 IL_00de: ldc.i4.4 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.debug.bsl index 0fd66bf54cf..7a05e5df57a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.debug.bsl @@ -696,7 +696,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -750,7 +750,7 @@ IL_0001: stsfld int32 ''.$SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.release.bsl index 0fd66bf54cf..7a05e5df57a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.net472.release.bsl @@ -696,7 +696,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -750,7 +750,7 @@ IL_0001: stsfld int32 ''.$SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.debug.bsl index ad76bc50512..8ae49d61064 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.debug.bsl @@ -697,7 +697,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -751,7 +751,7 @@ IL_0001: stsfld int32 ''.$SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.release.bsl index ad76bc50512..8ae49d61064 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOff.il.netcore.release.bsl @@ -697,7 +697,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -751,7 +751,7 @@ IL_0001: stsfld int32 ''.$SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.debug.bsl index d262ec04953..0d70d3a11dd 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.debug.bsl @@ -698,7 +698,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -745,7 +745,7 @@ IL_0001: stsfld int32 SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.release.bsl index d262ec04953..0d70d3a11dd 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.net472.release.bsl @@ -698,7 +698,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -745,7 +745,7 @@ IL_0001: stsfld int32 SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.debug.bsl index 231c7817638..1c7e4e91a66 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.debug.bsl @@ -699,7 +699,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -746,7 +746,7 @@ IL_0001: stsfld int32 SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.release.bsl index 231c7817638..1c7e4e91a66 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SeqExpressionStepping/SeqExpressionSteppingTest07.fs.RealInternalSignatureOn.il.netcore.release.bsl @@ -699,7 +699,7 @@ IL_000a: stloc.3 IL_000b: ldstr "hello" IL_0010: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0015: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001a: pop IL_001b: ldloc.3 IL_001c: call instance void valuetype [FSharp.Core]Microsoft.FSharp.Core.CompilerServices.ListCollector`1::Add(!0) @@ -746,7 +746,7 @@ IL_0001: stsfld int32 SeqExpressionSteppingTest7::r@4 IL_0006: ldstr "res = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: stloc.0 .try { diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.debug.bsl index f5f04fcb40b..b77a0897f91 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -548,7 +548,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -888,7 +888,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1306,7 +1306,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.release.bsl index 0b5ef0b234d..2bdc44b93e5 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.net472.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -515,7 +515,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -840,7 +840,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1225,7 +1225,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.debug.bsl index a624fee0548..4e2196c4206 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -548,7 +548,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -888,7 +888,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1306,7 +1306,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.release.bsl index ea95334d07b..378fcba9ed6 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOff.il.netcore.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -515,7 +515,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -840,7 +840,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1225,7 +1225,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.debug.bsl index 8bcae45c3b1..6bc430ed3ae 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -548,7 +548,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -888,7 +888,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1306,7 +1306,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.release.bsl index 5347d3988b5..fabaf815614 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.net472.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -515,7 +515,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -840,7 +840,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1225,7 +1225,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.debug.bsl index 8f30173d50c..6b1154d940a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -548,7 +548,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -888,7 +888,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1306,7 +1306,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.release.bsl index ea5b17e94c6..1ae3c409e9e 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule.fs.RealInternalSignatureOn.il.netcore.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -515,7 +515,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -840,7 +840,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1225,7 +1225,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.debug.bsl index e6351cdeaa5..0e8bb98480d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -862,7 +862,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.release.bsl index df7f733a37d..105a6bc8f8b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.net472.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -814,7 +814,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.debug.bsl index 9472600867c..bec3b74e0a6 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -862,7 +862,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.release.bsl index be5c1201b0e..6a50514ab48 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOff.il.netcore.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -814,7 +814,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.debug.bsl index e450def59e8..fb0be22640d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -862,7 +862,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.release.bsl index c3f0bec3919..59971589dc7 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.net472.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -814,7 +814,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.debug.bsl index 3c134f1c5a3..51481042d66 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.debug.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -862,7 +862,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -875,7 +875,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.release.bsl index ad760610cf5..dbbe57357c3 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelModule60.fs.RealInternalSignatureOn.il.netcore.release.bsl @@ -117,7 +117,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -130,7 +130,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -814,7 +814,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -827,7 +827,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.debug.bsl index 53fbbd75170..f529c1b284a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -544,7 +544,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -884,7 +884,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1302,7 +1302,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1629,7 +1629,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1642,7 +1642,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -2060,7 +2060,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.release.bsl index 89341a52b71..d69a112f849 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.net472.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -511,7 +511,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -836,7 +836,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1221,7 +1221,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1533,7 +1533,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1546,7 +1546,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1931,7 +1931,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.debug.bsl index 4ec3cddaa0f..07d8d0e3a43 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -544,7 +544,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -884,7 +884,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1302,7 +1302,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1629,7 +1629,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1642,7 +1642,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -2060,7 +2060,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.release.bsl index d6aa45e95c6..c479597fd7a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOff.il.netcore.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -511,7 +511,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -836,7 +836,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1221,7 +1221,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1533,7 +1533,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1546,7 +1546,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1931,7 +1931,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.debug.bsl index 4155f4c8544..67ac3ee26ec 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -544,7 +544,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -884,7 +884,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1302,7 +1302,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1629,7 +1629,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1642,7 +1642,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -2060,7 +2060,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.release.bsl index 6a2be5092bd..964f8538b93 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.net472.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -511,7 +511,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -836,7 +836,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1221,7 +1221,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1533,7 +1533,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1546,7 +1546,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1931,7 +1931,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.debug.bsl index f4a29a64323..3f1bb6a512b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -544,7 +544,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -884,7 +884,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1302,7 +1302,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1629,7 +1629,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1642,7 +1642,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -2060,7 +2060,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.release.bsl index fd2a5d7a64b..a92ac6d0561 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace.fs.RealInternalSignatureOn.il.netcore.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -511,7 +511,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -836,7 +836,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1221,7 +1221,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1533,7 +1533,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1546,7 +1546,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1931,7 +1931,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/MyExn>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.debug.bsl index 9379fe34635..e05cbe8f1e1 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -858,7 +858,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1603,7 +1603,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1616,7 +1616,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.release.bsl index b460d189ccb..aed412a18ea 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.net472.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -810,7 +810,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1507,7 +1507,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1520,7 +1520,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.debug.bsl index e15f1b11ea2..b3fac4ea4e9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -858,7 +858,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1603,7 +1603,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1616,7 +1616,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.release.bsl index fa0f108ba8b..9e9c3fbde1d 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOff.il.netcore.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -810,7 +810,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1507,7 +1507,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1520,7 +1520,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.debug.bsl index f956c9bf54b..a6b6fe9b0ed 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -858,7 +858,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1603,7 +1603,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1616,7 +1616,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.release.bsl index e7100b3fecc..4edf3503220 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.net472.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -810,7 +810,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1507,7 +1507,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1520,7 +1520,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.debug.bsl index 13910edf7cd..e7ba6986aa8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.debug.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -858,7 +858,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -871,7 +871,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1603,7 +1603,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1616,7 +1616,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.release.bsl index bbfa8356656..b82d28614a4 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SerializableAttribute/ToplevelNamespace60.fs.RealInternalSignatureOn.il.netcore.release.bsl @@ -113,7 +113,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -126,7 +126,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -810,7 +810,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -823,7 +823,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1507,7 +1507,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -1520,7 +1520,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class XYZ.ABC/ABC/Expr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOff.il.bsl index 4012f9953c7..5fc88eb3580 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOff.il.bsl @@ -77,7 +77,7 @@ IL_0005: pop IL_0006: ldstr "x = %A" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: call class [FSharp.Core]Microsoft.FSharp.Core.Unit assembly::get_x() IL_001a: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_001f: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOn.il.bsl index c797288cf63..85b3c2799bc 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/LetBinding01.fs.RealInternalSignatureOn.il.bsl @@ -71,7 +71,7 @@ IL_0000: nop IL_0001: ldstr "x = %A" IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) - IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0010: call class [FSharp.Core]Microsoft.FSharp.Core.Unit assembly::get_x() IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_001a: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.debug.bsl index ecca9f45bf7..c0b74cbef1c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.debug.bsl @@ -168,7 +168,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -181,7 +181,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.release.bsl index ecca9f45bf7..c0b74cbef1c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.net472.release.bsl @@ -168,7 +168,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -181,7 +181,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.debug.bsl index d1252e23f91..72132a8a637 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.debug.bsl @@ -169,7 +169,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -182,7 +182,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.release.bsl index a692a8e5a6e..9f6887cdff8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch06.fs.il.netcore.release.bsl @@ -169,7 +169,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -182,7 +182,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.debug.bsl index 9bd4d0ae249..a519fd29cba 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.debug.bsl @@ -168,7 +168,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -181,7 +181,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.release.bsl index 9bd4d0ae249..a519fd29cba 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.net472.release.bsl @@ -168,7 +168,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -181,7 +181,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.debug.bsl index 25d98ac7423..4ff5828eb5a 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.debug.bsl @@ -169,7 +169,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -182,7 +182,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.release.bsl index 9c124e3e23c..77e0df565f0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/SteppingMatch/SteppingMatch07.fs.il.netcore.release.bsl @@ -169,7 +169,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -182,7 +182,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Discr>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.debug.bsl index b43d7b05af3..9883ba29bd5 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.debug.bsl @@ -1175,7 +1175,7 @@ IL_0017: ldstr "Doubles: %-17s = %-17s is: %-5b Values %f = %f" IL_001c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0026: stloc.2 IL_0027: ldloc.2 IL_0028: newobj instance void floatsanddoubles/main@31::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1221,7 +1221,7 @@ IL_00a0: ldstr "" IL_00a5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00af: pop IL_00b0: ldloc.0 IL_00b1: ldc.i4.1 @@ -1243,7 +1243,7 @@ IL_00d0: ldstr "Floats: %-17s = %-17s is: %-5b Values %f = %f" IL_00d5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00df: stloc.s V_5 IL_00e1: ldloc.s V_5 IL_00e3: newobj instance void floatsanddoubles/'main@36-5'::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1289,7 +1289,7 @@ IL_0161: ldstr "" IL_0166: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0170: pop IL_0171: ldloc.3 IL_0172: ldc.i4.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.release.bsl index 904fec314fe..bd008358527 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_1.fs.il.release.bsl @@ -1109,7 +1109,7 @@ IL_0017: ldstr "Doubles: %-17s = %-17s is: %-5b Values %f = %f" IL_001c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0026: stloc.2 IL_0027: ldloc.2 IL_0028: newobj instance void floatsanddoubles/main@31::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1155,7 +1155,7 @@ IL_00a0: ldstr "" IL_00a5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00af: pop IL_00b0: ldloc.0 IL_00b1: ldc.i4.1 @@ -1177,7 +1177,7 @@ IL_00d0: ldstr "Floats: %-17s = %-17s is: %-5b Values %f = %f" IL_00d5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00df: stloc.s V_5 IL_00e1: ldloc.s V_5 IL_00e3: newobj instance void floatsanddoubles/'main@36-5'::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1223,7 +1223,7 @@ IL_0161: ldstr "" IL_0166: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0170: pop IL_0171: ldloc.3 IL_0172: ldc.i4.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.debug.bsl index 3f2161634eb..449e38b1d83 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.debug.bsl @@ -1181,7 +1181,7 @@ IL_0017: ldstr "Doubles: %-17s = %-17s is: %-5b Values %f = %f" IL_001c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0026: stloc.2 IL_0027: ldloc.2 IL_0028: newobj instance void floatsanddoubles/main@31::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1227,7 +1227,7 @@ IL_00a0: ldstr "" IL_00a5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00af: pop IL_00b0: ldloc.0 IL_00b1: ldc.i4.1 @@ -1249,7 +1249,7 @@ IL_00d0: ldstr "Floats: %-17s = %-17s is: %-5b Values %f = %f" IL_00d5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00df: stloc.s V_5 IL_00e1: ldloc.s V_5 IL_00e3: newobj instance void floatsanddoubles/'main@36-5'::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1295,7 +1295,7 @@ IL_0161: ldstr "" IL_0166: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0170: pop IL_0171: ldloc.3 IL_0172: ldc.i4.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.release.bsl index ef7f734e3c3..5409d91f605 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles_2.fs.il.release.bsl @@ -1115,7 +1115,7 @@ IL_0017: ldstr "Doubles: %-17s = %-17s is: %-5b Values %f = %f" IL_001c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0021: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0026: stloc.2 IL_0027: ldloc.2 IL_0028: newobj instance void floatsanddoubles/main@31::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1161,7 +1161,7 @@ IL_00a0: ldstr "" IL_00a5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00aa: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00af: pop IL_00b0: ldloc.0 IL_00b1: ldc.i4.1 @@ -1183,7 +1183,7 @@ IL_00d0: ldstr "Floats: %-17s = %-17s is: %-5b Values %f = %f" IL_00d5: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>>>>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`5>::.ctor(string) - IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_00da: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>>>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_00df: stloc.s V_5 IL_00e1: ldloc.s V_5 IL_00e3: newobj instance void floatsanddoubles/'main@36-5'::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>>>>) @@ -1229,7 +1229,7 @@ IL_0161: ldstr "" IL_0166: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_016b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0170: pop IL_0171: ldloc.3 IL_0172: ldc.i4.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TailCalls.fs b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TailCalls.fs index 034ab15f37a..5430e15f6de 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TailCalls.fs +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TailCalls.fs @@ -29,7 +29,7 @@ let run() = let x = 0 in foo(x,5) .maxstack 8 IL_0000: ldstr "%d" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: pop @@ -110,7 +110,7 @@ let run() = let mutable x = 0 in foo &x &x 5 .maxstack 8 IL_0000: ldstr "%d" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj [runtime]System.Int32 IL_0015: ldarg.1 @@ -159,7 +159,7 @@ let run() = let mutable x = 0 in foo(&x,5) .maxstack 8 IL_0000: ldstr "%d" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj [runtime]System.Int32 IL_0015: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) @@ -204,7 +204,7 @@ let run() = let mutable x = 0 in foo(&x,&x,5) .maxstack 8 IL_0000: ldstr "%d" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,int32>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: ldobj [runtime]System.Int32 IL_0015: ldarg.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction01.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction01.fs.il.bsl index 552582d9eb6..13048de9678 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction01.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction01.fs.il.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction02.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction02.fs.il.bsl index bf862d34890..b8b36b78f20 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction02.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction02.fs.il.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -70,11 +70,11 @@ IL_0005: stloc.0 IL_0006: ldstr "Hello" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: pop IL_0016: ldstr "World" IL_001b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0020: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0025: pop IL_0026: ret } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.net472.bsl index dd6e6ab1b40..519b697c070 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.net472.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -74,7 +74,7 @@ IL_0006: stloc.0 IL_0007: ldstr "Hello" IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0016: pop IL_0017: leave.s IL_0031 @@ -85,7 +85,7 @@ IL_001e: stloc.1 IL_001f: ldstr "World" IL_0024: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0029: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0029: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002e: pop IL_002f: leave.s IL_0031 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.netcore.bsl index dd6e6ab1b40..519b697c070 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03.fs.il.netcore.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -74,7 +74,7 @@ IL_0006: stloc.0 IL_0007: ldstr "Hello" IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0016: pop IL_0017: leave.s IL_0031 @@ -85,7 +85,7 @@ IL_001e: stloc.1 IL_001f: ldstr "World" IL_0024: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0029: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0029: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_002e: pop IL_002f: leave.s IL_0031 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03b.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03b.fs.il.bsl index 6b0f2cd2642..9d24532b254 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03b.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03b.fs.il.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -93,7 +93,7 @@ IL_0024: ldstr "World" IL_0029: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_002e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_002e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0033: pop IL_0034: leave.s IL_0041 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.net472.bsl index 0eeedf099d9..4e52826c8a6 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.net472.bsl @@ -54,11 +54,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -112,7 +112,7 @@ IL_0040: stloc.s V_5 IL_0042: ldstr "World" IL_0047: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_004c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0051: pop IL_0052: leave.s IL_005f diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.netcore.bsl index bad4d474c98..f5daa6066e8 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction03c.fs.il.netcore.bsl @@ -54,11 +54,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -112,7 +112,7 @@ IL_0040: stloc.s V_5 IL_0042: ldstr "World" IL_0047: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_004c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_004c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0051: pop IL_0052: leave.s IL_005f diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction04.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction04.fs.il.bsl index 6b23f145de1..2d0122aeb02 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction04.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction04.fs.il.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -73,7 +73,7 @@ IL_0006: stloc.0 IL_0007: ldstr "Hello" IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0016: pop IL_0017: leave.s IL_002b @@ -83,7 +83,7 @@ IL_0019: nop IL_001a: ldstr "World" IL_001f: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0024: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0029: pop IL_002a: endfinally } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction05.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction05.fs.il.bsl index 2eb2f910b1d..199f1c74bf9 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction05.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction05.fs.il.bsl @@ -49,11 +49,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 @@ -71,7 +71,7 @@ IL_0005: stloc.1 IL_0006: ldstr "Hello" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: pop IL_0016: ldloc.1 IL_0017: ldloc.1 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction06.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction06.fs.il.bsl index 50b0eb21ac2..8c161faf2d3 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction06.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction06.fs.il.bsl @@ -69,7 +69,7 @@ IL_0005: stloc.0 IL_0006: ldstr "Hello" IL_000b: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0010: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0015: pop IL_0016: ldloc.0 IL_0017: ldloc.0 @@ -95,11 +95,11 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "World" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: ldc.i4.3 IL_0021: ldc.i4.4 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOff.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOff.fs.il.bsl index 9f7484aa1f8..77a5ea95a54 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOff.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOff.fs.il.bsl @@ -94,7 +94,7 @@ IL_0015: ldstr "Is null" IL_001a: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001f: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0024: pop IL_0025: nop IL_0026: br.s IL_002a diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOn.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOn.fs.il.bsl index 56d60188bec..26f899b9892 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOn.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction09b4_RealInternalSignatureOn.fs.il.bsl @@ -88,7 +88,7 @@ IL_0010: ldstr "Is null" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: pop IL_0020: nop IL_0021: br.s IL_0025 diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.debug.bsl index 23648ff4039..6134d61fd3b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.debug.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.release.bsl index 5b839c54a31..23f04e3ab29 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.net472.release.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.debug.bsl index 32456c54432..24673adff78 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.debug.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.release.bsl index cc686bf790e..42412aabba0 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction16.fs.il.netcore.release.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.debug.bsl index 7ac3e544a40..71c7bbd9a08 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.debug.bsl @@ -107,7 +107,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/R>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.release.bsl index 0ac93212d8e..2b346b2666c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.net472.release.bsl @@ -107,7 +107,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/R>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.debug.bsl index a65cea31c60..115d226af80 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.debug.bsl @@ -107,7 +107,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/R>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.release.bsl index f73cfafb59f..6fed550d198 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction17.fs.il.netcore.release.bsl @@ -107,7 +107,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/R>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction19.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction19.fs.il.bsl index 026ef770b34..0f6cc73553b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction19.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction19.fs.il.bsl @@ -194,7 +194,7 @@ IL_000f: stloc.1 IL_0010: ldstr "c1 = %A, c2 = %A" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`2>::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: stloc.2 IL_0020: ldloc.2 IL_0021: newobj instance void assembly/assembly@11::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction20.fs.il.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction20.fs.il.bsl index f926ac566bb..a936d57336b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction20.fs.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction20.fs.il.bsl @@ -221,7 +221,7 @@ IL_000f: stloc.1 IL_0010: ldstr "d1 = %A, d2 = %A" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`2>::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: stloc.2 IL_0020: ldloc.2 IL_0021: newobj instance void assembly/assembly@14::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.debug.bsl index f625cff222d..aa738f6bd4c 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.debug.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -754,7 +754,7 @@ IL_000f: stloc.2 IL_0010: ldstr "a = %A, a = %A" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`2>::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: stloc.3 IL_0020: ldloc.3 IL_0021: newobj instance void assembly/assembly@7::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.release.bsl index 0888fad4182..2e6774ea743 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.net472.release.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -688,7 +688,7 @@ IL_000f: stloc.2 IL_0010: ldstr "a = %A, a = %A" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`2>::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: stloc.3 IL_0020: ldloc.3 IL_0021: newobj instance void assembly/assembly@7::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.debug.bsl index 115c16b843d..f6063aa68c7 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.debug.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -754,7 +754,7 @@ IL_000f: stloc.2 IL_0010: ldstr "a = %A, a = %A" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`2>::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: stloc.3 IL_0020: ldloc.3 IL_0021: newobj instance void assembly/assembly@7::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.release.bsl index 3bd40439b89..bb570f9c04b 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction21.fs.il.netcore.release.bsl @@ -141,7 +141,7 @@ .maxstack 8 IL_0000: ldstr "%+0.8A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,string>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -154,7 +154,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/U>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret @@ -688,7 +688,7 @@ IL_000f: stloc.2 IL_0010: ldstr "a = %A, a = %A" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.Tuple`2>::.ctor(string) - IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_001f: stloc.3 IL_0020: ldloc.3 IL_0021: newobj instance void assembly/assembly@7::.ctor(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.net472.bsl index 3f4c324d6dd..9814007d046 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.net472.bsl @@ -120,12 +120,12 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "Hello" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) IL_001a: tail. - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: ret } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.netcore.bsl index 9f1ef581c16..4c9828cdd3f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction23.fs.il.netcore.bsl @@ -121,12 +121,12 @@ .maxstack 8 IL_0000: ldstr "Hello" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: pop IL_0010: ldstr "Hello" IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5::.ctor(string) IL_001a: tail. - IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_001c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0021: ret } diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.debug.bsl index d7f985f6888..666b1b03946 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.debug.bsl @@ -131,7 +131,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Point>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.release.bsl index 2e425f74278..ee985918f2f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.net472.release.bsl @@ -131,7 +131,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Point>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.debug.bsl index 8de09a8c9d9..d50890aaa37 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.debug.bsl @@ -131,7 +131,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Point>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.release.bsl index 896ab224ac8..fa1726cb6df 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/TestFunction24.fs.il.netcore.release.bsl @@ -131,7 +131,7 @@ .maxstack 8 IL_0000: ldstr "%+A" IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit,string,string,class assembly/Point>::.ctor(string) - IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatToString>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_000f: ldarg.0 IL_0010: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) IL_0015: ret diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.debug.bsl index f6fd1e69d10..db070e0f521 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.debug.bsl @@ -376,7 +376,7 @@ IL_0033: stloc.1 IL_0034: ldstr "Match: %A" IL_0039: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_003e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0043: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_matchResult() IL_0048: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_004d: pop @@ -389,7 +389,7 @@ IL_0063: stloc.2 IL_0064: ldstr "Function: %A" IL_0069: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_006e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_006e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0073: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_functionResult() IL_0078: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_007d: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.release.bsl index f6fd1e69d10..db070e0f521 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOff.fs.il.release.bsl @@ -376,7 +376,7 @@ IL_0033: stloc.1 IL_0034: ldstr "Match: %A" IL_0039: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_003e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0043: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_matchResult() IL_0048: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_004d: pop @@ -389,7 +389,7 @@ IL_0063: stloc.2 IL_0064: ldstr "Function: %A" IL_0069: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_006e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_006e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0073: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_functionResult() IL_0078: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_007d: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.debug.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.debug.bsl index ffb2898dcf8..ed118ea3f30 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.debug.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.debug.bsl @@ -352,7 +352,7 @@ IL_002b: stsfld class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::matchResult@38 IL_0030: ldstr "Match: %A" IL_0035: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_003f: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_matchResult() IL_0044: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_0049: pop @@ -363,7 +363,7 @@ IL_0059: stsfld class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::functionResult@43 IL_005e: ldstr "Function: %A" IL_0063: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0068: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0068: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_006d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_functionResult() IL_0072: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_0077: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.release.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.release.bsl index ffb2898dcf8..ed118ea3f30 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.release.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/TestFunctions/Verify13043_RealInternalSignatureOn.fs.il.release.bsl @@ -352,7 +352,7 @@ IL_002b: stsfld class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::matchResult@38 IL_0030: ldstr "Match: %A" IL_0035: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_003a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_003f: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_matchResult() IL_0044: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_0049: pop @@ -363,7 +363,7 @@ IL_0059: stsfld class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::functionResult@43 IL_005e: ldstr "Function: %A" IL_0063: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [FSharp.Core]Microsoft.FSharp.Core.Unit>,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1>::.ctor(string) - IL_0068: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0068: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine,class [FSharp.Core]Microsoft.FSharp.Core.Unit>>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_006d: call class [FSharp.Core]Microsoft.FSharp.Collections.FSharpList`1 Verify13043::get_functionResult() IL_0072: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::Invoke(!0) IL_0077: pop diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.net472.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.net472.bsl index 64bd16e51fa..c390f6e7e27 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.net472.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.net472.bsl @@ -121,7 +121,7 @@ IL_0006: stloc.0 IL_0007: ldstr "%A" IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,!a>::.ctor(string) - IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0016: ldarg.1 IL_0017: tail. IL_0019: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.netcore.bsl b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.netcore.bsl index c2f459665ef..a539fe47e9f 100644 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.netcore.bsl +++ b/tests/FSharp.Compiler.ComponentTests/EmittedIL/Tuples/TupleElimination.fs.il.netcore.bsl @@ -126,7 +126,7 @@ IL_0006: stloc.0 IL_0007: ldstr "%A" IL_000c: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,!a>::.ctor(string) - IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) + IL_0011: call !!0 [FSharp.Core]Microsoft.FSharp.Core.PrintfExtensions::PrintFormatLine>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4) IL_0016: ldarg.1 IL_0017: tail. IL_0019: callvirt instance !1 class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2::Invoke(!0) diff --git a/tests/FSharp.Compiler.ComponentTests/ErrorMessages/SuggestionsTests.fs b/tests/FSharp.Compiler.ComponentTests/ErrorMessages/SuggestionsTests.fs index 76bf2d3e88c..f3baed0affd 100644 --- a/tests/FSharp.Compiler.ComponentTests/ErrorMessages/SuggestionsTests.fs +++ b/tests/FSharp.Compiler.ComponentTests/ErrorMessages/SuggestionsTests.fs @@ -134,7 +134,7 @@ open Collectons |> typecheck |> shouldFail |> withSingleDiagnostic (Error 39, Line 6, Col 6, Line 6, Col 16, - ("The namespace or module 'Collectons' is not defined. Maybe you want one of the following:" + Environment.NewLine + " Collections")) + ("The namespace or module 'Collectons' is not defined. Maybe you want one of the following:" + Environment.NewLine + " Collections" + Environment.NewLine + " CollectionExtensions")) [] let ``Suggest Namespaces`` () = diff --git a/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj b/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj index aa343573791..2718fad73c2 100644 --- a/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj +++ b/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj @@ -164,6 +164,7 @@ + diff --git a/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOff.il.bsl b/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOff.il.bsl index e96af9ece71..a96aa6772d3 100644 --- a/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOff.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOff.il.bsl @@ -509,7 +509,7 @@ IL_0006: ldc.i4.1 IL_0007: volatile. IL_0009: stsfld int32 assembly/Foo::init@4 - IL_000e: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_000e: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0013: ldsfld class assembly/todo1@18 assembly/todo1@18::@_instance IL_0018: callvirt instance class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1 [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder::Delay>(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) IL_001d: stsfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1> ''.$assembly$fsx::todo1@16 @@ -534,7 +534,7 @@ IL_004e: ldsflda valuetype [FSharp.Core]Microsoft.FSharp.Core.FSharpResult`2 ''.$assembly$fsx::matchValue@25 IL_0053: call instance !1 valuetype [FSharp.Core]Microsoft.FSharp.Core.FSharpResult`2::get_ErrorValue() IL_0058: call void [runtime]System.Environment::Exit(int32) - IL_005d: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_005d: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0062: ldsfld class assembly/todo2@37 assembly/todo2@37::@_instance IL_0067: callvirt instance class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1 [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder::Delay>(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) IL_006c: stsfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1> ''.$assembly$fsx::todo2@35 diff --git a/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOn.il.bsl b/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOn.il.bsl index 50c58d1a2b2..4cb7ca7bb8c 100644 --- a/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOn.il.bsl +++ b/tests/FSharp.Compiler.ComponentTests/TypeChecks/Shadowing/ShadowWithLastOpenedTypeExtensions.fsx.realInternalSignatureOn.il.bsl @@ -483,7 +483,7 @@ .maxstack 5 IL_0000: call void assembly/Foo::staticInitialization@() - IL_0005: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0005: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_000a: ldsfld class assembly/todo1@18 assembly/todo1@18::@_instance IL_000f: callvirt instance class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1 [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder::Delay>(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) IL_0014: stsfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1> assembly::todo1@16 @@ -508,7 +508,7 @@ IL_0045: ldsflda valuetype [FSharp.Core]Microsoft.FSharp.Core.FSharpResult`2 assembly::matchValue@25 IL_004a: call instance !1 valuetype [FSharp.Core]Microsoft.FSharp.Core.FSharpResult`2::get_ErrorValue() IL_004f: call void [runtime]System.Environment::Exit(int32) - IL_0054: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::get_DefaultAsyncBuilder() + IL_0054: call class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder [FSharp.Core]Microsoft.FSharp.Control.CommonExtensions::get_DefaultAsyncBuilder() IL_0059: ldsfld class assembly/todo2@37 assembly/todo2@37::@_instance IL_005e: callvirt instance class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1 [FSharp.Core]Microsoft.FSharp.Control.FSharpAsyncBuilder::Delay>(class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2>) IL_0063: stsfld class [FSharp.Core]Microsoft.FSharp.Control.FSharpAsync`1> assembly::todo2@35 diff --git a/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl b/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl index 63a16671bca..fad3577937d 100644 --- a/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl +++ b/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl @@ -2164,7 +2164,7 @@ FSharp.Compiler.CodeAnalysis.FSharpParseFileResults: System.String get_FileName( FSharp.Compiler.CodeAnalysis.FSharpParseFileResults: System.String[] DependencyFiles FSharp.Compiler.CodeAnalysis.FSharpParseFileResults: System.String[] get_DependencyFiles() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean ApplyLineDirectives -FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean CompilingFSharpCore +FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean compilingCoreLibrary FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(FSharp.Compiler.CodeAnalysis.FSharpParsingOptions) FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(FSharp.Compiler.CodeAnalysis.FSharpParsingOptions, System.Collections.IEqualityComparer) FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(System.Object) @@ -2172,7 +2172,7 @@ FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(System.Object, FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean IsExe FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean IsInteractive FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_ApplyLineDirectives() -FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_CompilingFSharpCore() +FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_compilingCoreLibrary() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_IsExe() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_IsInteractive() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: FSharp.Compiler.CodeAnalysis.FSharpParsingOptions Default @@ -10790,7 +10790,7 @@ FSharp.Compiler.Tokenization.FSharpKeywords: Microsoft.FSharp.Collections.FSharp FSharp.Compiler.Tokenization.FSharpKeywords: System.String NormalizeIdentifierBackticks(System.String) FSharp.Compiler.Tokenization.FSharpLexer: Void Tokenize(FSharp.Compiler.Text.ISourceText, Microsoft.FSharp.Core.FSharpFunc`2[FSharp.Compiler.Tokenization.FSharpToken,Microsoft.FSharp.Core.Unit], Microsoft.FSharp.Core.FSharpOption`1[System.String], Microsoft.FSharp.Core.FSharpOption`1[System.Boolean], Microsoft.FSharp.Core.FSharpOption`1[System.String], Microsoft.FSharp.Core.FSharpOption`1[Microsoft.FSharp.Collections.FSharpList`1[System.String]], Microsoft.FSharp.Core.FSharpOption`1[FSharp.Compiler.Tokenization.FSharpLexerFlags], Microsoft.FSharp.Core.FSharpOption`1[Microsoft.FSharp.Collections.FSharpMap`2[System.String,System.String]], Microsoft.FSharp.Core.FSharpOption`1[System.Threading.CancellationToken]) FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags Compiling -FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags CompilingFSharpCore +FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags compilingCoreLibrary FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags Default FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags LightSyntaxOn FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags SkipTrivia diff --git a/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.release.bsl b/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.release.bsl index e8647e3f6ba..fead844a730 100644 --- a/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.release.bsl +++ b/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.SurfaceArea.netstandard20.release.bsl @@ -2164,7 +2164,7 @@ FSharp.Compiler.CodeAnalysis.FSharpParseFileResults: System.String get_FileName( FSharp.Compiler.CodeAnalysis.FSharpParseFileResults: System.String[] DependencyFiles FSharp.Compiler.CodeAnalysis.FSharpParseFileResults: System.String[] get_DependencyFiles() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean ApplyLineDirectives -FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean CompilingFSharpCore +FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean compilingCoreLibrary FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(FSharp.Compiler.CodeAnalysis.FSharpParsingOptions) FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(FSharp.Compiler.CodeAnalysis.FSharpParsingOptions, System.Collections.IEqualityComparer) FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(System.Object) @@ -2172,7 +2172,7 @@ FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean Equals(System.Object, FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean IsExe FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean IsInteractive FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_ApplyLineDirectives() -FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_CompilingFSharpCore() +FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_compilingCoreLibrary() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_IsExe() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: Boolean get_IsInteractive() FSharp.Compiler.CodeAnalysis.FSharpParsingOptions: FSharp.Compiler.CodeAnalysis.FSharpParsingOptions Default @@ -10852,7 +10852,7 @@ FSharp.Compiler.Tokenization.FSharpKeywords: Microsoft.FSharp.Collections.FSharp FSharp.Compiler.Tokenization.FSharpKeywords: System.String NormalizeIdentifierBackticks(System.String) FSharp.Compiler.Tokenization.FSharpLexer: Void Tokenize(FSharp.Compiler.Text.ISourceText, Microsoft.FSharp.Core.FSharpFunc`2[FSharp.Compiler.Tokenization.FSharpToken,Microsoft.FSharp.Core.Unit], Microsoft.FSharp.Core.FSharpOption`1[System.String], Microsoft.FSharp.Core.FSharpOption`1[System.Boolean], Microsoft.FSharp.Core.FSharpOption`1[System.String], Microsoft.FSharp.Core.FSharpOption`1[Microsoft.FSharp.Collections.FSharpList`1[System.String]], Microsoft.FSharp.Core.FSharpOption`1[FSharp.Compiler.Tokenization.FSharpLexerFlags], Microsoft.FSharp.Core.FSharpOption`1[Microsoft.FSharp.Collections.FSharpMap`2[System.String,System.String]], Microsoft.FSharp.Core.FSharpOption`1[System.Threading.CancellationToken]) FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags Compiling -FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags CompilingFSharpCore +FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags compilingCoreLibrary FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags Default FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags LightSyntaxOn FSharp.Compiler.Tokenization.FSharpLexerFlags: FSharp.Compiler.Tokenization.FSharpLexerFlags SkipTrivia diff --git a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.debug.bsl b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.debug.bsl index def2dea16c8..80e768f1187 100644 --- a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.debug.bsl +++ b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.debug.bsl @@ -126,6 +126,9 @@ Microsoft.FSharp.Collections.ArrayModule: T MaxBy[T,TResult](Microsoft.FSharp.Co Microsoft.FSharp.Collections.ArrayModule: T Max[T](T[]) Microsoft.FSharp.Collections.ArrayModule: T MinBy[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], T[]) Microsoft.FSharp.Collections.ArrayModule: T Min[T](T[]) +Microsoft.FSharp.Collections.ArrayModule: T RandomChoiceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], T[]) +Microsoft.FSharp.Collections.ArrayModule: T RandomChoiceWith[T](System.Random, T[]) +Microsoft.FSharp.Collections.ArrayModule: T RandomChoice[T](T[]) Microsoft.FSharp.Collections.ArrayModule: T ReduceBack[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T[]) Microsoft.FSharp.Collections.ArrayModule: T Reduce[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T[]) Microsoft.FSharp.Collections.ArrayModule: T Sum$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T[]) @@ -164,6 +167,15 @@ Microsoft.FSharp.Collections.ArrayModule: T[] InsertManyAt[T](Int32, System.Coll Microsoft.FSharp.Collections.ArrayModule: T[] OfList[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ArrayModule: T[] OfSeq[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.ArrayModule: T[] Permute[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Int32], T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomChoicesBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomChoicesWith[T](System.Random, Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomChoices[T](Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomSampleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomSampleWith[T](System.Random, Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomSample[T](Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomShuffleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomShuffleWith[T](System.Random, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomShuffle[T](T[]) Microsoft.FSharp.Collections.ArrayModule: T[] RemoveAt[T](Int32, T[]) Microsoft.FSharp.Collections.ArrayModule: T[] RemoveManyAt[T](Int32, Int32, T[]) Microsoft.FSharp.Collections.ArrayModule: T[] Replicate[T](Int32, T) @@ -194,10 +206,17 @@ Microsoft.FSharp.Collections.ArrayModule: Void Iterate2[T1,T2](Microsoft.FSharp. Microsoft.FSharp.Collections.ArrayModule: Void IterateIndexed2[T1,T2](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[T1,Microsoft.FSharp.Core.FSharpFunc`2[T2,Microsoft.FSharp.Core.Unit]]], T1[], T2[]) Microsoft.FSharp.Collections.ArrayModule: Void IterateIndexed[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit]], T[]) Microsoft.FSharp.Collections.ArrayModule: Void Iterate[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit], T[]) +Microsoft.FSharp.Collections.ArrayModule: Void RandomShuffleInPlaceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], T[]) +Microsoft.FSharp.Collections.ArrayModule: Void RandomShuffleInPlaceWith[T](System.Random, T[]) +Microsoft.FSharp.Collections.ArrayModule: Void RandomShuffleInPlace[T](T[]) Microsoft.FSharp.Collections.ArrayModule: Void Set[T](T[], Int32, T) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceBy[T,TKey](Microsoft.FSharp.Core.FSharpFunc`2[T,TKey], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceWith[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlace[T](T[]) +Microsoft.FSharp.Collections.CollectionExtensions: Microsoft.FSharp.Collections.FSharpSet`1[T] CreateSet[T](System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IDictionary`2[TKey,TValue] CreateDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] CreateReadOnlyDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: T[,] CreateArray2D[a,T](System.Collections.Generic.IEnumerable`1[a]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] FromFunction[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural[T]() @@ -329,6 +348,15 @@ Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] OfArray[T](T[]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] OfSeq[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] Permute[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Int32], Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomChoicesBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomChoicesWith[T](System.Random, Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomChoices[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomSampleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomSampleWith[T](System.Random, Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomSample[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomShuffleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomShuffleWith[T](System.Random, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomShuffle[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RemoveAt[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RemoveManyAt[T](Int32, Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] Replicate[T](Int32, T) @@ -377,6 +405,9 @@ Microsoft.FSharp.Collections.ListModule: T MaxBy[T,TResult](Microsoft.FSharp.Cor Microsoft.FSharp.Collections.ListModule: T Max[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T MinBy[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T Min[T](Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: T RandomChoiceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: T RandomChoiceWith[T](System.Random, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: T RandomChoice[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T ReduceBack[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T Reduce[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T Sum$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], Microsoft.FSharp.Collections.FSharpList`1[T]) @@ -483,6 +514,15 @@ Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1 Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] OfArray[T](T[]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] OfList[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Permute[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Int32], System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomChoicesBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomChoicesWith[T](System.Random, Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomChoices[T](Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomSampleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomSampleWith[T](System.Random, Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomSample[T](Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomShuffleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomShuffleWith[T](System.Random, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomShuffle[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] ReadOnly[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RemoveAt[T](Int32, System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RemoveManyAt[T](Int32, Int32, System.Collections.Generic.IEnumerable`1[T]) @@ -518,6 +558,9 @@ Microsoft.FSharp.Collections.SeqModule: T MaxBy[T,TResult](Microsoft.FSharp.Core Microsoft.FSharp.Collections.SeqModule: T Max[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T MinBy[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T Min[T](System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: T RandomChoiceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: T RandomChoiceWith[T](System.Random, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: T RandomChoice[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T ReduceBack[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T Reduce[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T Sum$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], System.Collections.Generic.IEnumerable`1[T]) @@ -582,6 +625,8 @@ Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.AsyncReturn T Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.FSharpAsync`1[T] MakeAsync[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Control.AsyncActivation`1[T],Microsoft.FSharp.Control.AsyncReturn]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] RunDynamic[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] Run[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder DefaultAsyncBuilder +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder get_DefaultAsyncBuilder() Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[Microsoft.FSharp.Core.Unit] AsyncWrite(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Byte[]] AsyncReadBytes(System.IO.Stream, Int32) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Int32] AsyncRead(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) @@ -692,6 +737,7 @@ Microsoft.FSharp.Control.IDelegateEvent`1[TDelegate]: Void RemoveHandler(TDelega Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] CreateFromValue[T](T) Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] Create[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T]) Microsoft.FSharp.Control.LazyExtensions: T Force[T](System.Lazy`1[T]) +Microsoft.FSharp.Control.LazyExtensions: T LazyPattern[T](System.Lazy`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IDisposable Subscribe[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit], System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[System.Tuple`2[T,T]] Pairwise[T](System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[TResult] Choose[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpOption`1[TResult]], System.IObservable`1[T]) @@ -1591,6 +1637,8 @@ Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 [,]`1.GetReverseIndex[T]( Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 []`1.GetReverseIndex[T](T[], Int32, Int32) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar[T](T) Microsoft.FSharp.Core.Operators+Checked: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1603,6 +1651,8 @@ Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64$W[T](Microsoft.FSharp.Cor Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64[T](T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.IntPtr], T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr[T](T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators+Checked: T op_UnaryNegation$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,T], T) @@ -1758,12 +1808,16 @@ Microsoft.FSharp.Core.Operators: Boolean op_LessThanOrEqual[T](T, T) Microsoft.FSharp.Core.Operators: Boolean op_LessThan[T](T, T) Microsoft.FSharp.Core.Operators: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators: Char ToChar[T](T) Microsoft.FSharp.Core.Operators: Double Infinity Microsoft.FSharp.Core.Operators: Double NaN Microsoft.FSharp.Core.Operators: Double ToDouble$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) Microsoft.FSharp.Core.Operators: Double ToDouble[T](T) +Microsoft.FSharp.Core.Operators: Double double$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) +Microsoft.FSharp.Core.Operators: Double double[T](T) Microsoft.FSharp.Core.Operators: Double get_Infinity() Microsoft.FSharp.Core.Operators: Double get_NaN() Microsoft.FSharp.Core.Operators: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1793,6 +1847,8 @@ Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Checked Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+NonStructuralComparison Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+OperatorIntrinsics Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Unchecked +Microsoft.FSharp.Core.Operators: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators: Single InfinitySingle @@ -1801,6 +1857,8 @@ Microsoft.FSharp.Core.Operators: Single ToSingle$W[T](Microsoft.FSharp.Core.FSha Microsoft.FSharp.Core.Operators: Single ToSingle[T](T) Microsoft.FSharp.Core.Operators: Single get_InfinitySingle() Microsoft.FSharp.Core.Operators: Single get_NaNSingle() +Microsoft.FSharp.Core.Operators: Single single$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Single], T) +Microsoft.FSharp.Core.Operators: Single single[T](T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] CreateSequence[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_Range$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T, T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_RangeStep$W[T,TStep](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,TStep], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TStep,T]], T, TStep, T) diff --git a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.release.bsl b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.release.bsl index e1864618be6..c978b0b0fad 100644 --- a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.release.bsl +++ b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard20.release.bsl @@ -213,6 +213,10 @@ Microsoft.FSharp.Collections.ArrayModule: Void Set[T](T[], Int32, T) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceBy[T,TKey](Microsoft.FSharp.Core.FSharpFunc`2[T,TKey], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceWith[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlace[T](T[]) +Microsoft.FSharp.Collections.CollectionExtensions: Microsoft.FSharp.Collections.FSharpSet`1[T] CreateSet[T](System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IDictionary`2[TKey,TValue] CreateDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] CreateReadOnlyDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: T[,] CreateArray2D[a,T](System.Collections.Generic.IEnumerable`1[a]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] FromFunction[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural[T]() @@ -621,6 +625,8 @@ Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.AsyncReturn T Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.FSharpAsync`1[T] MakeAsync[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Control.AsyncActivation`1[T],Microsoft.FSharp.Control.AsyncReturn]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] RunDynamic[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] Run[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder DefaultAsyncBuilder +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder get_DefaultAsyncBuilder() Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[Microsoft.FSharp.Core.Unit] AsyncWrite(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Byte[]] AsyncReadBytes(System.IO.Stream, Int32) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Int32] AsyncRead(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) @@ -731,6 +737,7 @@ Microsoft.FSharp.Control.IDelegateEvent`1[TDelegate]: Void RemoveHandler(TDelega Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] CreateFromValue[T](T) Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] Create[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T]) Microsoft.FSharp.Control.LazyExtensions: T Force[T](System.Lazy`1[T]) +Microsoft.FSharp.Control.LazyExtensions: T LazyPattern[T](System.Lazy`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IDisposable Subscribe[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit], System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[System.Tuple`2[T,T]] Pairwise[T](System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[TResult] Choose[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpOption`1[TResult]], System.IObservable`1[T]) @@ -1630,6 +1637,8 @@ Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 [,]`1.GetReverseIndex[T]( Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 []`1.GetReverseIndex[T](T[], Int32, Int32) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar[T](T) Microsoft.FSharp.Core.Operators+Checked: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1642,6 +1651,8 @@ Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64$W[T](Microsoft.FSharp.Cor Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64[T](T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.IntPtr], T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr[T](T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators+Checked: T op_UnaryNegation$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,T], T) @@ -1797,12 +1808,16 @@ Microsoft.FSharp.Core.Operators: Boolean op_LessThanOrEqual[T](T, T) Microsoft.FSharp.Core.Operators: Boolean op_LessThan[T](T, T) Microsoft.FSharp.Core.Operators: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators: Char ToChar[T](T) Microsoft.FSharp.Core.Operators: Double Infinity Microsoft.FSharp.Core.Operators: Double NaN Microsoft.FSharp.Core.Operators: Double ToDouble$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) Microsoft.FSharp.Core.Operators: Double ToDouble[T](T) +Microsoft.FSharp.Core.Operators: Double double$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) +Microsoft.FSharp.Core.Operators: Double double[T](T) Microsoft.FSharp.Core.Operators: Double get_Infinity() Microsoft.FSharp.Core.Operators: Double get_NaN() Microsoft.FSharp.Core.Operators: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1832,6 +1847,8 @@ Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Checked Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+NonStructuralComparison Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+OperatorIntrinsics Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Unchecked +Microsoft.FSharp.Core.Operators: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators: Single InfinitySingle @@ -1840,6 +1857,8 @@ Microsoft.FSharp.Core.Operators: Single ToSingle$W[T](Microsoft.FSharp.Core.FSha Microsoft.FSharp.Core.Operators: Single ToSingle[T](T) Microsoft.FSharp.Core.Operators: Single get_InfinitySingle() Microsoft.FSharp.Core.Operators: Single get_NaNSingle() +Microsoft.FSharp.Core.Operators: Single single$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Single], T) +Microsoft.FSharp.Core.Operators: Single single[T](T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] CreateSequence[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_Range$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T, T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_RangeStep$W[T,TStep](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,TStep], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TStep,T]], T, TStep, T) diff --git a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.debug.bsl b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.debug.bsl index 5fa4760b53e..80e768f1187 100644 --- a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.debug.bsl +++ b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.debug.bsl @@ -126,6 +126,9 @@ Microsoft.FSharp.Collections.ArrayModule: T MaxBy[T,TResult](Microsoft.FSharp.Co Microsoft.FSharp.Collections.ArrayModule: T Max[T](T[]) Microsoft.FSharp.Collections.ArrayModule: T MinBy[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], T[]) Microsoft.FSharp.Collections.ArrayModule: T Min[T](T[]) +Microsoft.FSharp.Collections.ArrayModule: T RandomChoiceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], T[]) +Microsoft.FSharp.Collections.ArrayModule: T RandomChoiceWith[T](System.Random, T[]) +Microsoft.FSharp.Collections.ArrayModule: T RandomChoice[T](T[]) Microsoft.FSharp.Collections.ArrayModule: T ReduceBack[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T[]) Microsoft.FSharp.Collections.ArrayModule: T Reduce[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T[]) Microsoft.FSharp.Collections.ArrayModule: T Sum$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T[]) @@ -164,6 +167,15 @@ Microsoft.FSharp.Collections.ArrayModule: T[] InsertManyAt[T](Int32, System.Coll Microsoft.FSharp.Collections.ArrayModule: T[] OfList[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ArrayModule: T[] OfSeq[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.ArrayModule: T[] Permute[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Int32], T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomChoicesBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomChoicesWith[T](System.Random, Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomChoices[T](Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomSampleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomSampleWith[T](System.Random, Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomSample[T](Int32, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomShuffleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomShuffleWith[T](System.Random, T[]) +Microsoft.FSharp.Collections.ArrayModule: T[] RandomShuffle[T](T[]) Microsoft.FSharp.Collections.ArrayModule: T[] RemoveAt[T](Int32, T[]) Microsoft.FSharp.Collections.ArrayModule: T[] RemoveManyAt[T](Int32, Int32, T[]) Microsoft.FSharp.Collections.ArrayModule: T[] Replicate[T](Int32, T) @@ -194,10 +206,17 @@ Microsoft.FSharp.Collections.ArrayModule: Void Iterate2[T1,T2](Microsoft.FSharp. Microsoft.FSharp.Collections.ArrayModule: Void IterateIndexed2[T1,T2](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[T1,Microsoft.FSharp.Core.FSharpFunc`2[T2,Microsoft.FSharp.Core.Unit]]], T1[], T2[]) Microsoft.FSharp.Collections.ArrayModule: Void IterateIndexed[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit]], T[]) Microsoft.FSharp.Collections.ArrayModule: Void Iterate[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit], T[]) +Microsoft.FSharp.Collections.ArrayModule: Void RandomShuffleInPlaceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], T[]) +Microsoft.FSharp.Collections.ArrayModule: Void RandomShuffleInPlaceWith[T](System.Random, T[]) +Microsoft.FSharp.Collections.ArrayModule: Void RandomShuffleInPlace[T](T[]) Microsoft.FSharp.Collections.ArrayModule: Void Set[T](T[], Int32, T) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceBy[T,TKey](Microsoft.FSharp.Core.FSharpFunc`2[T,TKey], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceWith[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlace[T](T[]) +Microsoft.FSharp.Collections.CollectionExtensions: Microsoft.FSharp.Collections.FSharpSet`1[T] CreateSet[T](System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IDictionary`2[TKey,TValue] CreateDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] CreateReadOnlyDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: T[,] CreateArray2D[a,T](System.Collections.Generic.IEnumerable`1[a]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] FromFunction[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural[T]() @@ -329,6 +348,15 @@ Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] OfArray[T](T[]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] OfSeq[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] Permute[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Int32], Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomChoicesBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomChoicesWith[T](System.Random, Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomChoices[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomSampleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomSampleWith[T](System.Random, Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomSample[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomShuffleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomShuffleWith[T](System.Random, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RandomShuffle[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RemoveAt[T](Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] RemoveManyAt[T](Int32, Int32, Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: Microsoft.FSharp.Collections.FSharpList`1[T] Replicate[T](Int32, T) @@ -377,6 +405,9 @@ Microsoft.FSharp.Collections.ListModule: T MaxBy[T,TResult](Microsoft.FSharp.Cor Microsoft.FSharp.Collections.ListModule: T Max[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T MinBy[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T Min[T](Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: T RandomChoiceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: T RandomChoiceWith[T](System.Random, Microsoft.FSharp.Collections.FSharpList`1[T]) +Microsoft.FSharp.Collections.ListModule: T RandomChoice[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T ReduceBack[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T Reduce[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.ListModule: T Sum$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], Microsoft.FSharp.Collections.FSharpList`1[T]) @@ -483,6 +514,15 @@ Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1 Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] OfArray[T](T[]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] OfList[T](Microsoft.FSharp.Collections.FSharpList`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] Permute[T](Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Int32], System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomChoicesBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomChoicesWith[T](System.Random, Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomChoices[T](Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomSampleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomSampleWith[T](System.Random, Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomSample[T](Int32, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomShuffleBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomShuffleWith[T](System.Random, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RandomShuffle[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] ReadOnly[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RemoveAt[T](Int32, System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: System.Collections.Generic.IEnumerable`1[T] RemoveManyAt[T](Int32, Int32, System.Collections.Generic.IEnumerable`1[T]) @@ -518,6 +558,9 @@ Microsoft.FSharp.Collections.SeqModule: T MaxBy[T,TResult](Microsoft.FSharp.Core Microsoft.FSharp.Collections.SeqModule: T Max[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T MinBy[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,TResult], System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T Min[T](System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: T RandomChoiceBy[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,System.Double], System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: T RandomChoiceWith[T](System.Random, System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.SeqModule: T RandomChoice[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T ReduceBack[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T Reduce[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Collections.SeqModule: T Sum$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], System.Collections.Generic.IEnumerable`1[T]) @@ -582,6 +625,8 @@ Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.AsyncReturn T Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.FSharpAsync`1[T] MakeAsync[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Control.AsyncActivation`1[T],Microsoft.FSharp.Control.AsyncReturn]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] RunDynamic[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] Run[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder DefaultAsyncBuilder +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder get_DefaultAsyncBuilder() Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[Microsoft.FSharp.Core.Unit] AsyncWrite(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Byte[]] AsyncReadBytes(System.IO.Stream, Int32) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Int32] AsyncRead(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) @@ -692,6 +737,7 @@ Microsoft.FSharp.Control.IDelegateEvent`1[TDelegate]: Void RemoveHandler(TDelega Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] CreateFromValue[T](T) Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] Create[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T]) Microsoft.FSharp.Control.LazyExtensions: T Force[T](System.Lazy`1[T]) +Microsoft.FSharp.Control.LazyExtensions: T LazyPattern[T](System.Lazy`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IDisposable Subscribe[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit], System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[System.Tuple`2[T,T]] Pairwise[T](System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[TResult] Choose[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpOption`1[TResult]], System.IObservable`1[T]) @@ -711,7 +757,6 @@ Microsoft.FSharp.Control.TaskBuilderBase: Microsoft.FSharp.Core.CompilerServices Microsoft.FSharp.Control.TaskBuilderBase: Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T] Delay[TOverall,T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T]]) Microsoft.FSharp.Control.TaskBuilderBase: Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T] TryFinally[TOverall,T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T], Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit]) Microsoft.FSharp.Control.TaskBuilderBase: Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T] TryWith[TOverall,T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T], Microsoft.FSharp.Core.FSharpFunc`2[System.Exception,Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T]]) -Microsoft.FSharp.Control.TaskBuilderBase: Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T] Using[TResource,TOverall,T](TResource, Microsoft.FSharp.Core.FSharpFunc`2[TResource,Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],T]]) Microsoft.FSharp.Control.TaskBuilderBase: Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T] Return[T](T) Microsoft.FSharp.Control.TaskBuilderExtensions.HighPriority: Boolean TaskBuilderBase.BindDynamic.Static[TOverall,TResult1,TResult2](Microsoft.FSharp.Core.CompilerServices.ResumableStateMachine`1[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall]] ByRef, System.Threading.Tasks.Task`1[TResult1], Microsoft.FSharp.Core.FSharpFunc`2[TResult1,Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],TResult2]]) Microsoft.FSharp.Control.TaskBuilderExtensions.HighPriority: Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],TResult2] TaskBuilderBase.Bind[TResult1,TOverall,TResult2](Microsoft.FSharp.Control.TaskBuilderBase, System.Threading.Tasks.Task`1[TResult1], Microsoft.FSharp.Core.FSharpFunc`2[TResult1,Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[TOverall],TResult2]]) @@ -1592,6 +1637,8 @@ Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 [,]`1.GetReverseIndex[T]( Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 []`1.GetReverseIndex[T](T[], Int32, Int32) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar[T](T) Microsoft.FSharp.Core.Operators+Checked: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1604,6 +1651,8 @@ Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64$W[T](Microsoft.FSharp.Cor Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64[T](T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.IntPtr], T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr[T](T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators+Checked: T op_UnaryNegation$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,T], T) @@ -1759,12 +1808,16 @@ Microsoft.FSharp.Core.Operators: Boolean op_LessThanOrEqual[T](T, T) Microsoft.FSharp.Core.Operators: Boolean op_LessThan[T](T, T) Microsoft.FSharp.Core.Operators: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators: Char ToChar[T](T) Microsoft.FSharp.Core.Operators: Double Infinity Microsoft.FSharp.Core.Operators: Double NaN Microsoft.FSharp.Core.Operators: Double ToDouble$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) Microsoft.FSharp.Core.Operators: Double ToDouble[T](T) +Microsoft.FSharp.Core.Operators: Double double$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) +Microsoft.FSharp.Core.Operators: Double double[T](T) Microsoft.FSharp.Core.Operators: Double get_Infinity() Microsoft.FSharp.Core.Operators: Double get_NaN() Microsoft.FSharp.Core.Operators: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1794,6 +1847,8 @@ Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Checked Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+NonStructuralComparison Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+OperatorIntrinsics Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Unchecked +Microsoft.FSharp.Core.Operators: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators: Single InfinitySingle @@ -1802,6 +1857,8 @@ Microsoft.FSharp.Core.Operators: Single ToSingle$W[T](Microsoft.FSharp.Core.FSha Microsoft.FSharp.Core.Operators: Single ToSingle[T](T) Microsoft.FSharp.Core.Operators: Single get_InfinitySingle() Microsoft.FSharp.Core.Operators: Single get_NaNSingle() +Microsoft.FSharp.Core.Operators: Single single$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Single], T) +Microsoft.FSharp.Core.Operators: Single single[T](T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] CreateSequence[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_Range$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T, T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_RangeStep$W[T,TStep](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,TStep], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TStep,T]], T, TStep, T) diff --git a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.release.bsl b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.release.bsl index 92d85ccd98d..16708eaa46f 100644 --- a/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.release.bsl +++ b/tests/FSharp.Core.UnitTests/FSharp.Core.SurfaceArea.netstandard21.release.bsl @@ -213,6 +213,10 @@ Microsoft.FSharp.Collections.ArrayModule: Void Set[T](T[], Int32, T) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceBy[T,TKey](Microsoft.FSharp.Core.FSharpFunc`2[T,TKey], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlaceWith[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]], T[]) Microsoft.FSharp.Collections.ArrayModule: Void SortInPlace[T](T[]) +Microsoft.FSharp.Collections.CollectionExtensions: Microsoft.FSharp.Collections.FSharpSet`1[T] CreateSet[T](System.Collections.Generic.IEnumerable`1[T]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IDictionary`2[TKey,TValue] CreateDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] CreateReadOnlyDictionary[TKey,TValue](System.Collections.Generic.IEnumerable`1[System.Tuple`2[TKey,TValue]]) +Microsoft.FSharp.Collections.CollectionExtensions: T[,] CreateArray2D[a,T](System.Collections.Generic.IEnumerable`1[a]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] FromFunction[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int32]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,System.Boolean]]) Microsoft.FSharp.Collections.ComparisonIdentity: System.Collections.Generic.IComparer`1[T] NonStructural[T]() @@ -621,6 +625,8 @@ Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.AsyncReturn T Microsoft.FSharp.Control.AsyncPrimitives: Microsoft.FSharp.Control.FSharpAsync`1[T] MakeAsync[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Control.AsyncActivation`1[T],Microsoft.FSharp.Control.AsyncReturn]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] RunDynamic[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) Microsoft.FSharp.Control.BackgroundTaskBuilder: System.Threading.Tasks.Task`1[T] Run[T](Microsoft.FSharp.Core.CompilerServices.ResumableCode`2[Microsoft.FSharp.Control.TaskStateMachineData`1[T],T]) +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder DefaultAsyncBuilder +Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsyncBuilder get_DefaultAsyncBuilder() Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[Microsoft.FSharp.Core.Unit] AsyncWrite(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Byte[]] AsyncReadBytes(System.IO.Stream, Int32) Microsoft.FSharp.Control.CommonExtensions: Microsoft.FSharp.Control.FSharpAsync`1[System.Int32] AsyncRead(System.IO.Stream, Byte[], Microsoft.FSharp.Core.FSharpOption`1[System.Int32], Microsoft.FSharp.Core.FSharpOption`1[System.Int32]) @@ -731,6 +737,7 @@ Microsoft.FSharp.Control.IDelegateEvent`1[TDelegate]: Void RemoveHandler(TDelega Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] CreateFromValue[T](T) Microsoft.FSharp.Control.LazyExtensions: System.Lazy`1[T] Create[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T]) Microsoft.FSharp.Control.LazyExtensions: T Force[T](System.Lazy`1[T]) +Microsoft.FSharp.Control.LazyExtensions: T LazyPattern[T](System.Lazy`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IDisposable Subscribe[T](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.Unit], System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[System.Tuple`2[T,T]] Pairwise[T](System.IObservable`1[T]) Microsoft.FSharp.Control.ObservableModule: System.IObservable`1[TResult] Choose[T,TResult](Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpOption`1[TResult]], System.IObservable`1[T]) @@ -1631,6 +1638,8 @@ Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 [,]`1.GetReverseIndex[T]( Microsoft.FSharp.Core.Operators+ArrayExtensions: Int32 []`1.GetReverseIndex[T](T[], Int32, Int32) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators+Checked: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators+Checked: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators+Checked: Char ToChar[T](T) Microsoft.FSharp.Core.Operators+Checked: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1643,6 +1652,8 @@ Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64$W[T](Microsoft.FSharp.Cor Microsoft.FSharp.Core.Operators+Checked: Int64 ToInt64[T](T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.IntPtr], T) Microsoft.FSharp.Core.Operators+Checked: IntPtr ToIntPtr[T](T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators+Checked: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators+Checked: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators+Checked: T op_UnaryNegation$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,T], T) @@ -1798,12 +1809,16 @@ Microsoft.FSharp.Core.Operators: Boolean op_LessThanOrEqual[T](T, T) Microsoft.FSharp.Core.Operators: Boolean op_LessThan[T](T, T) Microsoft.FSharp.Core.Operators: Byte ToByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) Microsoft.FSharp.Core.Operators: Byte ToByte[T](T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Byte], T) +Microsoft.FSharp.Core.Operators: Byte ToUInt8[T](T) Microsoft.FSharp.Core.Operators: Char ToChar$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Char], T) Microsoft.FSharp.Core.Operators: Char ToChar[T](T) Microsoft.FSharp.Core.Operators: Double Infinity Microsoft.FSharp.Core.Operators: Double NaN Microsoft.FSharp.Core.Operators: Double ToDouble$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) Microsoft.FSharp.Core.Operators: Double ToDouble[T](T) +Microsoft.FSharp.Core.Operators: Double double$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Double], T) +Microsoft.FSharp.Core.Operators: Double double[T](T) Microsoft.FSharp.Core.Operators: Double get_Infinity() Microsoft.FSharp.Core.Operators: Double get_NaN() Microsoft.FSharp.Core.Operators: Int16 ToInt16$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Int16], T) @@ -1833,6 +1848,8 @@ Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Checked Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+NonStructuralComparison Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+OperatorIntrinsics Microsoft.FSharp.Core.Operators: Microsoft.FSharp.Core.Operators+Unchecked +Microsoft.FSharp.Core.Operators: SByte ToInt8$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) +Microsoft.FSharp.Core.Operators: SByte ToInt8[T](T) Microsoft.FSharp.Core.Operators: SByte ToSByte$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.SByte], T) Microsoft.FSharp.Core.Operators: SByte ToSByte[T](T) Microsoft.FSharp.Core.Operators: Single InfinitySingle @@ -1841,6 +1858,8 @@ Microsoft.FSharp.Core.Operators: Single ToSingle$W[T](Microsoft.FSharp.Core.FSha Microsoft.FSharp.Core.Operators: Single ToSingle[T](T) Microsoft.FSharp.Core.Operators: Single get_InfinitySingle() Microsoft.FSharp.Core.Operators: Single get_NaNSingle() +Microsoft.FSharp.Core.Operators: Single single$W[T](Microsoft.FSharp.Core.FSharpFunc`2[T,System.Single], T) +Microsoft.FSharp.Core.Operators: Single single[T](T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] CreateSequence[T](System.Collections.Generic.IEnumerable`1[T]) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_Range$W[T](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,T], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[T,T]], T, T) Microsoft.FSharp.Core.Operators: System.Collections.Generic.IEnumerable`1[T] op_RangeStep$W[T,TStep](Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Core.Unit,TStep], Microsoft.FSharp.Core.FSharpFunc`2[T,Microsoft.FSharp.Core.FSharpFunc`2[TStep,T]], T, TStep, T) diff --git a/tests/FSharp.Test.Utilities/ILChecker.fs b/tests/FSharp.Test.Utilities/ILChecker.fs index a1a45a3bc4f..508e4c69b4b 100644 --- a/tests/FSharp.Test.Utilities/ILChecker.fs +++ b/tests/FSharp.Test.Utilities/ILChecker.fs @@ -38,7 +38,7 @@ module ILChecker = let methodSingleLine = "^(\s*\.method.*)(?: \s*)$[\r?\n?]^(\s*\{)" let methodMultiLine = "^(\s*\.method.*)(?: \s*)$[\r?\n?]^(?: \s*)(.*)\s*$[\r?\n?]^(\s*\{)" let normalizeNewLines (text: string) = text.Replace("\r\n", "\n").Replace("\r\n", "\r") - let resourceMultiLine = @"(?\.mresource\s+.*)(?\s*\{[^}]*\})" + let resourceMultiLine = @"(?\.mresource\s+[^{}\n\r]*)\s*(?\{[^}]*\})" let stripComments (text:string) = Regex.Replace(text, @@ -76,7 +76,7 @@ module ILChecker = let unifyNetStandardVersions (text: string) = text.Replace(".ver 2:0:0:0", ".ver 2:1:0:0") let unifyResourceBlock text = - let text2 = Regex.Replace(text, resourceMultiLine, (fun (res: Match) -> $"""{res.Groups["resource"].Value} {{ }}"""), RegexOptions.Multiline) + let text2 = Regex.Replace(text, resourceMultiLine, (fun (res: Match) -> $"""{res.Groups["resource"].Value.Trim()} {{ }}"""), RegexOptions.Multiline) text2 ilCode.Trim() diff --git a/tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/CompilerServiceBenchmarks.fs b/tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/CompilerServiceBenchmarks.fs index 44a0f9fdaaf..f18ebea9fc3 100644 --- a/tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/CompilerServiceBenchmarks.fs +++ b/tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/CompilerServiceBenchmarks.fs @@ -86,7 +86,7 @@ type CompilerServiceBenchmarks() = ApplyLineDirectives = false IndentationAwareSyntax = None StrictIndentation = None - CompilingFSharpCore = false + compilingCoreLibrary = false IsExe = false }