コード例 #1
0
        public void AreMethodsEqualShouldBeTrue()
        {
            Type       t           = typeof(Type);
            MethodInfo methodInfo  = PlatformHelper.GetMethod(t, "GetType", new Type[] { }, true, false);
            MethodInfo methodInfo2 = PlatformHelper.GetMethod(t, "GetType", new Type[] { }, true, false);

            PlatformHelper.AreMembersEqual(methodInfo, methodInfo2).Should().BeTrue();
        }