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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
test-null-operator-21.cs
blob
bb4d04e292632d536a758e0e7872e0f56a4c51a8
1
class
X
2
{
3
public object
MyChildObject
;
4
}
5
6
interface
ISomeInterface
7
{
8
}
9
10
class
MainClass
11
{
12
public static void
Main
()
13
{
14
X myObject
=
null
;
15
var
x
= (
myObject
?.
MyChildObject
is
ISomeInterface
);
16
}
17
}