projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
tests
/
gtest-134.cs
diff --git
a/mcs/tests/gtest-134.cs
b/mcs/tests/gtest-134.cs
index ff49809f27159b7d82190d9a7bf1a625985e9285..df5709472c92c72cd026e4f99614c241242976e0 100644
(file)
--- a/
mcs/tests/gtest-134.cs
+++ b/
mcs/tests/gtest-134.cs
@@
-32,8
+32,7
@@
class Foo<T> {
// comparison will be false...
public String Fmt() {
- if (x is INullableValue && ((INullableValue)x).HasValue
- || !(x is INullableValue) && x != null)
+ if (x != null)
return x.ToString();
else
return "null";