namespace Microsoft.Win32.SafeHandles
{
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
-#endif
public sealed class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
{
private bool? _isAsync;
namespace System.IO
{
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedType("System.IO")]
- [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
-#endif
[Serializable]
public class EndOfStreamException : IOException
{
//
[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
// 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.
// 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
// 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
namespace System.IO
{
-#if PROJECTN
- [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
-#endif
public partial class FileStream : Stream
{
private const FileShare DefaultShare = FileShare.Read;
// 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
/// 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>