summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-04-11 09:00:23 -0700
committerJan Kotas <jkotas@microsoft.com>2017-04-11 11:04:10 -0700
commitfb86c0294a999b2c7bd1e13da1fdc0d3c2f701e5 (patch)
tree5b3e2b130336654bf27ca838c2fee1a07d809d2b /src
parent0b6bbb0a54bb2afa32d9296a7dc12d51cfdbd91f (diff)
downloadcoreclr-fb86c0294a999b2c7bd1e13da1fdc0d3c2f701e5.tar.gz
coreclr-fb86c0294a999b2c7bd1e13da1fdc0d3c2f701e5.tar.bz2
coreclr-fb86c0294a999b2c7bd1e13da1fdc0d3c2f701e5.zip
Merge pull request dotnet/corert#3288 from dotnet/nmirror
Merge nmirror to master Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs3
-rw-r--r--src/mscorlib/shared/System/IO/EndOfStreamException.cs4
-rw-r--r--src/mscorlib/shared/System/IO/FileAccess.cs3
-rw-r--r--src/mscorlib/shared/System/IO/FileMode.cs3
-rw-r--r--src/mscorlib/shared/System/IO/FileOptions.cs3
-rw-r--r--src/mscorlib/shared/System/IO/FileShare.cs3
-rw-r--r--src/mscorlib/shared/System/IO/FileStream.cs3
-rw-r--r--src/mscorlib/shared/System/IO/Path.cs3
-rw-r--r--src/mscorlib/shared/System/Progress.cs3
9 files changed, 0 insertions, 28 deletions
diff --git a/src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs b/src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
index a1abdd0ef1..4eabe8f08c 100644
--- a/src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
+++ b/src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
@@ -10,9 +10,6 @@ using Microsoft.Win32;
namespace Microsoft.Win32.SafeHandles
{
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
-#endif
public sealed class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
{
private bool? _isAsync;
diff --git a/src/mscorlib/shared/System/IO/EndOfStreamException.cs b/src/mscorlib/shared/System/IO/EndOfStreamException.cs
index 52ab22cfbb..7c4b2b744f 100644
--- a/src/mscorlib/shared/System/IO/EndOfStreamException.cs
+++ b/src/mscorlib/shared/System/IO/EndOfStreamException.cs
@@ -6,10 +6,6 @@ using System.Runtime.Serialization;
namespace System.IO
{
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedType("System.IO")]
- [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
-#endif
[Serializable]
public class EndOfStreamException : IOException
{
diff --git a/src/mscorlib/shared/System/IO/FileAccess.cs b/src/mscorlib/shared/System/IO/FileAccess.cs
index eaa94f3483..c6e583b34a 100644
--- a/src/mscorlib/shared/System/IO/FileAccess.cs
+++ b/src/mscorlib/shared/System/IO/FileAccess.cs
@@ -11,9 +11,6 @@ namespace System.IO
//
[Serializable]
[Flags]
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
-#endif
public enum FileAccess
{
// Specifies read access to the file. Data can be read from the file and
diff --git a/src/mscorlib/shared/System/IO/FileMode.cs b/src/mscorlib/shared/System/IO/FileMode.cs
index 73ef68bb66..77f2fe6f20 100644
--- a/src/mscorlib/shared/System/IO/FileMode.cs
+++ b/src/mscorlib/shared/System/IO/FileMode.cs
@@ -12,9 +12,6 @@ namespace System.IO
// to the end of the file). To truncate a file or create it if it doesn't
// exist, use Create.
//
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
-#endif
public enum FileMode
{
// Creates a new file. An exception is raised if the file already exists.
diff --git a/src/mscorlib/shared/System/IO/FileOptions.cs b/src/mscorlib/shared/System/IO/FileOptions.cs
index d9188dd44e..ae8396a588 100644
--- a/src/mscorlib/shared/System/IO/FileOptions.cs
+++ b/src/mscorlib/shared/System/IO/FileOptions.cs
@@ -11,9 +11,6 @@ namespace System.IO
// We didn't expose a number of these values because we didn't believe
// a number of them made sense in managed code, at least not yet.
[Flags]
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
-#endif
public enum FileOptions
{
// NOTE: any change to FileOptions enum needs to be
diff --git a/src/mscorlib/shared/System/IO/FileShare.cs b/src/mscorlib/shared/System/IO/FileShare.cs
index a96ae5cff7..e9b9b5e32f 100644
--- a/src/mscorlib/shared/System/IO/FileShare.cs
+++ b/src/mscorlib/shared/System/IO/FileShare.cs
@@ -14,9 +14,6 @@ namespace System.IO
// FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h
//
[Flags]
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
-#endif
public enum FileShare
{
// No sharing. Any request to open the file (by this process or another
diff --git a/src/mscorlib/shared/System/IO/FileStream.cs b/src/mscorlib/shared/System/IO/FileStream.cs
index 7545d0c696..7db8518435 100644
--- a/src/mscorlib/shared/System/IO/FileStream.cs
+++ b/src/mscorlib/shared/System/IO/FileStream.cs
@@ -9,9 +9,6 @@ using System.Diagnostics;
namespace System.IO
{
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
-#endif
public partial class FileStream : Stream
{
private const FileShare DefaultShare = FileShare.Read;
diff --git a/src/mscorlib/shared/System/IO/Path.cs b/src/mscorlib/shared/System/IO/Path.cs
index d26530b8e2..b3a8783c32 100644
--- a/src/mscorlib/shared/System/IO/Path.cs
+++ b/src/mscorlib/shared/System/IO/Path.cs
@@ -11,9 +11,6 @@ namespace System.IO
// Provides methods for processing file system strings in a cross-platform manner.
// Most of the methods don't do a complete parsing (such as examining a UNC hostname),
// but they will handle most string operations.
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.Runtime.Extensions")]
-#endif
public static partial class Path
{
// Public static readonly variant of the separators. The Path implementation itself is using
diff --git a/src/mscorlib/shared/System/Progress.cs b/src/mscorlib/shared/System/Progress.cs
index 48a6a35e75..755e7719fe 100644
--- a/src/mscorlib/shared/System/Progress.cs
+++ b/src/mscorlib/shared/System/Progress.cs
@@ -19,9 +19,6 @@ namespace System
/// when the instance is constructed. If there is no current SynchronizationContext
/// at the time of construction, the callbacks will be invoked on the ThreadPool.
/// </remarks>
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
-#endif
public class Progress<T> : IProgress<T>
{
/// <summary>The synchronization context captured upon construction. This will never be null.</summary>