Skip to content

Commit

Permalink
Exclude Silverlight from CallerMemberName. (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzhandler authored and Anthony Sneed committed Aug 6, 2017
1 parent 1d33b83 commit 08c6e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/TrackableEntities.Client/EntityBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ protected void NotifyPropertyChanged<TResult>
/// Fire PropertyChanged event.
/// </summary>
/// <param name="propertyName">Property name.</param>
#if NET40
protected virtual void NotifyPropertyChanged(string propertyName)
#if SILVERLIGHT || NET40
protected virtual void NotifyPropertyChanged(string propertyName)
#else
protected virtual void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
#endif
Expand Down

0 comments on commit 08c6e15

Please sign in to comment.