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
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git]
/
mcs
/
tests
/
gtest-exmethod-26.cs
blob
a6fde3c2eb0c7aadb29141e42322f0108b2ca0a8
1
// Compiler options: -r:gtest-exmethod-26-lib.dll
2
3
using
System
;
4
using
Test2
;
5
using
test
;
6
7
namespace
test
8
{
9
internal static class
TypeExtensions
10
{
11
public static bool
IsNullable
(
this
Type t
)
12
{
13
return true
;
14
}
15
}
16
}
17
namespace
testmono
18
{
19
class
MainClass
20
{
21
public static void
Main
()
22
{
23
string
s
=
""
;
24
if
(
s
.
GetType
().
IsNullable
()) {
25
Console
.
WriteLine
(
"aaa"
);
26
}
27
}
28
}
29
}