From bee0c60290575cd0329a4a8582516f2b671618bd Mon Sep 17 00:00:00 2001 From: Oskar Gewalli Date: Tue, 12 Nov 2024 19:39:48 +0200 Subject: [PATCH] #if not FABLE_COMPILER_3 --- src/FSharpPlus/Extensions/String.fs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FSharpPlus/Extensions/String.fs b/src/FSharpPlus/Extensions/String.fs index 4b5dc5e09..85cb83b53 100644 --- a/src/FSharpPlus/Extensions/String.fs +++ b/src/FSharpPlus/Extensions/String.fs @@ -52,6 +52,7 @@ module String = source.Contains subString + #if !FABLE_COMPILER_3 /// Does the source string start with the given subString? -- function wrapper for String.StartsWith method using InvariantCulture. let startsWith (subString: string) (source: string) = #if !NET45 @@ -60,6 +61,7 @@ module String = #endif source.StartsWith (subString, false, CultureInfo.InvariantCulture) + #endif /// Does the source string end with the given subString? -- function wrapper for String.EndsWith method using InvariantCulture. let endsWith subString (source: string) =