projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
test-null-operator-07.cs
1
using System;
2
3
public static class C
4
{
5
static int Main()
6
{
7
int[] a = null;
8
var r = a?.EM ().EM ().EM () ?? "N";
9
if (r != "N")
10
return 1;
11
12
a?.EM ().EM ();
13
14
return 0;
15
}
16
17
static string EM (this object arg)
18
{
19
if (arg == null)
20
throw new ApplicationException ();
21
22
return "";
23
}
24
}