projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[metadata/corlib] Add apfs to list of fixed drive types
[mono.git]
/
mono
/
tests
/
bug-461867.cs
diff --git
a/mono/tests/bug-461867.cs
b/mono/tests/bug-461867.cs
index eb2d89d63b4206474ce007028465218fedfbac73..39290ab1eae4b85a7e0c83f4a8d4f54d2804a5c8 100644
(file)
--- a/
mono/tests/bug-461867.cs
+++ b/
mono/tests/bug-461867.cs
@@
-1,12
+1,18
@@
using System;
using System.Runtime.InteropServices;
using System;
using System.Runtime.InteropServices;
+[AttributeUsage (AttributeTargets.Method)]
+sealed class MonoPInvokeCallbackAttribute : Attribute {
+ public MonoPInvokeCallbackAttribute (Type t) {}
+}
+
namespace TestApp
{
public delegate char MyDelegate(int x);
class Driver
{
namespace TestApp
{
public delegate char MyDelegate(int x);
class Driver
{
+ [MonoPInvokeCallbackAttribute (typeof (MyDelegate))]
static char Test (int x) { return (char)x; }
static int Main()
static char Test (int x) { return (char)x; }
static int Main()