projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement MachineKey.Protect and MachineKey.Unprotect
[mono.git]
/
mcs
/
tests
/
test-primary-ctor-03.cs
1
class D(string arg) : Base (arg)
2
{
3
}
4
5
abstract class Base (object obj)
6
{
7
public string Prop { get; } = obj.ToString ();
8
}
9
10
class X
11
{
12
public static int Main ()
13
{
14
var d = new D ("test");
15
if (d.Prop != "test")
16
return 1;
17
18
return 0;
19
}
20
}