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
Fix indentation, spacing.
[mono-project.git]
/
mcs
/
errors
/
cs1503-18.cs
blob
1c91dd8abffd7a05d97920f66c49ce430a2a6601
1
// CS1503: Argument `#1' cannot convert `int?' expression to type `System.Index'
2
// Line: 11
3
4
class
X
5
{
6
public static void
Main
()
7
{
8
string
x
=
null
;
9
string
y
=
null
;
10
11
var
res
=
x
?[
y
?.
Length
];
12
}
13
}