Skip to content

Commit

Permalink
Diagnostics in SetValue() of NullValueReference and LiteralValueRefer…
Browse files Browse the repository at this point in the history
…ence

(cherry picked from commit 31019a1)
  • Loading branch information
nerzhulart committed Mar 16, 2017
1 parent 5091f43 commit 94b6322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public override object Value {
return value;
}
set {
throw new NotSupportedException ();
throw new NotSupportedException ("Assignment to a literal is not possible");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public override object Value {
return obj;
}
set {
throw new NotSupportedException ();
throw new NotSupportedException ("Assignment to the null literal is not possible");
}
}

Expand Down

0 comments on commit 94b6322

Please sign in to comment.