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
retag
[mcs.git]
/
errors
/
gcs1720.cs
blob
594122440774e21dd3d70f0dc1a7411f35235901
1
// CS1720: Expression will always cause a `System.NullReferenceException'
2
// Line: 11
3
// Compiler options: -warnaserror -warn:1
4
5
using
System
;
6
7
public class
Tester
8
{
9
public static void
Foo
()
10
{
11
Console
.
WriteLine
(
default
(
Tester
).
ToString
());
12
}
13
}