projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove some junk I left by accident
[mono.git]
/
mono
/
tests
/
verifier
/
valid_visibility_across_generic_instantiations.cs
1
using System;
2
3
class ArrayBase <T>
4
{
5
protected T[] arr;
6
}
7
8
class ArrayList<T> : ArrayBase <T>
9
{
10
public void map<V> (ArrayList<V> list) {
11
list.arr = null;
12
}
13
}
14
15
class Tests
16
{
17
public static void Main () {
18
ArrayList <int> arr = new ArrayList <int> ();
19
arr.map<string> (new ArrayList <string> ());
20
}
21
}