Skip to content

Commit

Permalink
Move SourceText: Microsoft.FSharp -> FSharp
Browse files Browse the repository at this point in the history
  • Loading branch information
auduchinok committed Mar 21, 2019
1 parent c3c07c0 commit a2628cd
Show file tree
Hide file tree
Showing 28 changed files with 47 additions and 49 deletions.
3 changes: 1 addition & 2 deletions src/fsharp/CompileOps.fs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ open FSharp.Compiler.TypeChecker
open FSharp.Compiler.Tast
open FSharp.Compiler.Tastops
open FSharp.Compiler.TcGlobals

open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

#if !NO_EXTENSIONTYPING
open FSharp.Compiler.ExtensionTyping
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/CompileOps.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ open FSharp.Compiler.Ast
open FSharp.Compiler.ErrorLogger
open FSharp.Compiler.Tast
open FSharp.Compiler.TcGlobals
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open Microsoft.FSharp.Core.CompilerServices
#if !NO_EXTENSIONTYPING
open FSharp.Compiler.ExtensionTyping
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/NameResolution.fs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ open FSharp.Compiler.AccessibilityLogic
open FSharp.Compiler.AttributeChecking
open FSharp.Compiler.InfoReader
open FSharp.Compiler.PrettyNaming
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open System.Collections.Generic

#if !NO_EXTENSIONTYPING
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/NameResolution.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ open FSharp.Compiler.Tastops
open FSharp.Compiler.TcGlobals
open FSharp.Compiler.AbstractIL.Internal.Library
open FSharp.Compiler.PrettyNaming
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

/// A NameResolver is a context for name resolution. It primarily holds an InfoReader.
type NameResolver =
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/UnicodeLexing.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module internal FSharp.Compiler.UnicodeLexing

open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open Microsoft.FSharp.Text
open Internal.Utilities.Text.Lexing

Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/fsi/fsi.fs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ open FSharp.Compiler.Tastops
open FSharp.Compiler.TcGlobals
open FSharp.Compiler.SourceCodeServices
open FSharp.Compiler.ReferenceResolver
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

open Internal.Utilities
open Internal.Utilities.Collections
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/service/ServiceXmlDocParser.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace FSharp.Compiler.SourceCodeServices

open FSharp.Compiler
open FSharp.Compiler.AbstractIL.Internal.Library
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

/// Represent an Xml documentation block in source code
type XmlDocable =
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/service/ServiceXmlDocParser.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace FSharp.Compiler.SourceCodeServices
open FSharp.Compiler
open FSharp.Compiler.Range
open FSharp.Compiler.Ast
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

/// Represent an Xml documentation block in source code
type public XmlDocable =
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/service/service.fs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ open FSharp.Compiler.Infos
open FSharp.Compiler.InfoReader
open FSharp.Compiler.NameResolution
open FSharp.Compiler.TypeChecker
open FSharp.Compiler.Text
open FSharp.Compiler.SourceCodeServices.SymbolHelpers
open Microsoft.FSharp.Compiler.Text

open Internal.Utilities
open Internal.Utilities.Collections
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/service/service.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ open FSharp.Compiler.Infos
open FSharp.Compiler.InfoReader
open FSharp.Compiler.Tast
open FSharp.Compiler.Tastops
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

/// Represents the reason why the GetDeclarationLocation operation failed.
[<RequireQualifiedAccess>]
Expand Down
4 changes: 2 additions & 2 deletions src/utils/prim-lexing.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#nowarn "47" // recursive initialization of LexBuffer

namespace Microsoft.FSharp.Compiler.Text
namespace FSharp.Compiler.Text

open System
open System.IO
Expand Down Expand Up @@ -103,8 +103,8 @@ module SourceText =

namespace Internal.Utilities.Text.Lexing

open FSharp.Compiler.Text
open Microsoft.FSharp.Core
open Microsoft.FSharp.Compiler.Text
open Microsoft.FSharp.Collections
open System.Collections.Generic

