projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-03-23 Marek Safar <marek.safar@gmail.com>
[mono.git]
/
mcs
/
mcs
/
constant.cs
diff --git
a/mcs/mcs/constant.cs
b/mcs/mcs/constant.cs
index dd4b3e993701e9e1087a19e6c0145ec15d7eb22e..f141c8211105fc0be72f92192d4cf406b97669a7 100644
(file)
--- a/
mcs/mcs/constant.cs
+++ b/
mcs/mcs/constant.cs
@@
-226,7
+226,7
@@
namespace Mono.CSharp {
if (type == Type)
return IsDefaultValue;
- return
Type == TypeManager.null_type
;
+ return
this is NullLiteral
;
}
public abstract bool IsDefaultValue {