Skip to content

Commit ea6ea4f

Browse files
committed
Removing wrong null check
1 parent 3283a51 commit ea6ea4f

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/CommandLine/OptionAttribute.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,7 @@ public int Max
158158
public char Separator
159159
{
160160
get { return this.separator.Value ; }
161-
set
162-
{
163-
if (value == null)
164-
{
165-
throw new ArgumentNullException("value");
166-
}
167-
168-
this.separator = value;
169-
}
161+
set { this.separator = value; }
170162
}
171163

172164
/// <summary>

0 commit comments

Comments
 (0)