Expand Down
4 changes: 2 additions & 2 deletions src/utils/prim-lexing.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// LexBuffers are for use with automatically generated lexical analyzers,
// in particular those produced by 'fslex'.

namespace Microsoft.FSharp.Compiler.Text
namespace FSharp.Compiler.Text

type ISourceText =

Expand Down Expand Up @@ -36,7 +36,7 @@ module SourceText =
namespace Internal.Utilities.Text.Lexing

open System.Collections.Generic
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open Microsoft.FSharp.Core
open Microsoft.FSharp.Control

Expand Down
2 changes: 1 addition & 1 deletion tests/FSharp.Compiler.UnitTests/Compiler.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace FSharp.Compiler.UnitTests

open System
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open FSharp.Compiler.SourceCodeServices

open NUnit.Framework
Expand Down
2 changes: 1 addition & 1 deletion tests/FSharp.Compiler.UnitTests/SourceTextTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace FSharp.Compiler.UnitTests
open System
open NUnit.Framework

open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text

[<TestFixture>]
module SourceTextTests =
Expand Down
2 changes: 1 addition & 1 deletion tests/service/AssemblyContentProviderTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let (=>) (source: string) (expected: string list) =
// http://stackoverflow.com/questions/19365404/stringreader-omits-trailing-linebreak
yield "" |]

let _, checkFileAnswer = checker.ParseAndCheckFileInProject(filePath, 0, Microsoft.FSharp.Compiler.Text.SourceText.ofString source, projectOptions) |> Async.RunSynchronously
let _, checkFileAnswer = checker.ParseAndCheckFileInProject(filePath, 0, FSharp.Compiler.Text.SourceText.ofString source, projectOptions) |> Async.RunSynchronously

let checkFileResults =
match checkFileAnswer with
Expand Down
12 changes: 6 additions & 6 deletions tests/service/Common.fs
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ type TempFile(ext, contents) =

let getBackgroundParseResultsForScriptText (input) =
use file = new TempFile("fsx", input)
let checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(file.Name, Microsoft.FSharp.Compiler.Text.SourceText.ofString input) |> Async.RunSynchronously
let checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(file.Name, FSharp.Compiler.Text.SourceText.ofString input) |> Async.RunSynchronously
checker.GetBackgroundParseResultsForFileInProject(file.Name, checkOptions) |> Async.RunSynchronously


let getBackgroundCheckResultsForScriptText (input) =
use file = new TempFile("fsx", input)
let checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(file.Name, Microsoft.FSharp.Compiler.Text.SourceText.ofString input) |> Async.RunSynchronously
let checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(file.Name, FSharp.Compiler.Text.SourceText.ofString input) |> Async.RunSynchronously
checker.GetBackgroundCheckResultsForFileInProject(file.Name, checkOptions) |> Async.RunSynchronously


Expand Down Expand Up @@ -167,7 +167,7 @@ let mkTestFileAndOptions source additionalArgs =
fileName, options

let parseAndCheckFile fileName source options =
match checker.ParseAndCheckFileInProject(fileName, 0, Microsoft.FSharp.Compiler.Text.SourceText.ofString source, options) |> Async.RunSynchronously with
match checker.ParseAndCheckFileInProject(fileName, 0, FSharp.Compiler.Text.SourceText.ofString source, options) |> Async.RunSynchronously with
| parseResults, FSharpCheckFileAnswer.Succeeded(checkResults) -> parseResults, checkResults
| _ -> failwithf "Parsing aborted unexpectedly..."

Expand All @@ -181,11 +181,11 @@ let parseAndCheckScript (file, input) =
let projectOptions = checker.GetProjectOptionsFromCommandLineArgs (projName, args)

