You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.182
Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
parent
c911219690
commit
804b15604f
@ -260,6 +260,15 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
public void GetHRForException ()
|
||||
{
|
||||
Assert.AreEqual (0, Marshal.GetHRForException (null));
|
||||
Assert.IsTrue (Marshal.GetHRForException (new Exception ()) < 0);
|
||||
Assert.AreEqual (12345, Marshal.GetHRForException (new IOException ("test message", 12345)));
|
||||
}
|
||||
|
||||
[Test] // bug #319009
|
||||
public void StringToHGlobalUni ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user