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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs1061-15.cs
blob
489488192a5136ed6c0e20320e4e50f8c695eb8d
1
// CS1061: Type `int' does not contain a definition for `GetValueOrDefault' and no extension method `GetValueOrDefault' of type `int' could be found. Are you missing `System.Collections.Generic' using directive?
2
// Line: 9
3
4
class
C
5
{
6
static void
Main
()
7
{
8
int
?
i
=
4
;
9
var
m
=
i
?.
GetValueOrDefault
();
10
}
11
}