* support-test-*.cs: Rename from test-*-p2.cs.
[mono.git] / mono / tests / cas / inheritance / README
1 * InheritanceDemand
2
3 notused.cs      StrongNameIdentityPermission on unused class, members ...
4
5 cas1.cs         StrongNameIdentityPermission on abstract class
6 cas2.cs         StrongNameIdentityPermission on virtual method
7 cas3.cs         StrongNameIdentityPermission on interface member
8
9 The cas#.cs tests are compiled two times. The first time (a) they aren't 
10 strongnamed (and not even delay-signed) using the cas.snk keypair. The second
11 time (b) they are strongnamed using cas.snk.
12
13 noncas1.cs      Non CAS (PrincipalPermission) on class (failure)
14 noncas2.cs      Non CAS (PrincipalPermission) on class (success)
15 noncas3.cs      Non CAS (PrincipalPermission) on method (failure)
16 noncas4.cs      Non CAS (PrincipalPermission) on method (success)
17
18 refload1.cs     Load assembly library1a (success)
19 refload2.cs     Load assembly library1b (success)
20 refload3.cs     Load assembly library2a (success)
21 refload4.cs     Load assembly library2b (success)
22 reftype1.cs     Load assembly library1a and access it's types
23 reftype2.cs     Load assembly library1b and access it's types
24 reftype3.cs     Load assembly library2a and access it's types
25 reftype4.cs     Load assembly library2b and access it's types
26 library1.cs     Inheritance (StrongName) on a class
27 library2.cs     Inheritance (StrongName) on a method
28
29 The library#.cs assemblies are compiled two times. The first time (a) they 
30 aren't strongnamed (and not even delay-signed) using the cas.snk keypair. The
31 second time (b) it is strongnamed using cas.snk.
32
33
34 Notes
35
36 * Inheritance checks are done at load time so SecurityException are mostly
37   uncatchable (unhandled) - except when reflection is being used.
38
39 * Changing SecurityManager.SecurityEnabled has _NO_ effect on 
40   InheritanceDemand, even for classes that aren't yet loaded.