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

DynamicInvoke_DefaultParameter_ValueTypeParameterWithExplicitValue() private method

        public static void DynamicInvoke_DefaultParameter_ValueTypeParameterWithExplicitValue()
        {
            Assert.Equal(
                1,
                ((CustomValueType)(new ValueTypeWithDefaultValue(ValueTypeMethod)).DynamicInvoke(new object[] { new CustomValueType { Id = 1 } })).Id);
        }
DelegateTests