Skip to content

Commit e6dcd32

Browse files
Remove unused and fix typo
1 parent ba3f108 commit e6dcd32

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

CodeConverter/CSharp/DeclarationNodeVisitor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@ private List<MethodWithHandles> GetMethodWithHandles(VBSyntax.TypeBlockSyntax pa
636636
var csPropIds = ids.Except(csFormIds).ToList();
637637
if (!csPropIds.Any() && !csFormIds.Any()) return null;
638638
var csMethodId = SyntaxFactory.Identifier(m.Name);
639-
var delegatingMethodBaseForHandler = (MethodDeclarationSyntax) _csSyntaxGenerator.MethodDeclaration(m);
640639
return new MethodWithHandles(_csSyntaxGenerator, csMethodId, csPropIds, csFormIds);
641640
}).Where(x => x != null).ToList();
642641
return methodWithHandleses;

CommandLine/CodeConv.Shared/MSBuildWorkspaceConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private async Task<Solution> GetSolutionAsync(string projectOrSolutionFile, IPro
8787
} else if (wrongFramework && !_isNetCore) {
8888
throw new ValidationException($"Compiling with .NET Framework MSBuild caused compilation errors, use the {CodeConvProgram.CoreOptionDefinition} true option if this is a .NET core only solution");
8989
} else {
90-
var mainMessage = "Fix compilation erorrs before conversion for an accurate conversion, or as a last resort, use the best effort conversion option";
90+
var mainMessage = "Fix compilation errors before conversion for an accurate conversion, or as a last resort, use the best effort conversion option";
9191
throw new ValidationException($"{mainMessage}:{Environment.NewLine}{errorString}{Environment.NewLine}{mainMessage}");
9292
}
9393
return solution;

0 commit comments

Comments
 (0)