[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryInfo.cs,1
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryInfo.cs,1.4,1.5 DirectoryNotFoundException.cs,1.5,1.6 EndOfStreamException.cs,1.5,1.6 FileInfo.cs,1.2,1.3 FileLoadException.cs,1.7,1.8 FileNotFoundException.cs,1.8,1.9 FileSystemInfo.cs,1.2,1.3 IOException.cs,1.8,1.9 PathTooLongException.cs,1.5,1.6 |
Date: |
Mon, 26 May 2003 00:41:23 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO
In directory subversions:/tmp/cvs-serv26070/runtime/System/IO
Modified Files:
DirectoryInfo.cs DirectoryNotFoundException.cs
EndOfStreamException.cs FileInfo.cs FileLoadException.cs
FileNotFoundException.cs FileSystemInfo.cs IOException.cs
PathTooLongException.cs
Log Message:
Add the CONFIG_SERIALIZATION option to the profiles.
Index: DirectoryInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/DirectoryInfo.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** DirectoryInfo.cs 23 May 2003 01:08:15 -0000 1.4
--- DirectoryInfo.cs 26 May 2003 04:41:21 -0000 1.5
***************
*** 45,48 ****
--- 45,49 ----
FullPath = Path.GetFullPath(path);
}
+ #if CONFIG_SERIALIZATION
internal DirectoryInfo(SerializationInfo info, StreamingContext context)
: base(info, context)
***************
*** 50,53 ****
--- 51,55 ----
// Nothing to do here.
}
+ #endif
// Properties.
Index: DirectoryNotFoundException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/DirectoryNotFoundException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** DirectoryNotFoundException.cs 7 Apr 2003 04:22:51 -0000 1.5
--- DirectoryNotFoundException.cs 26 May 2003 04:41:21 -0000 1.6
***************
*** 36,40 ****
public DirectoryNotFoundException(String msg, Exception inner)
: base(Errno.ENOTDIR, msg, inner) {}
! #if !ECMA_COMPAT
protected DirectoryNotFoundException(SerializationInfo info,
StreamingContext context)
--- 36,40 ----
public DirectoryNotFoundException(String msg, Exception inner)
: base(Errno.ENOTDIR, msg, inner) {}
! #if CONFIG_SERIALIZATION
protected DirectoryNotFoundException(SerializationInfo info,
StreamingContext context)
Index: EndOfStreamException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/EndOfStreamException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** EndOfStreamException.cs 7 Apr 2003 04:22:51 -0000 1.5
--- EndOfStreamException.cs 26 May 2003 04:41:21 -0000 1.6
***************
*** 35,39 ****
public EndOfStreamException(String msg, Exception inner)
: base(msg, inner) {}
! #if !ECMA_COMPAT
protected EndOfStreamException(SerializationInfo info,
StreamingContext context)
--- 35,39 ----
public EndOfStreamException(String msg, Exception inner)
: base(msg, inner) {}
! #if CONFIG_SERIALIZATION
protected EndOfStreamException(SerializationInfo info,
StreamingContext context)
Index: FileInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileInfo.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** FileInfo.cs 24 Apr 2003 06:05:03 -0000 1.2
--- FileInfo.cs 26 May 2003 04:41:21 -0000 1.3
***************
*** 45,48 ****
--- 45,49 ----
FullPath = Path.GetFullPath(path);
}
+ #if CONFIG_SERIALIZATION
internal FileInfo(SerializationInfo info, StreamingContext context)
: base(info, context)
***************
*** 50,53 ****
--- 51,55 ----
// Nothing to do here.
}
+ #endif
// Properties.
Index: FileLoadException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileLoadException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** FileLoadException.cs 7 Apr 2003 04:22:51 -0000 1.7
--- FileLoadException.cs 26 May 2003 04:41:21 -0000 1.8
***************
*** 61,65 ****
this.fileName = fileName;
}
! #if !ECMA_COMPAT
protected FileLoadException(SerializationInfo info,
StreamingContext context)
--- 61,65 ----
this.fileName = fileName;
}
! #if CONFIG_SERIALIZATION
protected FileLoadException(SerializationInfo info,
StreamingContext context)
***************
*** 153,157 ****
}
! #if !ECMA_COMPAT
// Get the serialization data for this object.
public override void GetObjectData(SerializationInfo info,
--- 153,157 ----
}
! #if CONFIG_SERIALIZATION
// Get the serialization data for this object.
public override void GetObjectData(SerializationInfo info,
Index: FileNotFoundException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileNotFoundException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** FileNotFoundException.cs 7 Apr 2003 04:22:51 -0000 1.8
--- FileNotFoundException.cs 26 May 2003 04:41:21 -0000 1.9
***************
*** 61,65 ****
this.fileName = fileName;
}
! #if !ECMA_COMPAT
protected FileNotFoundException(SerializationInfo info,
StreamingContext context)
--- 61,65 ----
this.fileName = fileName;
}
! #if CONFIG_SERIALIZATION
protected FileNotFoundException(SerializationInfo info,
StreamingContext context)
***************
*** 153,157 ****
}
! #if !ECMA_COMPAT
// Get ther serialization data for this object.
public override void GetObjectData(SerializationInfo info,
--- 153,157 ----
}
! #if CONFIG_SERIALIZATION
// Get ther serialization data for this object.
public override void GetObjectData(SerializationInfo info,
Index: FileSystemInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileSystemInfo.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** FileSystemInfo.cs 24 Apr 2003 06:05:03 -0000 1.2
--- FileSystemInfo.cs 26 May 2003 04:41:21 -0000 1.3
***************
*** 29,33 ****
[Serializable]
! public abstract class FileSystemInfo : MarshalByRefObject, ISerializable
{
// Internal state.
--- 29,36 ----
[Serializable]
! public abstract class FileSystemInfo : MarshalByRefObject
! #if CONFIG_SERIALIZATION
! , ISerializable
! #endif
{
// Internal state.
***************
*** 41,44 ****
--- 44,48 ----
OriginalPath = null;
}
+ #if CONFIG_SERIALIZATION
protected FileSystemInfo(SerializationInfo info, StreamingContext
context)
{
***************
*** 50,53 ****
--- 54,58 ----
FullPath = info.GetString("FullPath");
}
+ #endif
// Properties.
***************
*** 158,161 ****
--- 163,168 ----
}
+ #if CONFIG_SERIALIZATION
+
// Get the serialization data for this instance.
[ComVisible(false)]
***************
*** 170,173 ****
--- 177,182 ----
info.AddValue("FullPath", FullPath);
}
+
+ #endif
}; // class FileSystemInfo
Index: IOException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/IOException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** IOException.cs 24 Apr 2003 06:05:03 -0000 1.8
--- IOException.cs 26 May 2003 04:41:21 -0000 1.9
***************
*** 54,57 ****
--- 54,59 ----
HResult = hresult;
}
+ #endif
+ #if CONFIG_SERIALIZATION
protected IOException(SerializationInfo info, StreamingContext context)
: base(info, context) {}
Index: PathTooLongException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/PathTooLongException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** PathTooLongException.cs 7 Apr 2003 04:22:51 -0000 1.5
--- PathTooLongException.cs 26 May 2003 04:41:21 -0000 1.6
***************
*** 36,40 ****
public PathTooLongException(String msg, Exception inner)
: base(Errno.ENAMETOOLONG, msg, inner) {}
! #if !ECMA_COMPAT
protected PathTooLongException(SerializationInfo info,
StreamingContext context)
--- 36,40 ----
public PathTooLongException(String msg, Exception inner)
: base(Errno.ENAMETOOLONG, msg, inner) {}
! #if CONFIG_SERIALIZATION
protected PathTooLongException(SerializationInfo info,
StreamingContext context)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryInfo.cs,1.4,1.5 DirectoryNotFoundException.cs,1.5,1.6 EndOfStreamException.cs,1.5,1.6 FileInfo.cs,1.2,1.3 FileLoadException.cs,1.7,1.8 FileNotFoundException.cs,1.8,1.9 FileSystemInfo.cs,1.2,1.3 IOException.cs,1.8,1.9 PathTooLongException.cs,1.5,1.6,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography CryptographicException.cs,1.4,1.5 CryptographicUnexpectedOperationException.cs,1.4,1.5
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlException.cs,1.6,1.7
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography CryptographicException.cs,1.4,1.5 CryptographicUnexpectedOperationException.cs,1.4,1.5
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlException.cs,1.6,1.7
- Index(es):