#else
let projectOptions, _diagnostics = checker.GetProjectOptionsFromScript(file, Microsoft.FSharp.Compiler.Text.SourceText.ofString input) |> Async.RunSynchronously
let projectOptions, _diagnostics = checker.GetProjectOptionsFromScript(file, FSharp.Compiler.Text.SourceText.ofString input) |> Async.RunSynchronously
printfn "projectOptions = %A" projectOptions
#endif

let parseResult, typedRes = checker.ParseAndCheckFileInProject(file, 0, Microsoft.FSharp.Compiler.Text.SourceText.ofString input, projectOptions) |> Async.RunSynchronously
let parseResult, typedRes = checker.ParseAndCheckFileInProject(file, 0, FSharp.Compiler.Text.SourceText.ofString input, projectOptions) |> Async.RunSynchronously

// if parseResult.Errors.Length > 0 then
// printfn "---> Parse Input = %A" input
Expand All @@ -203,7 +203,7 @@ let parseSourceCode (name: string, code: string) =
let dllPath = Path.Combine(location, name + ".dll")
let args = mkProjectCommandLineArgs(dllPath, [filePath])
let options, errors = checker.GetParsingOptionsFromCommandLineArgs(List.ofArray args)
let parseResults = checker.ParseFile(filePath, Microsoft.FSharp.Compiler.Text.SourceText.ofString code, options) |> Async.RunSynchronously
let parseResults = checker.ParseFile(filePath, FSharp.Compiler.Text.SourceText.ofString code, options) |> Async.RunSynchronously
parseResults.ParseTree

/// Extract range info
Expand Down
4 changes: 2 additions & 2 deletions tests/service/EditorTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ let ``Basic cancellation test`` () =
let file = "/home/user/Test.fsx"
async {
checker.ClearLanguageServiceRootCachesAndCollectAndFinalizeAllTransients()
let! checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(file, Microsoft.FSharp.Compiler.Text.SourceText.ofString input)
let! parseResult, typedRes = checker.ParseAndCheckFileInProject(file, 0, Microsoft.FSharp.Compiler.Text.SourceText.ofString input, checkOptions)
let! checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(file, FSharp.Compiler.Text.SourceText.ofString input)
let! parseResult, typedRes = checker.ParseAndCheckFileInProject(file, 0, FSharp.Compiler.Text.SourceText.ofString input, checkOptions)
return parseResult, typedRes
} |> Async.RunSynchronously
|> ignore
Expand Down
2 changes: 1 addition & 1 deletion tests/service/PerfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module internal Project1 =
let projFileName = Path.ChangeExtension(base2, ".fsproj")
let fileSources = [ for (i,f) in fileNamesI -> (f, "module M" + string i) ]
for (f,text) in fileSources do File.WriteAllText(f, text)
let fileSources2 = [ for (i,f) in fileSources -> Microsoft.FSharp.Compiler.Text.SourceText.ofString f ]
let fileSources2 = [ for (i,f) in fileSources -> FSharp.Compiler.Text.SourceText.ofString f ]

let fileNames = [ for (_,f) in fileNamesI -> f ]
let args = mkProjectCommandLineArgs (dllName, fileNames)
Expand Down
22 changes: 11 additions & 11 deletions tests/service/ProjectAnalysisTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let fff () = xxx + xxx
type CAbbrev = C
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)

let fileSource2Text = """
Expand Down Expand Up @@ -84,7 +84,7 @@ let mmmm1 : M.C = new M.C() // note, these don't count as uses of CA
let mmmm2 : M.CAbbrev = new M.CAbbrev() // note, these don't count as uses of C
"""
let fileSource2 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource2Text
let fileSource2 = FSharp.Compiler.Text.SourceText.ofString fileSource2Text
File.WriteAllText(fileName2, fileSource2Text)

let fileNames = [fileName1; fileName2]
Expand Down Expand Up @@ -2429,7 +2429,7 @@ and F = { Field1 : int; Field2 : int }
and G = Case1 | Case2 of int
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)

