Update comment and add test for Marshal.GetDelegateForFunctionPointer (#48362)
authorJan Kotas <jkotas@microsoft.com>
Wed, 17 Feb 2021 07:38:54 +0000 (23:38 -0800)
committerGitHub <noreply@github.com>
Wed, 17 Feb 2021 07:38:54 +0000 (23:38 -0800)
commit44d5fd11d470e22977e7bb17b21e3cda876cc9ce
tree78e68644097405e0c304de4211b0d0227bbd224a
parent09b48715d715942b68e46beefc348c7ed06921cc
Update comment and add test for Marshal.GetDelegateForFunctionPointer (#48362)

* Update comment and fix test for Marshal.GetDelegateForFunctionPointer argument validation

* Disable test on Mono
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs
src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/GetDelegateForFunctionPointerTests.cs