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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs1720-3.cs
blob
e4243a78c28947f04aee0bf0e7331b55126aac69
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
}