linux-packaging-mono/mcs/tests/gtest-etree-24.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

34 lines
629 B
C#

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