-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
Description
Following happened when typing
iif(
inside a #command in dbcmd.xh
Also when using in VS "Add new Item->Code->Header", then a header1.vh file is being created, not a .xh one
System.NullReferenceException: Object reference not set to an instance of an object.
at XSharp.LanguageService.XSharpSearchLocation.GetUsings() in C:\XSharp\DevPublic\VisualStudio\LanguageService\Lookup\XSharpSearchLocation.cs:line 89
at XSharp.LanguageService.XSharpSearchLocation..ctor(XSourceMemberSymbol member, ITextSnapshot snapshot, Int32 lineNumber, Int32 position, String currentNs) in C:\XSharp\DevPublic\VisualStudio\LanguageService\Lookup\XSharpSearchLocation.cs:line 55
at XSharp.LanguageService.CommandFilter.StartSignatureSession(Boolean comma, IXTypeSymbol type, String methodName) in C:\XSharp\DevPublic\VisualStudio\LanguageService\CommandFilter.cs:line 1252
at XSharp.LanguageService.CommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in C:\XSharp\DevPublic\VisualStudio\LanguageService\CommandFilter.cs:line 647
at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam)
at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)
at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c.<DispatchTextInputEvents>b__6_0(KeyProcessor p, TextCompositionEventArgs args)
at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass10_1`1.<Dispatch>b__0()
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)