Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Van Patten <jvp@justinvp.com>2017-01-26 09:14:27 +0300
committerKarel Zikmund <karelz@users.noreply.github.com>2017-01-26 09:14:27 +0300
commitbcdf9da94ca6accfc17bc782c50c6ba1b0631b68 (patch)
treeb08accb22518a935cfaac4ae3829406964d31032 /src/System.Net.Security
parent53c4b68a225d90db216b672ce5674a8ac139314c (diff)
Use `throw null` in refs (#15499)
Use `throw null` in refs instead of `return default(T)` or `return 0`.
Diffstat (limited to 'src/System.Net.Security')
-rw-r--r--src/System.Net.Security/ref/System.Net.Security.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Net.Security/ref/System.Net.Security.cs b/src/System.Net.Security/ref/System.Net.Security.cs
index 1aa87f9067..eca6678174 100644
--- a/src/System.Net.Security/ref/System.Net.Security.cs
+++ b/src/System.Net.Security/ref/System.Net.Security.cs
@@ -155,7 +155,7 @@ namespace System.Net.Security
public override int Read(byte[] buffer, int offset, int count) { throw null; }
public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; }
public override void SetLength(long value) { }
- public virtual System.Threading.Tasks.Task ShutdownAsync() { return default(System.Threading.Tasks.Task); }
+ public virtual System.Threading.Tasks.Task ShutdownAsync() { throw null; }
public void Write(byte[] buffer) { }
public override void Write(byte[] buffer, int offset, int count) { }
}