Skip to content

Commit

Permalink
Trying to track down this null reference exeception
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Ginnivan committed Jul 31, 2013
1 parent ea018b5 commit 676070d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Automation;
Expand All @@ -14,6 +15,7 @@ public class AutomationElementFinder

public AutomationElementFinder(AutomationElement automationElement)
{
if (automationElement == null) throw new ArgumentNullException("automationElement");
this.automationElement = automationElement;
}

Expand Down

0 comments on commit 676070d

Please sign in to comment.