Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #295 from yaakov-h/pr-PropertyChangedEventArgs
Browse files Browse the repository at this point in the history
Remove false contract on PropertyChangedEventArgs
  • Loading branch information
SergeyTeplyakov committed Nov 20, 2015
2 parents 0f817e7 + ed7ed13 commit bd2c4c4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public class PropertyChangedEventArgs : EventArgs
{
public PropertyChangedEventArgs(string propertyName)
{
Contract.Requires(!string.IsNullOrEmpty(Contract.Result<string>()));
Contract.Ensures(this.PropertyName == propertyName);
}

Expand All @@ -19,8 +18,6 @@ public virtual string PropertyName
{
get
{
Contract.Ensures(!string.IsNullOrEmpty(Contract.Result<string>()));

return default(string);
}
}
Expand Down

0 comments on commit bd2c4c4

Please sign in to comment.