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
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
tests
/
test-null-operator-11.cs
blob
3f14ebea2a7122db33433602510314a04178ffc2
1
class
X
2
{
3
public static void
Main
()
4
{
5
A a
=
new
A
();
6
var
x
= (
a
.
b
?.
c
?.
d
as
A
)?.
b
;
7
}
8
}
9
10
class
A
11
{
12
public
B b { get; set; }
13
}
14
15
class
B
16
{
17
public
C c { get; set; }
18
}
19
20
class
C
21
{
22
public
D d { get; set; }
23
}
24
25
class
D
:
A
26
{
27
28
}