예제 #1
0
        public void GetMethod_StaticVoid()
        {
            var member = NormalizingMemberInfoFromExpressionUtility.GetMethod(() => DomainType.StaticVoidMethod());

            var expected = typeof(DomainType).GetMethod("StaticVoidMethod");

            Assert.That(member, Is.EqualTo(expected));
        }
예제 #2
0
 public void GetGenericMethodDefinition_StaticVoid_NonGenericMethod()
 {
     NormalizingMemberInfoFromExpressionUtility.GetGenericMethodDefinition(() => DomainType.StaticVoidMethod());
 }