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

DynamicInvoke_MissingTypeForNonDefaultParameter_ThrowsArgumentException() private method

        public static void DynamicInvoke_MissingTypeForNonDefaultParameter_ThrowsArgumentException()
        {
            Delegate d = new IntIntDelegate(IntIntMethod);
            Assert.Throws<ArgumentException>("parameters", () => d.DynamicInvoke(7, Type.Missing));
        }
DelegateTests