Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikayla Hutchinson <m.j.hutchinson@gmail.com>2018-08-14 19:25:24 +0300
committerMikayla Hutchinson <m.j.hutchinson@gmail.com>2018-08-15 06:20:50 +0300
commite2a0022c1b81ebb38e8ef316c287dd97435b5e90 (patch)
tree8a9330072e63b7b682a4423d7de66391f62d46c3 /main/external/fsharpbinding/MonoDevelop.FSharp.Tests
parentcee40bd06e9654673f7ee703c77ba98265a1c388 (diff)
[F#] Use GetReferences for creating options
Using GetReferencedAssemblies will cause project refs to be left out.
Diffstat (limited to 'main/external/fsharpbinding/MonoDevelop.FSharp.Tests')
-rw-r--r--main/external/fsharpbinding/MonoDevelop.FSharp.Tests/ProjectCracking.fs2
-rw-r--r--main/external/fsharpbinding/MonoDevelop.FSharp.Tests/TemplateTests.fs2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/ProjectCracking.fs b/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/ProjectCracking.fs
index d6f5845dd4..ea18325f91 100644
--- a/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/ProjectCracking.fs
+++ b/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/ProjectCracking.fs
@@ -25,7 +25,7 @@ module ``Project Cracking`` =
let s = w :?> Solution
let fsproj = s.Items.[0] :?> FSharpProject
let config = CompilerArguments.getConfig()
- let! refs = fsproj.GetReferencedAssemblies (config) |> Async.AwaitTask
+ let! refs = fsproj.GetReferences (config) |> Async.AwaitTask
let opts = languageService.GetProjectOptionsFromProjectFile (fsproj, config, refs)
return opts.Value.OtherOptions
}
diff --git a/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/TemplateTests.fs b/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/TemplateTests.fs
index 88b22ddc8b..fc0f435c11 100644
--- a/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/TemplateTests.fs
+++ b/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/TemplateTests.fs
@@ -69,7 +69,7 @@ type ``Template tests``() =
|> Seq.ofType<DotNetProject> |> List.ofSeq
for project in projects do
let checker = FSharpChecker.Create()
- let! refs = project.GetReferencedAssemblies (config) |> Async.AwaitTask
+ let! refs = project.GetReferences (config) |> Async.AwaitTask
let projectOptions = languageService.GetProjectOptionsFromProjectFile (project, config, refs)
let! checkResult = checker.ParseAndCheckProject projectOptions.Value
for error in checkResult.Errors do