Browse Source

[CodeIssue] Remove stray exception creation.

newNRvisualizers
Simon Lindgren 14 years ago
parent
commit
ad0ef5dead
  1. 1
      ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/IncorrectExceptionParameterOrderingIssue.cs

1
ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/IncorrectExceptionParameterOrderingIssue.cs

@ -50,7 +50,6 @@ namespace ICSharpCode.NRefactory.CSharp @@ -50,7 +50,6 @@ namespace ICSharpCode.NRefactory.CSharp
{
this.context = context;
rules = new Dictionary<string, Func<int, int, bool>>();
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;

Loading…
Cancel
Save