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
update readme (#21797)
[mono-project.git]
/
mcs
/
tests
/
test-null-operator-18.cs
blob
ad0d72e9b7365033e842cbf5a85f3ad2586ec2a8
1
using
System
;
2
3
static class
MainClass
4
{
5
public static void
Main
()
6
{
7
TestBug
();
8
}
9
10
public static void
TestBug
()
11
{
12
int
?
value
=
null
;
13
value
?.
Test
();
14
}
15
16
public static void
Test
(
this int value
)
17
{
18
Console
.
WriteLine
(
"Not null"
);
19
}
20
}