projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74dfff7
)
XmlDocument.InnerText is overriden to explicitly throw IOE in 4.0.
author
Atsushi Eno
<atsushi@ximian.com>
Mon, 18 Oct 2010 12:04:02 +0000
(21:04 +0900)
committer
Atsushi Eno
<atsushi@ximian.com>
Mon, 18 Oct 2010 12:04:02 +0000
(21:04 +0900)
mcs/class/System.XML/System.Xml/XmlDocument.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System.XML/System.Xml/XmlDocument.cs
b/mcs/class/System.XML/System.Xml/XmlDocument.cs
index 7e2ad744a162262085a01469a91f401b10f51956..3378021cd6dfc39c2e9ddaa07fdeb86ed0dc0b24 100644
(file)
--- a/
mcs/class/System.XML/System.Xml/XmlDocument.cs
+++ b/
mcs/class/System.XML/System.Xml/XmlDocument.cs
@@
-179,6
+179,12
@@
namespace System.Xml
get { return implementation; }
}
+#if NET_4_0
+ public override string InnerText {
+ set { throw new InvalidOperationException (); }
+ }
+#endif
+
public override string InnerXml {
get {
return base.InnerXml;