We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ae0fe commit 6aaa3c1Copy full SHA for 6aaa3c1
RetailCoder.VBE/UI/Refactorings/ExtractMethod/ExtractMethodPresenter.cs
@@ -201,7 +201,8 @@ private string GetExtractedMethod()
201
.Select(e => " " + Tokens.Dim + ' ' + e.ambiguousIdentifier().GetText() +
202
(e.LPAREN() == null
203
? string.Empty
204
- : e.LPAREN().GetText() + (e.subscripts() == null ? string.Empty : e.subscripts().GetText()) + e.RPAREN().GetText()) + ' ' + e.asTypeClause().GetText());
+ : e.LPAREN().GetText() + (e.subscripts() == null ? string.Empty : e.subscripts().GetText()) + e.RPAREN().GetText()) + ' ' +
205
+ (e.asTypeClause() == null ? string.Empty : e.asTypeClause().GetText()));
206
var locals = string.Join(newLine, localConsts.Union(localVariables)
207
.Where(local => !_selectedCode.Contains(local)).ToArray()) + newLine;
208
0 commit comments