This breaks out the nested FileStream in preparation for
moving the code down to corlib.
Will follow up with:
1. Rename of files (from Unix/Win32FS to FS.os.cs)
2. Moving of common code to FileStream.cs
3. Copy to corlib
4. Move ref to System.Runtime and type forward to corlib
5. Further prep work for bringing up UAP 10.1
Commit migrated from https://github.com/dotnet/corefx/commit/e3fc18c58396737ee5e6bc80acf508031d63cc8e
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter). I made the change programatically using a simple Roslyn-based tool.
Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
- Expose: Timer members, some exception types and members, ThreadExceptionEventArgs/Handler, Monitor.Wait with exitContext parameter
- Move CriticalHandle and remaining types from System.Runtime.Handles to System.Runtime, expose CriticalHandle[ZeroOr]MinusOneIsInvalid
- Revert base class of safe handle types that used to derive from SafeHandle[ZeroOr]MinusOneIsInvalid, and upgrade those projects to ns1.7
Commit migrated from https://github.com/dotnet/corefx/commit/de8eee4b26f5154698fddcd150a4c7487a69da64
* Add new ValueList<T> type, delete LowLevelList
* Rename Extract* -> As
* Rename to ArrayBuilder
* Clarify assert
* Fix comments
* Some refinement
* Tiny refinement for ZeroExtend
* Bugfix for ToArray
* Add XML docs to ArrayBuilder
* Perf bug: Check _count == 0, not _array == null, in ToArray
* Add comprehensive tests for ArrayBuilder
* Refactor System.Linq.Expressions to use the new ArrayBuilder
* Respond to PR feedbck no. 1
* Include the file in some assemblies that are using it indirectly thru EnumerableHelpers
* Remove AddRange and ZeroExtend for now
* Remove GetEnumerator
* Remove *InDebug methods
* Change resizing pattern back to that of List's
* Some nits in the tests
* Remove _count == 0 optimization from EnsureCapacity
* Handle arrays that go past 1B elements
* Fix compile and test errors
* Better seed generation
* Remove comment on Array.Resize
Commit migrated from https://github.com/dotnet/corefx/commit/9eaf364b8ca8180bace20aab188b1efe6a55835f
The previous commit added usage of StreamHelpers.cs. The dependency is only on some validation routines, but the same file also includes usage of ArrayPool, and thus the build breaks without a dependency on System.Buffers. Since we don't currently have another need for System.Buffers in System.IO (this could change in the future), for now I'm splitting the StreamHelpers.cs file into two files, one that needs ArrayPool, and one that doesn't, so that System.IO can include only the latter.
Commit migrated from https://github.com/dotnet/corefx/commit/eb211927ca0fe0196f992caeedb5260bcb1e15d6
Adds negative tests for Begin/End, removes unnecessary block for `\\.\`
paths.
(The block for `\\.\` paths fulfills a need that predates our supported
Windows OSes. You cannot inadvertently mess up "raw" drives. In addition
we currently allow `\\?\` which is another form of device path access.)
Commit migrated from https://github.com/dotnet/corefx/commit/5376c25bea9523265696ed5806f3dc8b51bbbf25
- .CoreCLR.cs: CoreCLR-runtime specific files
- .CoreRT.cs: CoreRT-runtime specifc files
- .Uap.cs: Universal app platform specific files. Both UAP (Universal App Platform) and UWP (Universal Windows Platform) have been used interchangeably. I have picked UAP for the file names since it is the name used in the RID (e.g. uap101). There are number of places where UWP is used in the comments and such - I have not done anything about those.
Update documentation to match the current state of affairs
- Delete stale guidance for facade projects
- Update lists and examples to use the current RIDs
- Fix some typos
Fixes issue dotnet/corefx#9875.
Commit migrated from https://github.com/dotnet/corefx/commit/1ef561911eeabbee76e764946e40358fcd5ba144
Remove references to all depprojs where the exact same file can be
included via harvesting.
Remove all depproj's that are no longer referenced.
The only depprojs that remain are those that are required for live p2p
references.
Commit migrated from https://github.com/dotnet/corefx/commit/d5ea64de4e7092aed686faabfa2a638fe7a322b8
My previous change to reuse reference assemblies from past packages
caused some packages to downgrade reference assembly versions.
Since our references build against packages (LKG) some assemblies higher
in the stack reference the old, higher, versions. This caused the
compiler to complain that types were referenced in a higher version than
what was consumed by the compiler.
Temporarily use project-references to get past this and produce a
consistent set of packages. This change can be reverted after we
update to a set of packages produced with this change.
Commit migrated from https://github.com/dotnet/corefx/commit/5c2c44095544cf4d1f2267cc2372cfc1a748c4c6