You've already forked linux-packaging-mono
Imported Upstream version 4.2.2.10
Former-commit-id: 925376e1db46149d14f7949fcd7b08805ea8aba9
This commit is contained in:
13
mcs/tests/test-null-operator-20.cs
Normal file
13
mcs/tests/test-null-operator-20.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
class M
|
||||
{
|
||||
public static void Main ()
|
||||
{
|
||||
string s = null;
|
||||
s?.CompareTo ("xx").CompareTo(s?.EndsWith ("x")).GetHashCode ();
|
||||
|
||||
string s1 = "abcd";
|
||||
string s2 = null;
|
||||
|
||||
var idx = s1.Substring(1)[s2?.GetHashCode () ?? 0].GetHashCode ();
|
||||
}
|
||||
}
|
@@ -1 +1 @@
|
||||
08b0ee8ce9da391ffa51e1cc3eb0a3611adf5b5e
|
||||
7e6d08d8664395f0f877e388bd40276cefe0c2e9
|
Reference in New Issue
Block a user