projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[bcl] Remove more NET_2_0 checks from class libs
[mono.git]
/
mcs
/
class
/
System.XML
/
System.Xml.Serialization
/
XmlReflectionImporter.cs
diff --git
a/mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
b/mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
index 1b6e3f68487344d9e8aa91658449a08893d5bf93..6338a8dc14fa969a063a25a33b655de5242ce88c 100644
(file)
--- a/
mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
+++ b/
mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
@@
-1086,10
+1086,6
@@
namespace System.Xml.Serialization {
bool CanBeNull (TypeData type)
{
-#if !NET_2_0 // idiotic compatibility
- if (type.Type == typeof (XmlQualifiedName))
- return false;
-#endif
return !type.Type.IsValueType || type.IsNullable;
}