Added sanity check.
This commit is contained in:
parent
7e6c43d91e
commit
eb636f2674
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ namespace arookas
|
|||
|
||||
public sunSourceLocation(string file, int line, int column)
|
||||
{
|
||||
if (file == null)
|
||||
{
|
||||
throw new ArgumentNullException("file");
|
||||
}
|
||||
File = file;
|
||||
Line = line;
|
||||
Column = column;
|
||||
|
|
Loading…
Reference in a new issue