summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-12-13 04:19:55 -0800
committerGitHub <noreply@github.com>2016-12-13 04:19:55 -0800
commit1cfbb8d79d65ea972eed8d73458fdf93697d031e (patch)
tree0f0a44b613308b3db18970ecb217924c0df58464 /src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs
parenta6b60a049a78480e651e8c791fed43ffc3846438 (diff)
downloadcoreclr-1cfbb8d79d65ea972eed8d73458fdf93697d031e.tar.gz
coreclr-1cfbb8d79d65ea972eed8d73458fdf93697d031e.tar.bz2
coreclr-1cfbb8d79d65ea972eed8d73458fdf93697d031e.zip
Delete HostProtection attributes (#8610)
Diffstat (limited to 'src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs')
-rw-r--r--src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs b/src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs
index f73b5d041f..d78632639b 100644
--- a/src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs
+++ b/src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs
@@ -265,7 +265,6 @@ namespace System.IO {
if (!_isOpen) __Error.StreamIsClosed();
}
- [HostProtection(ExternalThreading=true)]
[ComVisible(false)]
public override Task FlushAsync(CancellationToken cancellationToken) {
@@ -422,7 +421,6 @@ namespace System.IO {
return nInt;
}
- [HostProtection(ExternalThreading = true)]
[ComVisible(false)]
public override Task<Int32> ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) {
if (buffer==null)
@@ -620,7 +618,6 @@ namespace System.IO {
return;
}
- [HostProtection(ExternalThreading = true)]
[ComVisible(false)]
public override Task WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) {