diff options
author | Justin Van Patten <jvp@justinvp.com> | 2017-01-26 09:14:27 +0300 |
---|---|---|
committer | Karel Zikmund <karelz@users.noreply.github.com> | 2017-01-26 09:14:27 +0300 |
commit | bcdf9da94ca6accfc17bc782c50c6ba1b0631b68 (patch) | |
tree | b08accb22518a935cfaac4ae3829406964d31032 /src/System.Net.Security | |
parent | 53c4b68a225d90db216b672ce5674a8ac139314c (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.cs | 2 |
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) { } } |