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

DynamicInvoke_DefaultParameter_NullableIntWithExplicitValue() private method

        public static void DynamicInvoke_DefaultParameter_NullableIntWithExplicitValue()
        {
            Assert.Equal(
                (int?)42,
                (int?)(new NullableIntWithDefaultValue(NullableIntMethod)).DynamicInvoke(new object[] { (int?)42 }));
        }
DelegateTests