Fix GetDelegateForFunctionPointer for generic types
commite3f98d2cbea4df208bf03b395b8fb66eee8535e1
authorGeoff Norton <gnorton@novell.com>
Thu, 19 Aug 2010 02:10:13 +0000 (18 22:10 -0400)
committerGeoff Norton <gnorton@novell.com>
Thu, 19 Aug 2010 02:10:13 +0000 (18 22:10 -0400)
tree57341cf2f159170ebb9b2951ca41644d07303aec
parent0c1b034f969b00dd44f5c16030521c589102fafa
Fix GetDelegateForFunctionPointer for generic types

MSFT .NET throws an ArgumentException if you attempt to call
GetDelegateForFunctionPointer for a generic type.
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs