projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2002-10-18 Duncan Mak <duncan@ximian.com>
[mono.git]
/
mcs
/
class
/
System.XML
/
System.Xml
/
XmlProcessingInstruction.cs
diff --git
a/mcs/class/System.XML/System.Xml/XmlProcessingInstruction.cs
b/mcs/class/System.XML/System.Xml/XmlProcessingInstruction.cs
index 47ffe04392e1caca9ab12189c1a2a809e435fe5e..c328935a7feb8f44cf52a6dd55e98d3cef4a1df7 100644
(file)
--- a/
mcs/class/System.XML/System.Xml/XmlProcessingInstruction.cs
+++ b/
mcs/class/System.XML/System.Xml/XmlProcessingInstruction.cs
@@
-20,6
+20,9
@@
namespace System.Xml
protected internal XmlProcessingInstruction (string target, string data, XmlDocument doc) : base(doc)
{
protected internal XmlProcessingInstruction (string target, string data, XmlDocument doc) : base(doc)
{
+ if (data == null)
+ data = String.Empty;
+
this.target = target;
this.data = data;
}
this.target = target;
this.data = data;
}
@@
-35,11
+38,10
@@
namespace System.Xml
set { data = value; }
}
set { data = value; }
}
- [MonoTODO]
public override string InnerText
{
public override string InnerText
{
- get {
throw new NotImplementedException ()
; }
- set {
throw new NotImplementedException ()
; }
+ get {
return Data
; }
+ set {
data = value
; }
}
public override string LocalName
}
public override string LocalName