repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs1728-2.cs
blob
8af73f45747e94ed2cfb3d4fd9b5f8455d70d417
1
// CS1728: Cannot create delegate from method `long?.GetValueOrDefault()' because it is a member of System.Nullable<T> type
2
// Line: 10
3
4
using
System
;
5
6
class
C
7
{
8
public static void
Main
()
9
{
10
Func
<
long
>
a
=
new long
?().
GetValueOrDefault
;
11
}
12
}