Yes I can :)


On Mon, Jan 20, 2014 at 10:51 PM, Simon Cropp <notifications@github.com>wrote:

> In
> src/NServiceBus.Core/Unicast/Subscriptions/MessageDrivenSubscriptions/SubcriberSideFiltering/SubscriptionPredicatesEvaluator.cs:
>
> > @@ -22,11 +22,18 @@ public IList<Predicate<object>> GetConditionsForMessage(object message)
> >              var result = new List<Predicate<object>>();
> >
> >              lock (locker)
> > -                if (messageTypeToConditionLookup.ContainsKey(message.GetType()))
> > -                    foreach (var condition in messageTypeToConditionLookup[message.GetType()])
> > +            {
> > +                List<Predicate<object>> conditionLookup;
> > +                if (messageTypeToConditionLookup.TryGetValue(message.GetType(), out conditionLookup))
>
> @andreasohlund <https://github.com/andreasohlund> great. can u write a
> failing unit test that proves this is an issue
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Particular/NServiceBus/pull/1899/files#r9019852>
> .
>