Skip to content

Commit

Permalink
Merge pull request #375 from runceel/v8.1.0
Browse files Browse the repository at this point in the history
Release v8.1.0 pre
  • Loading branch information
runceel authored Apr 29, 2022
2 parents 3ac2244 + ecad9bf commit 9d5d225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/ReactiveProperty.NETStandard/ReactiveProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ public ReactiveProperty<T> SetValidateNotifyError(Func<T, string> validator) =>
/// <summary>
/// Get INotifyDataErrorInfo's error store
/// </summary>
public IEnumerable GetErrors(string? propertyName) => CurrentErrors ?? Enumerable.Empty<object>();
public IEnumerable? GetErrors(string? propertyName) => CurrentErrors;
IEnumerable INotifyDataErrorInfo.GetErrors(string? propertyName) => CurrentErrors ?? Enumerable.Empty<object>();

/// <summary>
/// Get INotifyDataErrorInfo's error store
Expand Down

0 comments on commit 9d5d225

Please sign in to comment.