diff options
Diffstat (limited to 'mcs/class/referencesource/mscorlib/system/io/unmanagedmemorystream.cs')
-rw-r--r-- | mcs/class/referencesource/mscorlib/system/io/unmanagedmemorystream.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/mscorlib/system/io/unmanagedmemorystream.cs b/mcs/class/referencesource/mscorlib/system/io/unmanagedmemorystream.cs index 08936ac50cb..2960876b829 100644 --- a/mcs/class/referencesource/mscorlib/system/io/unmanagedmemorystream.cs +++ b/mcs/class/referencesource/mscorlib/system/io/unmanagedmemorystream.cs @@ -7,7 +7,7 @@ ** ** Class: UnmanagedMemoryStream ** -** <OWNER>Microsoft</OWNER> +** <OWNER>[....]</OWNER> ** ** Purpose: Create a stream over unmanaged memory, mostly ** useful for memory-mapped files. @@ -401,7 +401,7 @@ namespace System.IO { throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); if (buffer.Length - offset < count) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); - Contract.EndContractBlock(); // Keep this in sync with contract validation in ReadAsync + Contract.EndContractBlock(); // Keep this in [....] with contract validation in ReadAsync if (!_isOpen) __Error.StreamIsClosed(); if (!CanRead) __Error.ReadNotSupported(); @@ -580,7 +580,7 @@ namespace System.IO { throw new ArgumentOutOfRangeException("count", Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum")); if (buffer.Length - offset < count) throw new ArgumentException(Environment.GetResourceString("Argument_InvalidOffLen")); - Contract.EndContractBlock(); // Keep contract validation in sync with WriteAsync(..) + Contract.EndContractBlock(); // Keep contract validation in [....] with WriteAsync(..) if (!_isOpen) __Error.StreamIsClosed(); if (!CanWrite) __Error.WriteNotSupported(); |