File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/PowerShellEditorServices.Protocol/Server Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -845,15 +845,15 @@ await editorSession.LanguageService.FindParameterSetsInFile(
845
845
signatures = new SignatureInformation [ parameterSets . Signatures . Length ] ;
846
846
for ( int i = 0 ; i < signatures . Length ; i ++ )
847
847
{
848
- var parameters = new ParameterInformation [ signatures [ i ] . Parameters . Count ( ) ] ;
848
+ var parameters = new ParameterInformation [ parameterSets . Signatures [ i ] . Parameters . Count ( ) ] ;
849
849
int j = 0 ;
850
850
foreach ( ParameterInfo param in parameterSets . Signatures [ i ] . Parameters )
851
851
{
852
852
parameters [ j ] = CreateParameterInfo ( param ) ;
853
853
j ++ ;
854
854
}
855
855
856
- var signature = new SignatureInformation
856
+ signatures [ i ] = new SignatureInformation
857
857
{
858
858
Label = parameterSets . CommandName + " " + parameterSets . Signatures [ i ] . SignatureText ,
859
859
Documentation = null ,
You can’t perform that action at this time.
0 commit comments