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)
|
public sunSourceLocation(string file, int line, int column)
|
||||||
{
|
{
|
||||||
|
if (file == null)
|
||||||
|
{
|
||||||
|
throw new ArgumentNullException("file");
|
||||||
|
}
|
||||||
File = file;
|
File = file;
|
||||||
Line = line;
|
Line = line;
|
||||||
Column = column;
|
Column = column;
|
||||||
|
|
Loading…
Reference in a new issue