flashcurd/Shared.Utilities — Issue #1: Insist methods accepting a reference type as a predicate value should throw ArgumentException if they are null.
Author: wattsm
Created: 2011-11-03 12:26:11+00:00
State: open

For example, IsNotEmpty accepts an IEnumerable, but if this is null then currently a NullReferenceException will be thrown. Ideally, anything which is required by the validation routine should itself be validated.