repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[sdks] Fix README.md
[mono-project.git]
/
mcs
/
tests
/
test-com-03.cs
blob
e7040178f41d3f6b5d97e08a7c4839041cd30a4d
1
// Compiler options: -r:test-com-03-lib.dll
2
3
using
System
;
4
5
class
X
6
{
7
void
Test_PropertyOptionalParameters
(
C c
)
8
{
9
// need to just run verifier on the method
10
if
(
c
==
null
)
11
return
;
12
13
Console
.
WriteLine
(
c
.
Value
);
14
c
.
Value2
=
1
;
15
}
16
17
public static int
Main
()
18
{
19
var
x
=
new
X
();
20
x
.
Test_PropertyOptionalParameters
(
null
);
21
22
return
0
;
23
}
24
}