projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[appletls] Trust SecTrustResult.Proceed as well. Fixes #58411.
[mono.git]
/
mcs
/
tests
/
dtest-collectioninit-01.cs
1
using System;
2
using System.Collections;
3
using System.Collections.Generic;
4
5
public class Test
6
{
7
class Wrap
8
{
9
List<short> numbers = new List<short> ();
10
11
public dynamic Numbers {
12
get {
13
return numbers;
14
}
15
}
16
}
17
18
public static int Main ()
19
{
20
var a = new Wrap () {
21
Numbers = { 3, 9 }
22
};
23
24
if (a.Numbers [1] != 9)
25
return 1;
26
27
Console.WriteLine ("OK");
28
return 0;
29
}
30
}
31