using System; using System.Linq.Expressions; public static class NotifyingProperty { public static void CreateDependent ( Expression> property, Func notifier, params Expression>[] dependents) { } } public class NotifyingPropertyTest { public void CreateDependent_NotifierNull () { int v = 0; NotifyingProperty.CreateDependent (() => v, null); } public void CreateDependent_DependentsNull () { Expression>[] dependents = null; int v = 0; NotifyingProperty.CreateDependent (() => v, () => null, dependents); } public static void Main () { } }