Skip to content

Commit a2edf71

Browse files
pkulikovBillWagner
authored andcommittedMay 4, 2018
null-check before invoking event delegates (dotnet#40)
1 parent 533673a commit a2edf71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎csharp/serialization/Loan.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public string Customer
2828
set
2929
{
3030
customer = value;
31-
PropertyChanged(this,
31+
PropertyChanged?.Invoke(this,
3232
new PropertyChangedEventArgs(nameof(Customer)));
3333
}
3434
}

0 commit comments

Comments
 (0)