public static void DynamicInvoke_TypeDoesntExactlyMatchRefValueType_ThrowsArgumentException()
{
Delegate d = new RefIntDelegate(RefIntMethod);
Assert.Throws<ArgumentException>(null, () => d.DynamicInvoke((uint)7));
Assert.Throws<ArgumentException>(null, () => d.DynamicInvoke(IntEnum.One));
}