WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 064246c

Browse files
committed
fix break changes
1 parent f840d0c commit 064246c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.SqlTools.ServiceLayer/LanguageServices/AutoCompleteHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ internal static SignatureHelp ConvertMethodHelpTextListToSignatureHelp(List<Babe
729729
if (locations.ParamStartLocation != null)
730730
{
731731
// Is the cursor past the function name?
732-
var location = locations.ParamStartLocation.Value;
732+
var location = locations.ParamStartLocation;
733733
if (line > location.LineNumber || (line == location.LineNumber && line == location.LineNumber && column >= location.ColumnNumber))
734734
{
735735
currentParameter = 0;
@@ -746,7 +746,7 @@ internal static SignatureHelp ConvertMethodHelpTextListToSignatureHelp(List<Babe
746746
if (locations.ParamEndLocation != null)
747747
{
748748
// Is the cursor past the end of the parameter list on a different token?
749-
var location = locations.ParamEndLocation.Value;
749+
var location = locations.ParamEndLocation;
750750
if (line > location.LineNumber || (line == location.LineNumber && line == location.LineNumber && column > location.ColumnNumber))
751751
{
752752
currentParameter = -1;

0 commit comments

Comments
 (0)