projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
test-null-operator-24.cs
1
using System;
2
3
class X
4
{
5
public int Field { get; set; }
6
7
public int F3 { get; set; }
8
}
9
10
class App
11
{
12
static void Main()
13
{
14
string s = null;
15
var x = new X {
16
Field = s?.ToString () == null ? 1 : 2
17
}.F3;
18
}
19
}