System.Tests.DelegateTests.DynamicInvoke_DefaultParameter_DateTimeParameterWithExplicitValue C# (CSharp) Method

DynamicInvoke_DefaultParameter_DateTimeParameterWithExplicitValue() private method

        public static void DynamicInvoke_DefaultParameter_DateTimeParameterWithExplicitValue()
        {
            Assert.Equal(
                new DateTime(43),
                (DateTime)(new DateTimeWithDefaultValueAttribute(DateTimeMethod)).DynamicInvoke(new object[] { new DateTime(43) }));
        }
DelegateTests