Skip to content

Commit 5d74328

Browse files
committed
#5 Remove redundant code
1 parent 9b4f0a6 commit 5d74328

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

System.IO.Abstractions.Analyzers/CodeActions/FileServiceInterfaceInjectionCodeAction.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ private static void ConstructorAddParameter(ClassDeclarationSyntax classDeclarat
103103

104104
newConstructor =
105105
newConstructor.AddBodyStatements(CreateAssignmentExpression(parameterSyntax.Identifier.Text));
106-
} else
107-
{
108-
newConstructor =
109-
newConstructor.AddBodyStatements(CreateAssignmentExpression(Constants.ParameterFileSystemName));
110106
}
111107

112108
if (RoslynClassFileSystem.HasConstructor(classDeclaration))

0 commit comments

Comments
 (0)