We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 477f057 commit ccaf439Copy full SHA for ccaf439
tests/fsharp/Compiler/Language/OptionalInteropTests.fs
@@ -11,10 +11,17 @@ open Microsoft.CodeAnalysis
11
12
module OptionalInteropTests =
13
14
+ open System.Reflection
15
+
16
+ let showImmutableVersion () =
17
+ let asm = typeof<System.Collections.Immutable.ImmutableArray>.Assembly
18
+ printfn "Loaded System.Collections.Immutable version: %s" (asm.GetName().Version.ToString())
19
20
[<Theory>]
21
[<InlineData("5.0")>]
22
[<InlineData("preview")>]
23
let ``C# method with an optional parameter and called with an option type should compile`` langVersion =
24
+ showImmutableVersion()
25
let csSrc =
26
"""
27
using Microsoft.FSharp.Core;
0 commit comments