let sigFileSource1Text = """
Expand All @@ -2451,7 +2451,7 @@ and F = { Field1 : int; Field2 : int }
and G = Case1 | Case2 of int
"""
let sigFileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString sigFileSource1Text
let sigFileSource1 = FSharp.Compiler.Text.SourceText.ofString sigFileSource1Text
File.WriteAllText(sigFileName1, sigFileSource1Text)
let cleanFileName a = if a = fileName1 then "file1" elif a = sigFileName1 then "sig1" else "??"

Expand Down Expand Up @@ -4514,7 +4514,7 @@ module internal Project35b =
#r "System.dll"
#r "notexist.dll"
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)
let cleanFileName a = if a = fileName1 then "file1" else "??"

Expand Down Expand Up @@ -5158,7 +5158,7 @@ module internal ProjectBig =
let projFileName = Path.ChangeExtension(base2, ".fsproj")
let fileSources = [ for (i,f) in fileNamesI -> (f, "module M" + string i) ]
for (f,text) in fileSources do File.WriteAllText(f, text)
let fileSources2 = [ for (i,f) in fileSources -> Microsoft.FSharp.Compiler.Text.SourceText.ofString f ]
let fileSources2 = [ for (i,f) in fileSources -> FSharp.Compiler.Text.SourceText.ofString f ]

let fileNames = [ for (_,f) in fileNamesI -> f ]
let args = mkProjectCommandLineArgs (dllName, fileNames)
Expand Down Expand Up @@ -5246,7 +5246,7 @@ module M
# 10 "Test.fsy"
let x = (1 = 3.0)
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)
let fileNames = [fileName1]
let args = mkProjectCommandLineArgs (dllName, fileNames)
Expand Down Expand Up @@ -5287,7 +5287,7 @@ let ``ParseAndCheckFileResults contains ImplFile list if FSharpChecker is create
type A(i:int) =
member x.Value = i
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)

let fileNames = [fileName1]
Expand Down Expand Up @@ -5378,7 +5378,7 @@ type UseTheThings(i:int) =
member x.UseSomeUsedModuleContainingExtensionMember() = (3).Q
member x.UseSomeUsedModuleContainingUnion() = A
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)

let fileNames = [fileName1]
Expand Down Expand Up @@ -5451,7 +5451,7 @@ type UseTheThings(i:int) =
member x.UseSomeUsedModuleContainingExtensionMember() = (3).Q
member x.UseSomeUsedModuleContainingUnion() = A
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)

let fileNames = [fileName1]
Expand Down Expand Up @@ -5524,7 +5524,7 @@ type UseTheThings(i:int) =
member x.UseSomeUsedModuleContainingExtensionMember() = (3).Q
member x.UseSomeUsedModuleContainingUnion() = A
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
File.WriteAllText(fileName1, fileSource1Text)

