Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit fb86c02

Browse files
committed
Merge pull request dotnet/corert#3288 from dotnet/nmirror
Merge nmirror to master Signed-off-by: dotnet-bot <[email protected]>
1 parent 0b6bbb0 commit fb86c02

File tree

9 files changed

+0
-28
lines changed

9 files changed

+0
-28
lines changed

src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111
namespace Microsoft.Win32.SafeHandles
1212
{
13-
#if PROJECTN
14-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
15-
#endif
1613
public sealed class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
1714
{
1815
private bool? _isAsync;

src/mscorlib/shared/System/IO/EndOfStreamException.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66

77
namespace System.IO
88
{
9-
#if PROJECTN
10-
[Internal.Runtime.CompilerServices.RelocatedType("System.IO")]
11-
[Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
12-
#endif
139
[Serializable]
1410
public class EndOfStreamException : IOException
1511
{

src/mscorlib/shared/System/IO/FileAccess.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ namespace System.IO
1111
//
1212
[Serializable]
1313
[Flags]
14-
#if PROJECTN
15-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
16-
#endif
1714
public enum FileAccess
1815
{
1916
// Specifies read access to the file. Data can be read from the file and

src/mscorlib/shared/System/IO/FileMode.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ namespace System.IO
1212
// to the end of the file). To truncate a file or create it if it doesn't
1313
// exist, use Create.
1414
//
15-
#if PROJECTN
16-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
17-
#endif
1815
public enum FileMode
1916
{
2017
// Creates a new file. An exception is raised if the file already exists.

src/mscorlib/shared/System/IO/FileOptions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ namespace System.IO
1111
// We didn't expose a number of these values because we didn't believe
1212
// a number of them made sense in managed code, at least not yet.
1313
[Flags]
14-
#if PROJECTN
15-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
16-
#endif
1714
public enum FileOptions
1815
{
1916
// NOTE: any change to FileOptions enum needs to be

src/mscorlib/shared/System/IO/FileShare.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ namespace System.IO
1414
// FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h
1515
//
1616
[Flags]
17-
#if PROJECTN
18-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
19-
#endif
2017
public enum FileShare
2118
{
2219
// No sharing. Any request to open the file (by this process or another

src/mscorlib/shared/System/IO/FileStream.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
namespace System.IO
1111
{
12-
#if PROJECTN
13-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
14-
#endif
1512
public partial class FileStream : Stream
1613
{
1714
private const FileShare DefaultShare = FileShare.Read;

src/mscorlib/shared/System/IO/Path.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ namespace System.IO
1111
// Provides methods for processing file system strings in a cross-platform manner.
1212
// Most of the methods don't do a complete parsing (such as examining a UNC hostname),
1313
// but they will handle most string operations.
14-
#if PROJECTN
15-
[Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.Runtime.Extensions")]
16-
#endif
1714
public static partial class Path
1815
{
1916
// Public static readonly variant of the separators. The Path implementation itself is using

src/mscorlib/shared/System/Progress.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ namespace System
1919
/// when the instance is constructed. If there is no current SynchronizationContext
2020
/// at the time of construction, the callbacks will be invoked on the ThreadPool.
2121
/// </remarks>
22-
#if PROJECTN
23-
[Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
24-
#endif
2522
public class Progress<T> : IProgress<T>
2623
{
2724
/// <summary>The synchronization context captured upon construction. This will never be null.</summary>

0 commit comments

Comments
 (0)