diff --git a/src/CommandLine/OptionAttribute.cs b/src/CommandLine/OptionAttribute.cs
index 6ae51dac..ec009ea5 100644
--- a/src/CommandLine/OptionAttribute.cs
+++ b/src/CommandLine/OptionAttribute.cs
@@ -19,7 +19,13 @@ public sealed class OptionAttribute : BaseAttribute
private char separator;
private string group=string.Empty;
- private OptionAttribute(string shortName, string longName) : base()
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The short name of the option.
+ /// The long name of the option.
+ public OptionAttribute(string shortName, string longName) : base()
{
if (shortName == null) throw new ArgumentNullException("shortName");
if (longName == null) throw new ArgumentNullException("longName");