let fileNames = [fileName1]
Expand Down
6 changes: 3 additions & 3 deletions tests/service/ProjectOptionsTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ let ``Test SourceFiles order for GetProjectOptionsFromScript`` () = // See #594
let scriptPath = __SOURCE_DIRECTORY__ + @"/data/ScriptProject/" + scriptName + ".fsx"
let scriptSource = File.ReadAllText scriptPath
let projOpts, _diagnostics =
checker.GetProjectOptionsFromScript(scriptPath, Microsoft.FSharp.Compiler.Text.SourceText.ofString scriptSource)
checker.GetProjectOptionsFromScript(scriptPath, FSharp.Compiler.Text.SourceText.ofString scriptSource)
|> Async.RunSynchronously
projOpts.SourceFiles
|> Array.map Path.GetFileNameWithoutExtension
Expand All @@ -534,12 +534,12 @@ module ImplFile
let x = 42
#endif
"""
let fileSource1 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource1 = FSharp.Compiler.Text.SourceText.ofString fileSource1Text
let fileSource2Text = """
#load "Impl.fs"
ImplFile.x
"""
let fileSource2 = Microsoft.FSharp.Compiler.Text.SourceText.ofString fileSource2Text
let fileSource2 = FSharp.Compiler.Text.SourceText.ofString fileSource2Text
File.WriteAllText(fileName1, fileSource1Text)
File.WriteAllText(fileName2, fileSource2Text)

Expand Down
2 changes: 1 addition & 1 deletion vsintegration/Utils/LanguageServiceProfiling/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Results look like this:
*)

open FSharp.Compiler
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open FSharp.Compiler.SourceCodeServices
open System
open System.IO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ open FSharp.Compiler
open FSharp.Compiler.SourceCodeServices
open FSharp.Compiler.Range
open Microsoft.FSharp.Compiler.SourceCodeServices
open Microsoft.FSharp.Compiler.Text

[<ExportCodeFixProvider(FSharpConstants.FSharpLanguageName, Name = "ReplaceWithSuggestion"); Shared>]
type internal FSharpReplaceWithSuggestionCodeFixProvider
Expand Down
2 changes: 1 addition & 1 deletion vsintegration/src/FSharp.Editor/Common/Extensions.fs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ open System.IO
open Microsoft.CodeAnalysis
open Microsoft.CodeAnalysis.Text
open Microsoft.CodeAnalysis.Host
open Microsoft.FSharp.Compiler.Text
open FSharp.Compiler.Text
open FSharp.Compiler.Ast
open FSharp.Compiler.SourceCodeServices

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ type internal FSharpLanguageServiceBackgroundRequests_DEPRECATED
lazy // This portion is executed on the language service thread
let timestamp = if source=null then System.DateTime(2000,1,1) else source.OpenedTime // source is null in unit tests
let checker = getInteractiveChecker()
let checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(fileName, Microsoft.FSharp.Compiler.Text.SourceText.ofString sourceText, timestamp, [| |]) |> Async.RunSynchronously
let checkOptions, _diagnostics = checker.GetProjectOptionsFromScript(fileName, FSharp.Compiler.Text.SourceText.ofString sourceText, timestamp, [| |]) |> Async.RunSynchronously
let referencedProjectFileNames = [| |]
let projectSite = ProjectSitesAndFiles.CreateProjectSiteForScript(fileName, referencedProjectFileNames, checkOptions)
{ ProjectSite = projectSite
Expand Down
2 changes: 1 addition & 1 deletion vsintegration/src/FSharp.LanguageService/FSharpSource.fs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ type internal FSharpSource_DEPRECATED(service:LanguageService_DEPRECATED, textLi
Stamp = None }
|> ic.GetParsingOptionsFromProjectOptions

ic.ParseFile(fileName, Microsoft.FSharp.Compiler.Text.SourceText.ofString (source.GetText()), co) |> Async.RunSynchronously
ic.ParseFile(fileName, FSharp.Compiler.Text.SourceText.ofString (source.GetText()), co) |> Async.RunSynchronously

override source.GetCommentFormat() =
let mutable info = new CommentInfo()
Expand Down
2 changes: 1 addition & 1 deletion vsintegration/tests/Salsa/salsa.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ module internal Salsa =

member file.GetFileName() = filename
member file.GetProjectOptionsOfScript() =
project.Solution.Vs.LanguageService.FSharpChecker.GetProjectOptionsFromScript(filename, Microsoft.FSharp.Compiler.Text.SourceText.ofString file.CombinedLines, System.DateTime(2000,1,1), [| |])
project.Solution.Vs.LanguageService.FSharpChecker.GetProjectOptionsFromScript(filename, FSharp.Compiler.Text.SourceText.ofString file.CombinedLines, System.DateTime(2000,1,1), [| |])
|> Async.RunSynchronously
|> fst // drop diagnostics

Expand Down
Loading

0 comments on commit a2628cd

Please sign in to comment.