Commit Graph
1561 Commits
Author SHA1 Message Date
Dan Moseley 651310ae61 Typos etc (dotnet/corefx#37349)
Commit migrated from https://github.com/dotnet/corefx/commit/b57618e6d1caa03c809e343885f06a5b0791b2c2
2019-05-01 21:14:26 -07:00
Jan Kotas e0fdf03bbe Unify WIN32_FIND_DATA (dotnet/corefx#37158)
Commit migrated from https://github.com/dotnet/corefx/commit/51922de496a713568b493e791c60e419042d19b5
2019-04-24 17:06:30 -07:00
Jan Kotas 836b524726 Fix CPINFOEXW definition (dotnet/corefx#37131)
* Fix CPINFOEXW definition

* Unify MAX_PATH definition and switch to use it for GetCPInfoEx


Commit migrated from https://github.com/dotnet/corefx/commit/24efeca2cb7e8a83125ecdbc62c95040fddabdf2
2019-04-24 11:46:42 -04:00
Carlos Sanchez Lopez 24545a60b2 Directory.Move behaves differently on Unix vs. Windows (dotnet/corefx#37121)
* Directory.Move behaves differently on Unix vs. Windows

We will now throw an exception in Unix platforms like in Windows, if the destination path already exists.

* Modifying ExistingDirectory test method that verifies Move overwrite so its called by all platforms.

We already had a test method that tests Move when the destination path exists. I simply removed the platform attribute that restricted it to Windows and renamed the test method so its universal (as opposed to platform specific).

Commit migrated from https://github.com/dotnet/corefx/commit/f9c85c033361ee5bfcf43707dc6d29731f8bc3cb
2019-04-23 13:46:50 -07:00
Tanner Gooding 5a5ed7652a Regenerating reference sources in order to reorder enum fields (dotnet/corefx#37045)
Commit migrated from https://github.com/dotnet/corefx/commit/17382def0f680653870c31af1acf086ac41dcc0b
2019-04-23 13:40:45 -07:00
Hugh Bellamy e07a068d78 Fix LsaOpenPolicy interop definition
* Move Lsa handles to Interop code

* Fix implementation of LsaOpenPolicy

* Move LSA_STRING and LSA_UNICODE_STRING to Advapi32

* Consolidate LSA_UNICODE_STRING and UNICODE_STRING


Commit migrated from https://github.com/dotnet/corefx/commit/f5e2679e76c102aea8218ae290ffb7f4d97e9cc2
2019-04-13 09:52:14 -07:00
Anirudh Agnihotry 41b0f07c94 Changes required to use newGenfacadeModel (dotnet/corefx#36126)
* making corefx compatible with newGenfacadesTask

correcting the new runtime variable

updating genfacades version to latest

fixes uap build and removes extra seed ype preferences for uapaot

* adding build configuration, comments and updating genfacadwa version

* fixing build  for netcoreapaot

* removing netcoreappaot build from all configurations build


Commit migrated from https://github.com/dotnet/corefx/commit/52206f12e2a34b708f33304d9b076b4958fbaa5e
2019-04-08 16:01:30 -07:00
Viktor 7e4b5f9b01 Update src folder
Commit migrated from https://github.com/dotnet/corefx/commit/817c36a05ef2d92e59ce6f5a37e2be50076361b3
2019-04-02 19:21:57 +02:00
Dávid Kaya 7470570d4b Added support for UF_HIDDEN flag on macOS and FreeBSD (dotnet/corefx#29323) (dotnet/corefx#34560)
* Added support for UF_HIDDEN flag on macOS and FreeBSD (dotnet/corefx#29323)

* Changes based on review

* Reverted UserFlags field

* Sorted include in csproj

* Changed comparison style

* Reverted UserFlags field

* Fixed parentheses

* Changes based on PR review

* Add missing newline

* Add missing newline


Commit migrated from https://github.com/dotnet/corefx/commit/b37f0185ac05c9431389f333f5b2b0fc5fe93e6a
2019-03-28 09:56:08 -04:00
Nick Schonning 07746c980c typo: Double word "in" (dotnet/corefx#36270)
* typo: Double word "in"

* Update src/System.Console/src/System/Console.cs

Co-Authored-By: nschonni <[email protected]>


Commit migrated from https://github.com/dotnet/corefx/commit/be1561c8fd02411c60edf551aa2c4f48377281d6
2019-03-24 13:41:37 -07:00
Nick Schonning c4db72fc2e typo: Double word "the" (dotnet/corefx#36274)
* typo: Double word "the"

* Apply suggestions from code review

Co-Authored-By: nschonni <[email protected]>


Commit migrated from https://github.com/dotnet/corefx/commit/aa67d40064f652b48f7ee0cd85dbfe39c7deebac
2019-03-24 13:40:10 -07:00
Adam Sitnik 72bb9d9a30 remove System.IO.FileSystem.PerformanceTests
Commit migrated from https://github.com/dotnet/corefx/commit/7179d4fe52013723574c9994df4caa3244156a9a
2019-03-05 07:09:29 +01:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Ahson Khan 4fed6ab881 Auto-generate the reference assemblies and separate type forwards (dotnet/corefx#35557)
* Auto-generate the reference assemblies

* Add back type forwards.

* Revert "Add back type forwards."

This reverts commit dotnet/corefx@3acf74aabb.

* Add back TypeForwardedTo in .Forward.cs files

* Add new type forward files to the csproj files

* Add back if-defs and move TestUtilities comment from ref to source

* Remove duplicate definitions, delete unnecessary manual files,

* Fix build breaks

* Add back missing AsyncMethodBuilderAttr to S.Runtime ref

* Fix typo between XmlDocument and XPath.XDocument

* Add type forward fild missed from previous commit

* Fix ECDiffieHellmanCngPublicKey internal ctor for netfx 4.6.1

* Remove "this type was moved to comments" from the type forwards.

* Add back the Xml and Debugger* attributes to Xml.ReaderWriter

* Add back struct layout attributes

* Add back attributes missing (highlighted from api compat)

* Add missing toolbox item attribute in s.data.common.

* Add missing struct layout attributes and remove unnecessary additions

* Add back InterfaceTypeAttribute


Commit migrated from https://github.com/dotnet/corefx/commit/16689aa0a933517dc45465fc6edb6223222414a6
2019-02-27 19:39:21 -08:00
Tomas Weinfurt 953477d303 improve detection for ReadOnly_FileSystemHelper (dotnet/corefx#35531)
* improve detection for ReadOnly_FileSystemHelper

* feedback from review

* fix bad resolve


Commit migrated from https://github.com/dotnet/corefx/commit/7d4f25f1f503f91dd680d6e2c4cb556fd4f631e4
2019-02-26 15:11:39 -08:00
Alaa Masoud 6f896586c0 Remove dead code (dotnet/corefx#35430)
Commit migrated from https://github.com/dotnet/corefx/commit/000aa2e0740524bdc2db690201e1b3521dd417a3
2019-02-19 17:04:45 -08:00
Viktor Hofer 42935a78b0 Remove old TestCategories property (dotnet/corefx#35397)
Commit migrated from https://github.com/dotnet/corefx/commit/18452453fe8de55a065841798eb5e7a56c3436cb
2019-02-18 21:40:02 -05:00
Krzysztof Wicher 3ed51b67e9 Fix casing of files to get closer to ./build.sh -allConfiguration working on linux (dotnet/corefx#35085)
* Rename directories to use CamelCasing

* Fix CsProj files to match file names and their casing

* fix couple of Compile items which were not in csproj file


Commit migrated from https://github.com/dotnet/corefx/commit/8c5260061b11323dfd97fbab614d54402405513f
2019-02-07 10:41:44 -08:00
Dan Moseley bb0d84f522 Some test fixes (dotnet/corefx#35092)
* Disable Media test on NETFX

* Fix S.R.E for Uapaot

* Disable varargs for PN

* missing method 'AssemblyLoadContext..ctor(bool)

* IO test

* Fix UapAot RuntimeInformation tests

* Set correct tfm for AppDomainTests

* Merge driveonly tests into one

* Revert math


Commit migrated from https://github.com/dotnet/corefx/commit/0a751af9afe28042a720411925e6e6c55bdc10cc
2019-02-06 16:53:59 +01:00
Anirudh Agnihotry 9cf32412ae setnanoseconds disabled for mac (dotnet/corefx#34870)
Commit migrated from https://github.com/dotnet/corefx/commit/d68361f04cd8851b0e6fa58b5a7bd429cd26db58
2019-01-25 21:52:12 -05:00
Anirudh Agnihotry 4fa997ee8e making the milisecond test deterministic (dotnet/corefx#34734)
Commit migrated from https://github.com/dotnet/corefx/commit/673e1c171b95eeb0c23c980bd97aaf9b4f580ab9
2019-01-22 12:22:44 -05:00
Stephen Toub 13b43c3349 Move Environment to shared CoreLib (dotnet/corefx#34654)
Rather than having Environment partially live in corefx and call into an EnvironmentAugments type in CoreLib that in turn calls into an Environment type in CoreLib, we're just moving Environment to live in CoreLib.

To start that, this PR moves Environment and its dependencies from their current locations into the shared CoreLib.  Those changes will mirror over to coreclr.  After that, I'll fix it up to work in CoreLib. And once those changes are built and available back to corefx, I'll update System.Runtime.Extensions to just use the functionality from CoreLib and delete remaining unnecessary code from corefx.

Commit migrated from https://github.com/dotnet/corefx/commit/b2d890a311ff66857339c7dae493efa43237284c
2019-01-17 20:07:12 -05:00
Tomas Weinfurt 214e6c094a skip SetDateTimeMax test on 32b Unix platforms (dotnet/corefx#34595)
* skip SetDateTimeMax test on 32b Unix platforms

* s/OsHasMaxTime/SupportsLongMaxDateTime/g


Commit migrated from https://github.com/dotnet/corefx/commit/403deb436d91dcad4340fa45520d307767d297c9
2019-01-15 10:20:56 -08:00
Calvin Buckley 6ad8f5b8f6 Fix ConvertDirent for AIX by always returning PAL_DT_UNKNOWN (dotnet/corefx#34088)
* Fix ConvertDirent for AIX by always returning PAL_DT_UNKNOWN

I commited the sin of untested code, as this function wasn't wired
up to Mono's BCL until a few days ago, and I had triggered the
situation where I needed this working by purging stale build
artifacts.

What happened here was me being too clever; I tried stat, but
we only have the file name, and from the unmanaged call stack this
would run in, we'd have no way to get the directory it's in
(without butchering the function signature) to properly use stat
for non-cwd directories. This meant that the check would get random
garbage on the stack; sometimes the data for "..", sometimes
another function would clobber it, and it'd read that. This caused
the Mono gensources tool to act erratically, preventing the BCL
from building.

Fix this by always returning DT_UNKNOWN. This isn't ideal, but the
BCL seems to handle this with grace and does a stat afterwards
to properly fill in data. It's enough to get the Mono build from
scratch working again. (The stat bit was verified by me running the
syscall tracing tool, `truss` over it, plus Mono's JIT trace.)

* Handle DT_UNKNOWN cases in FileSystemEntry.Initialize

On some OSes like AIX, we return DT_UNKNOWN as a sentinel value,
because they don't have a type field in dirent. If so, or the OS
does return a type and we got an unknown, also set symlink status
if so when making the managed equivalent structures.

TimeZoneInfo.Unix also calls ReadDir and thus ConvertDirent, but
it does this logic already.

* Move symlink check to its own if-elif block


Commit migrated from https://github.com/dotnet/corefx/commit/c34dd2fb843c45ad135ef2b0348c06224e15c736
2019-01-10 13:41:31 -05:00
Stephen Toub 245b161fd3 Merge pull request dotnet/corefx#34406 from stephentoub/clearlocals
Enable ILLinkClearInitLocals across corefx

Commit migrated from https://github.com/dotnet/corefx/commit/b26339b6f6c7537875c70b5f3c8af376d0bbded5
2019-01-08 20:22:19 -05:00
Dan Moseley a2ee9a5e2a Fix path length 255 (dotnet/corefx#34389)
* long name test

* typo

* typo

* Enable test as WSL fixed

* Disable test for WSL

* Test update

* Fix tests

* Properly reuse buffer length

* Fix actual bug

* Tests for create on Linux

* Extend to unix

* netfx

* Update interop file


Commit migrated from https://github.com/dotnet/corefx/commit/23521cc75428e38b8ff62cbac188c86b32184d42
2019-01-08 10:16:06 -08:00
Stephen Toub 8fd85a520b Set ILLinkClearInitLocals across repo
Enable it for all C# src projects.


Commit migrated from https://github.com/dotnet/corefx/commit/4b5b5c163b925400b884dac2bf207d189b69bd3b
2019-01-08 09:49:57 -05:00
Anirudh Agnihotry 730bffcbbf set the nanoseconds properties deterministically (dotnet/corefx#34362)
Commit migrated from https://github.com/dotnet/corefx/commit/db259b0302a866e2ff31a7d2c343abcc176ba4f4
2019-01-04 15:20:57 -08:00
Anirudh Agnihotry a5e2dae571 increase tries to 20 (dotnet/corefx#34342)
Commit migrated from https://github.com/dotnet/corefx/commit/df4c956d32654e77e799e538a67a2c7b13e656d4
2019-01-03 18:00:04 -08:00
Anirudh Agnihotry 0964672cf1 Using FUTIMENS instead of FUTIMES (dotnet/corefx#34271)
* test added

* rearranging order for if statements

* reducing thread sleep time and reverting millisecond test change

* adding comment

* removing comment, adding tick equality check, failing if not able to create file with non-zero nano or milli second

* correcting test for hfs system

* NanoSeconds -> Nanoseconds, Millisec -> milliseconds
HFs assert converted to false


Commit migrated from https://github.com/dotnet/corefx/commit/83e468591a0212f109c179c2f4b75ef03c92432b
2019-01-02 15:12:21 -08:00
Egor Bogatov 70941c0bb3 Remove Interop.ReadDir.cs (dotnet/corefx#34274)
* Remove Interop.ReadDir.cs

* pass bufferPtr to FindNextEntry

* Update src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs

Co-Authored-By: EgorBo <[email protected]>


Commit migrated from https://github.com/dotnet/corefx/commit/91589339e6fd3da57d8e6c15937253037e727a04
2018-12-30 18:05:27 -08:00
Stanislav Ushakov ac76a68271 Removed global suppression of CS1573 and CS1591 warnings (dotnet/corefx#34232)
* Removed global suppression of CS1573 and CS1591, moved suppression to the project level.

* Fixes for netfx build, added 2 projects


Commit migrated from https://github.com/dotnet/corefx/commit/adb4d48fe65d48b6dd1c2ff15c8a60e5f96bf266
2018-12-24 12:17:29 -05:00
Dan Moseley 984f945263 Casing fixes (dotnet/corefx#34214)
* Kernel32
* Advapi32


Commit migrated from https://github.com/dotnet/corefx/commit/352444860f8405a02d45db86cbc4aacc667536f0
2018-12-21 21:25:03 -08:00
Paul M Cohen eefcb47113 File IO (dotnet/corefx#32668)
Commit migrated from https://github.com/dotnet/corefx/commit/87089ef4559605f8a34ca8959a0ef9c71aa1e02e
2018-12-18 10:37:34 -08:00
Stanislav Ushakov 232de53a7c Fixed suppressed XML documentation errors (dotnet/corefx#34020)
* Fixed XML documentation tags for CoreFx.Private.TestUtilities

* Fixed XML documentation tags for System.Diagnostics.Process

* Fixed XML documentation tags for System.ComponentModel.Composition

* Fixed XML documentation tags for System.ComponentModel.Primitives

* Fixed XML documentation tags for System.ComponentModel.TypeConverter

* Fixed XML documentation tags for System.Data.Common

* Fixed XML documentation tags for System.Data.SqlClient

* Fixed XML documentation tags for System.Diagnostics.PerformanceCounter

* Fixed XML documentation tags for System.Diagnostics.StackTrace

* Fixed XML documentation for System.Diagnostics.TraceSource

* Fixed XML documentation for System.IO.Compression.ZipFile

* Fixed XML documentation for System.IO.Compression

* Fixed XMl documentation reference according to review notes

* Fixed XML documentation tags for System.IO.MemoryMappedFiles

* Fixed XML documentation tags for System.IO.Pipes

* Fixed XML documentation tag for OSX interop in System.Diagnostics.Process

* Fixed XML documentation tags for CoreFx.Private.TestUtilities for Unix

* Fixed XML documentation tags for System.Linq.Expressions

* Fixed XML documentation for System.Linq.Parallel

* Fixed XML documentationt ags for System.Linq

* Fixed XML documentation tags for System.Management

* Fixed XMl documentation tags for System.Net.Http (left CS1573)

* Fixed XMl documentation tags for System.Net.Mail

* Fixed XML documentation tags for System.Net.NameResolution

* Fixed XML documentation tags for System.Net.Primitives - added T prefix for Socket as Primitives do not reference System.Net.Sockets

* Fixed XML documentation tags for System.Net.Sockets

* Fixed XML documentation tags for Unix interop files

* Fixed XML documentation tags for System.Net.Http (Unix)

* Fixed XML documentation tags for PlatformDetection.Unix.cs according to review notes

* Fixed XML documentation tags for OSX interop

* Ignore CS1574 for System.Linq as there is no ConcatIterator{TSource}.ToList for uap.

* Fixed XML documentation tags for FreeBSD interop

* Fixed XML documentation tags for System.Net.WebSockets

* Fixed XMLm documentation tags for System.Transactions.Local

* Fixed XML documentation for System.Security.Principal.Windows

* Fixed XML documentation for System.Drawing.Common

* Fixed XML documentation for System.Net.NetworkInformation

* Fixed XML documentation tags for System.Private.XML (left CS1589)

* Fixed XML documentation tags for System.Security.Cryptography

* Fixed XML documentation for System.Runtime.WindowsRuntime

* Fixed XML documentation tags for System.Security.Cryptography.Xml

* Fixed XML documentation tags for System.Security.Cryptography.Primitives
CS3016 was added by mistake as part of dotnet/corefx#32934 so I removed it.

* Fixed XML documentation tags for System.Linq: added M to ToList method as it is not accessible by uap builds.

* Fixed XML documentation tags for System.IO.FileSystem

* Fixed XML documentation tags for System.Security.Cryptography.*

* Fixed XML documentation for System.IO.Ports

* Fixed XML documentation tags for System.Private.Reflection.Metadata.Ecma335

* Fixed XML documentation tags for System.Windows.Extensions

* Fixed XMl documentation tags for System.Console

* Fixed XML documentation for System.IO.FileSystem.DriveInfo

* Fixed XML documentation tags for System.Runtime.Extensions

* Fixed XML documentation tags for System.Drawing.Primitives.
Left CS1589 as there is no 'doc\KnownColor.uex' file.

* Fixed XMl documentation for System.Runtime.WindowsRuntime.
Had to add M prefix to 'Windows.Foundation.IAsyncAction' as Windows.Foundation is not accessible at compilation time.

* Fixed XML documentation tags for System.Private.Xml

* Fixed XML documentation tags for System.Private.Reflection.Metadata.Ecma335
Had to add a prefixes to: 'T:System.Collections.Immutable' and 'M:Enumerable.ToArray{TSource}' as they are not available for uap at compilation time.

* Fixed XML documentation tags for System.Net.WebSockets.WebSocketProtocol

* Fixed XML documentation tags for System.Net.WebSockets.WebSocketProtocol

* XML documentation tags fixes: changes after review.


Commit migrated from https://github.com/dotnet/corefx/commit/f7539b726c4bc2385b7f49e5751c1cff2f2c7368
2018-12-17 09:15:22 -08:00
AraHaan f108845249 Turn on xml documentation validation globally. (dotnet/corefx#32934)
* Turn on xml documentation validation globally.

* Ignore warning 1591 globally.

* Fixed build failures.

* Move the Original DocumentationFile Condition to the Group.

Now NoWarn has no Condition on it.

* Fixed NoWarn overwrite.

* Update Directory.Build.props

* Update System.Runtime.CompilerServices.Unsafe.ilproj

* Update file on github web.

Sadly it seems I can only do this on my phone now. RIP

* Update System.Security.Cryptography.Csp.csproj

* Update Directory.Build.props

* Suppress some warnings.

* Fixed remaining compile errors.

* Update System.Diagnostics.StackTrace.csproj

* Update System.Security.Cryptography.Xml.csproj

* Fixed xml documentation typo in Microsoft.VisualBasic.

* Fixed missing suppressions.

* Suppress more errors.

* Suppress more errors.

* Suppress more errors.

* Suppress even more errors.

* Suppress more errors.

* Update Directory.Build.props

* Suppress more errors.

Also fix a documentation issue specific to OSX.

* Suppress more errors.

* Suppress more errors.

* Disable xml documentation for System.Diagnostics.Process.

* Do not overwrite NoWarn.

* Enable docs for S.D.P


Commit migrated from https://github.com/dotnet/corefx/commit/6abb4cd0bafa2a3c7486fb23bcc611bd211d0f8e
2018-12-08 22:21:50 -08:00
Jan Kotas e3ac617a79 Delete TargetFrameworkMonikers.NetcoreCoreRT (dotnet/corefx#33929)
CoreRT was never meant to be a target framework

Commit migrated from https://github.com/dotnet/corefx/commit/5e932edf054fd24d28a3e65c5c1eaa5674fa0dc0
2018-12-08 10:48:52 -08:00
Viktor Hofer 66e8f64d31 Consume Microsoft.DotNet.CoreFxTesting package (dotnet/corefx#33423)
* Consume Microsoft.DotNet.CoreFxTesting package

* Remove code coverage dedicated runtime dir config files and switch to Coverlet

* Add global tool support in corefx

* Update code coverage docs

Commit migrated from https://github.com/dotnet/corefx/commit/ae38b7cc3762d832fdcebe27a0aab7b22ab2f3fa
2018-12-06 02:56:11 +01:00
Jeremy Kuhne 07cbca2773 QueryDirectoryFile requires 64 bit alignment to work on ARM32. (dotnet/corefx#33713)
* QueryDirectoryFile requires 64 bit alignment to work on ARM32. Using Marshal.AllocHGlobal instead of byte[] will do that (and avoid the need to pin).

* Address feedback.


Commit migrated from https://github.com/dotnet/corefx/commit/a75f96a105aa6dd6242d84ae40333df9a1d44c1c
2018-11-29 15:41:26 -08:00
Tom Deseyn d23cf5eee1 Unix: change SetCreationTime to match better with GetCreationTime (dotnet/corefx#33647)
* Unix: change SetCreationTime to match better with GetCreationTime

* Improve test

* Improve test further

* Update test

* Fix test

* Update test comment


Commit migrated from https://github.com/dotnet/corefx/commit/402e8c089679a925bedf981ccfcb1bd89c3510ca
2018-11-23 12:59:17 -08:00
Alexis Christoforides a3a1f8eaf9 Re-initialize DirectoryInfo.Name after a MoveTo() operation (dotnet/corefx#33496)
Fixes https://github.com/dotnet/corefx/issues/33490

Commit migrated from https://github.com/dotnet/corefx/commit/57637ac83b75e0f2f9a16c56c921d65f9f40f137
2018-11-14 13:54:43 -08:00
Stephen Toub 385e67766d Expose\test FileStream.DisposeAsync
Commit migrated from https://github.com/dotnet/corefx/commit/7ee03fafb78e342381c8d68ee3e6bd2a9d64d0a7
2018-11-12 10:17:35 -05:00
Wes Haggard 954fb511b3 Rename AssemblyKey properties to StrongNameKeyId as part of arcade work
Commit migrated from https://github.com/dotnet/corefx/commit/7edd861bf2dd59ecdb4284e0fd291d7458198a9d
2018-10-30 15:14:01 -07:00
Blake Hensley 4c89c0460c Add overloads to File.Move and FileInfo.MoveTo that accept overwrite parameter (dotnet/corefx#31511) (dotnet/corefx#33054)
* Initial work on implementing File.Move with overwrite

* Add unit tests for File.Move and FileInfo.MoveTo with overloads for overwrite

* Add MoveFile overload with overwrite parameter to Unix

* Correct namespace for Unix function call

* Separate corefx-specific tests

* Move corefx-specific tests to correct ItemGroup

* * Consolidate error blocks
* Pass named argument for readability

* Remove MOVEFILE_WRITE_THROUGH

* Remove const declaration for MOVEFILE_WRITE_THROUGH since it's not used.


Commit migrated from https://github.com/dotnet/corefx/commit/40364e539572e9dad9c8a2eb165fc9af28e5664a
2018-10-26 19:28:35 -07:00
Marco Rossignoli 5ca601ebeb Fix File.Delete unix behaviour (dotnet/corefx#32660)
* remove existent test from platform specific

* fix unix

* update tests

* update tests

* remove test duplication

* throw with helper

* address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/25d197892c37067f45cf97619bb0dfb28413a682
2018-10-12 16:44:50 -07:00
Sam Neirinck 68b24b8b69 Cleanup MSDN URL's (dotnet/corefx#32663)
* Fix non-https msdn links

* Additional HTTPS treatment


Commit migrated from https://github.com/dotnet/corefx/commit/0bfc4f3cf62f6fc29162ad5b1b89acc14124a375
2018-10-09 11:59:36 -07:00
Stephen Toub b9556abb0f Add back null checks to File.Encrypt/Decrypt (dotnet/corefx#32580)
* Add back null checks to File.Encrypt/Decrypt

* Re-enable tests


Commit migrated from https://github.com/dotnet/corefx/commit/faaca859c04c4fbe29b9d4f900d0525d7f8385a3
2018-10-02 16:28:22 -04:00
Anirudh Agnihotry 31da7d374d pointer instead of span and name changes in S.IO.FileSystem (dotnet/corefx#32436)
Commit migrated from https://github.com/dotnet/corefx/commit/2d104b4955548f0ebc57a8f4a24417619a7f3b60
2018-09-24 22:49:24 +02:00
Julius Hardt ab07413563 Disable EncryptDecrypt_Read() test on the Home editions of Windows (dotnet/corefx#32342)
* Disable System.IO.Tests.EncryptDecrypt.EncryptDecrypt_Read() on the Home editions of Windows

* Add a comment explaining why we skip the test on home editions


Commit migrated from https://github.com/dotnet/corefx/commit/4f7690ad97ea1772433fcfeafc4b0c26f0fb80a2
2018-09-23 22:32:59 +02:00
Anirudh Agnihotry 8516f17308 DriveFormat returns null on WSL (dotnet/corefx#32372)
* added default value for isHFS

* using and operator


Commit migrated from https://github.com/dotnet/corefx/commit/3a206a056f765b4d0df02e5d0ff6d0f7bdfe23c2
2018-09-20 15:56:01 -07:00