-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
With the MonoDevelop Main.sln open and a C# file open in the text editor when F2 is pressed to rename a C# method the TypeScript addin is being run and an exception is thrown:
ERROR [2015-01-05 12:17:00Z]: Error while executing command: Rename
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.TypeScriptBinding.TypeScriptCodeCompletionTextEditorExtension.UpdateContext(TypeScriptContext context, TextEditorData editor)
at ICSharpCode.TypeScriptBinding.TypeScriptCodeCompletionTextEditorExtension.GetReferences(TextEditorData editor)
at ICSharpCode.TypeScriptBinding.RenameTypeScriptReferenceCommandHandler.Run(Document document)
at ICSharpCode.TypeScriptBinding.TypeScriptCommandHandler.Run()
at MonoDevelop.Components.Commands.CommandHandler.Run(Object dataItem)
at MonoDevelop.Components.Commands.CommandHandler.InternalRun(Object dataItem)
at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand(ActionCommand cmd, CommandInfo info, Object dataItem, Object target, CommandSource source)
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)