projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[runtime] Avoid indirection when building MonoContext on darwin
[mono.git]
/
mcs
/
tests
/
test-null-operator-10.cs
1
using System;
2
3
class Event
4
{
5
public string Name { get; set; }
6
public string Foo { get; set; }
7
}
8
9
class X
10
{
11
public static void Main ()
12
{
13
var evt = new Event();
14
string str = (evt.Foo != null ? evt?.Name : "").Trim();
15
}
16
}