[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git] / mcs / tests / gtest-etree-24.cs
1 using System;
2 using System.Linq.Expressions;
3
4 public static class NotifyingProperty
5 {
6         public static void CreateDependent<TValue> (
7                 Expression<Func<TValue>> property,
8                 Func<object> notifier,
9                 params Expression<Func<object>>[] dependents)
10         {
11         }
12 }
13
14 public class NotifyingPropertyTest
15 {
16         public void CreateDependent_NotifierNull ()
17         {
18                 int v = 0;
19                 NotifyingProperty.CreateDependent (() => v, null);
20         }
21
22         public void CreateDependent_DependentsNull ()
23         {
24                 Expression<Func<object>>[] dependents = null;
25                 int v = 0;
26                 NotifyingProperty.CreateDependent (() => v, () => null, dependents);
27         }
28
29         public static void Main ()
30         {
31         }
32 }
33