projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New test.
[mono.git]
/
mono
/
tests
/
cas
/
demand
/
selfdeny.cs
1
using System;
2
using System.Security.Permissions;
3
4
public class Program {
5
6
[SecurityPermission (SecurityAction.Deny, UnmanagedCode=true)]
7
[SecurityPermission (SecurityAction.Demand, UnmanagedCode=true)]
8
static int Test ()
9
{
10
Console.WriteLine ("*0* Expected call to Test()");
11
return 0;
12
}
13
14
static int Main ()
15
{
16
return Test ();
17
}
18
}