Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@ -0,0 +1,41 @@
using System;
using System.IO;
using System.Runtime.Serialization;
using System.ServiceModel.Channels;
namespace System.IO
{
public class PipeException : IOException
{
public PipeException ()
{
}
public PipeException (string message): base (message)
{
}
protected PipeException (SerializationInfo info, StreamingContext context)
: base (info, context)
{
}
public PipeException (string message, Exception inner)
: base (message, inner)
{
}
public PipeException (string message, int errorCode)
: base (message, errorCode)
{
}
public virtual int ErrorCode {
get {
// we re-use the HResult for the error code here.
return HResult;
}
}
}
}