Make Args a static class

This commit is contained in:
Sam Harwell 2014-07-01 21:26:05 -05:00
parent 2cdc0537fa
commit 1be22e5b1a
1 changed files with 2 additions and 6 deletions

View File

@ -33,7 +33,7 @@ using Antlr4.Runtime.Sharpen;
namespace Antlr4.Runtime.Misc
{
/// <author>Sam Harwell</author>
public sealed class Args
public static class Args
{
/// <exception cref="System.ArgumentNullException">
/// if
@ -46,12 +46,8 @@ namespace Antlr4.Runtime.Misc
{
if (value == null)
{
throw new ArgumentNullException(parameterName + " cannot be null.");
throw new ArgumentNullException(parameterName);
}
}
private Args()
{
}
}
}