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 dependencies from https://github.com/dotnet/arcade build 20190729.1 (#15881)
[mono-project.git]
/
mcs
/
tests
/
test-null-operator-15.cs
blob
35f16ae6c264f75b272914b2e6c471773825e711
1
using
System
.
Linq
;
2
using
System
.
Collections
.
Generic
;
3
4
class
MM
5
{
6
public
IEnumerable
<
int
>
myEnumerable { get; set; }
7
}
8
9
class
Test
10
{
11
public static void
Main
()
12
{
13
MM myobject
=
null
;
14
(
myobject
?.
myEnumerable
?.
Any
()).
GetValueOrDefault
(
false
);
15
}
16
}