Imported Upstream version 3.12.0

Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
Jo Shields
2015-01-13 10:44:36 +00:00
parent 8b9b85e7f5
commit 181b81b4a4
659 changed files with 12743 additions and 16300 deletions

View File

@ -136,6 +136,9 @@ namespace System.Web
public virtual int TotalBytes { get { NotImplemented (); return 0; } }
#if NET_4_5
public virtual ReadEntityBodyMode ReadEntityBodyMode { get { NotImplemented(); return ReadEntityBodyMode.Classic; } }
#endif
public virtual Uri Url { get { NotImplemented (); return null; } }
public virtual Uri UrlReferrer { get { NotImplemented (); return null; } }
@ -148,6 +151,12 @@ namespace System.Web
public virtual string [] UserLanguages { get { NotImplemented (); return null; } }
#if NET_4_5
public virtual void Abort ()
{
NotImplemented();
}
#endif
public virtual byte [] BinaryRead (int count)
{

View File

@ -232,6 +232,13 @@ namespace System.Web
get { return w.UserLanguages; }
}
#if NET_4_5
public void Abort ()
{
w.WorkerRequest.CloseConnection();
}
#endif
public override byte [] BinaryRead (int count)
{
return w.BinaryRead (count);

View File

@ -105,6 +105,10 @@ namespace System.Web
public virtual bool SuppressContent { get { NotImplemented (); return false; } set { NotImplemented (); } }
#if NET_4_5
public virtual bool SuppressFormsAuthenticationRedirect { get { NotImplemented (); return false; } set { NotImplemented (); } }
#endif
public virtual bool TrySkipIisCustomErrors { get { NotImplemented (); return false; } set { NotImplemented (); } }

View File

@ -169,6 +169,13 @@ namespace System.Web
set { w.SuppressContent = value; }
}
#if NET_4_5
public override bool SuppressFormsAuthenticationRedirect {
get { return w.SuppressFormsAuthenticationRedirect; }
set { w.SuppressFormsAuthenticationRedirect = value; }
}
#endif
public override bool TrySkipIisCustomErrors {
get { return w.TrySkipIisCustomErrors; }
set { w.TrySkipIisCustomErrors = value; }