[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlFragmentTextWriter.cs,
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlFragmentTextWriter.cs,1.2,1.3 XmlTextWriter.cs,1.6,1.7 |
Date: |
Sun, 08 Dec 2002 23:52:58 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv17944/System.Xml
Modified Files:
XmlFragmentTextWriter.cs XmlTextWriter.cs
Log Message:
Fix some pedantic issues turned up by csc.
Index: XmlFragmentTextWriter.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlFragmentTextWriter.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** XmlFragmentTextWriter.cs 6 Dec 2002 04:58:32 -0000 1.2
--- XmlFragmentTextWriter.cs 9 Dec 2002 04:52:56 -0000 1.3
***************
*** 33,42 ****
internal class XmlFragmentTextWriter : XmlTextWriter
{
- // Internal state.
- private StringWriter writer;
-
// Constructor.
public XmlFragmentTextWriter()
! : base(writer = new StringWriter())
{
// Make the writer automatically shift to the
content
--- 33,39 ----
internal class XmlFragmentTextWriter : XmlTextWriter
{
// Constructor.
public XmlFragmentTextWriter()
! : base(new StringWriter())
{
// Make the writer automatically shift to the
content
***************
*** 49,53 ****
{
Close();
! return writer.ToString();
}
--- 46,50 ----
{
Close();
! return ((StringWriter)writer).ToString();
}
Index: XmlTextWriter.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlTextWriter.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** XmlTextWriter.cs 8 Dec 2002 06:24:40 -0000 1.6
--- XmlTextWriter.cs 9 Dec 2002 04:52:56 -0000 1.7
***************
*** 30,34 ****
{
// Internal state.
! private TextWriter writer;
private System.Xml.Formatting formatting;
private int indentation;
--- 30,34 ----
{
// Internal state.
! internal TextWriter writer;
private System.Xml.Formatting formatting;
private int indentation;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlFragmentTextWriter.cs,1.2,1.3 XmlTextWriter.cs,1.6,1.7,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/csunit TestMain.cs,1.8,1.9 TestResult.cs,1.3,1.4 TestWriterResult.cs,1.3,1.4
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.541,1.542
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/csunit TestMain.cs,1.8,1.9 TestResult.cs,1.3,1.4 TestWriterResult.cs,1.3,1.4
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.541,1.542
- Index(es):