Skip to content

Commit 2dc41f9

Browse files
committed
R: delete dead code path
1 parent dce1260 commit 2dc41f9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/System.CommandLine/ArgumentArity.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ internal static IArgumentArity Default(Type type, Argument argument, ISymbolSet
116116
return ZeroOrOne;
117117
}
118118

119-
if (type == typeof(void))
120-
{
121-
// FIX: (Default) delete
122-
return Zero;
123-
}
124-
125119
var parent = parents.Count > 0 ? parents[0] : default;
126120

127121
if (typeof(IEnumerable).IsAssignableFrom(type) &&

0 commit comments

Comments
 (0)