From ad0ef5deadea8b3c48f46f527c7af03ddde0dcce Mon Sep 17 00:00:00 2001 From: Simon Lindgren Date: Wed, 6 Jun 2012 10:12:23 +0200 Subject: [PATCH] [CodeIssue] Remove stray exception creation. --- .../CodeIssues/IncorrectExceptionParameterOrderingIssue.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/IncorrectExceptionParameterOrderingIssue.cs b/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/IncorrectExceptionParameterOrderingIssue.cs index 80ab444db6..74fd470786 100644 --- a/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/IncorrectExceptionParameterOrderingIssue.cs +++ b/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/IncorrectExceptionParameterOrderingIssue.cs @@ -50,7 +50,6 @@ namespace ICSharpCode.NRefactory.CSharp { this.context = context; rules = new Dictionary>(); - new ArgumentNullException(); rules [typeof(ArgumentException).FullName] = (left, right) => left > right; rules [typeof(ArgumentNullException).FullName] = (left, right) => left < right; rules [typeof(ArgumentOutOfRangeException).FullName] = (left, right) => left < right;