This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +0
-28
lines changed
Microsoft/Win32/SafeHandles Expand file tree Collapse file tree 9 files changed +0
-28
lines changed Original file line number Diff line number Diff line change 10
10
11
11
namespace Microsoft . Win32 . SafeHandles
12
12
{
13
- #if PROJECTN
14
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.IO.FileSystem" ) ]
15
- #endif
16
13
public sealed class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
17
14
{
18
15
private bool ? _isAsync ;
Original file line number Diff line number Diff line change 6
6
7
7
namespace System . IO
8
8
{
9
- #if PROJECTN
10
- [ Internal . Runtime . CompilerServices . RelocatedType ( "System.IO" ) ]
11
- [ Internal . Runtime . CompilerServices . RelocatedType ( "System.Runtime.Extensions" ) ]
12
- #endif
13
9
[ Serializable ]
14
10
public class EndOfStreamException : IOException
15
11
{
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ namespace System.IO
11
11
//
12
12
[ Serializable ]
13
13
[ Flags ]
14
- #if PROJECTN
15
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.IO.FileSystem.Primitives" ) ]
16
- #endif
17
14
public enum FileAccess
18
15
{
19
16
// Specifies read access to the file. Data can be read from the file and
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ namespace System.IO
12
12
// to the end of the file). To truncate a file or create it if it doesn't
13
13
// exist, use Create.
14
14
//
15
- #if PROJECTN
16
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.IO.FileSystem.Primitives" ) ]
17
- #endif
18
15
public enum FileMode
19
16
{
20
17
// Creates a new file. An exception is raised if the file already exists.
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ namespace System.IO
11
11
// We didn't expose a number of these values because we didn't believe
12
12
// a number of them made sense in managed code, at least not yet.
13
13
[ Flags ]
14
- #if PROJECTN
15
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.IO.FileSystem" ) ]
16
- #endif
17
14
public enum FileOptions
18
15
{
19
16
// NOTE: any change to FileOptions enum needs to be
Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ namespace System.IO
14
14
// FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h
15
15
//
16
16
[ Flags ]
17
- #if PROJECTN
18
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.IO.FileSystem.Primitives" ) ]
19
- #endif
20
17
public enum FileShare
21
18
{
22
19
// No sharing. Any request to open the file (by this process or another
Original file line number Diff line number Diff line change 9
9
10
10
namespace System . IO
11
11
{
12
- #if PROJECTN
13
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.IO.FileSystem" ) ]
14
- #endif
15
12
public partial class FileStream : Stream
16
13
{
17
14
private const FileShare DefaultShare = FileShare . Read ;
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ namespace System.IO
11
11
// Provides methods for processing file system strings in a cross-platform manner.
12
12
// Most of the methods don't do a complete parsing (such as examining a UNC hostname),
13
13
// but they will handle most string operations.
14
- #if PROJECTN
15
- [ Internal . Runtime . CompilerServices . RelocatedTypeAttribute ( "System.Runtime.Extensions" ) ]
16
- #endif
17
14
public static partial class Path
18
15
{
19
16
// Public static readonly variant of the separators. The Path implementation itself is using
Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ namespace System
19
19
/// when the instance is constructed. If there is no current SynchronizationContext
20
20
/// at the time of construction, the callbacks will be invoked on the ThreadPool.
21
21
/// </remarks>
22
- #if PROJECTN
23
- [ Internal . Runtime . CompilerServices . RelocatedType ( "System.Runtime.Extensions" ) ]
24
- #endif
25
22
public class Progress < T > : IProgress < T >
26
23
{
27
24
/// <summary>The synchronization context captured upon construction. This will never be null.</summary>
You can’t perform that action at this time.
0 commit comments