private void AsyncCreateCompletion( ) { //入力補完Windowを生成 completionWindow = new CompletionWindow(CodeBox.TextArea); //補完リストに表示するアイテムをコレクションに追加する //---> //var s = new FSharp.Compiler.SourceCodeServices.AssemblySymbol("Microsoft.FSharp.Collections",) var inputLines = CodeBox.Text.Split('\n'); var caret = CodeBox.TextArea.Caret; var compilation = FSTypeInfo.decls(CodeBox.Text, caret.Line, inputLines[caret.Line - 1], caret.Column - 2); var fetchCompileTask = AsyncUtil.defaultAsyncAsTask(compilation); var tas = fetchCompileTask.ContinueWith(t => ShowCompletion(t.Result)); }