Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
References #47
  • Loading branch information
andreashuber-lawo committed Jun 16, 2017
1 parent 792d38e commit 4994162
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Lawo.EmberPlusSharp/Model/MatrixBase`1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Lawo.EmberPlusSharp.Model
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using Ember;
using Glow;

Expand Down Expand Up @@ -397,11 +398,15 @@ private enum ConnectionDisposition
Locked
}

private void SetSignals(ref IReadOnlyList<int> field, IReadOnlyList<int> signals, IReadOnlyList<int> other)
private void SetSignals(
ref IReadOnlyList<int> field,
IReadOnlyList<int> signals,
IReadOnlyList<int> other,
[CallerMemberName] string propertyName = null)
{
if (field?.SequenceEqual(signals) != true)
{
this.SetValue(ref field, signals);
this.SetValue(ref field, signals, propertyName);

if (other != null)
{
Expand Down

0 comments on commit 4994162

Please sign in to comment.