Commit Graph
692 Commits
Author SHA1 Message Date
Jan Kotas c6005012ee Fix inefficient interop in OSX FileSystemWatcher (dotnet/corefx#34715)
* Fix inefficient interop in OSX FileSystemWatcher

Avoid unnecessary array allocations in the FileSystemWatcher callback

* Add using for FSEventStreamEventFlags


Commit migrated from https://github.com/dotnet/corefx/commit/93386f5dd75e291d7c0dbbb450f5b96659b3d58f
2019-01-21 08:55:09 -05:00
Ben Adams e950a40bd6 remove extra watcher
Commit migrated from https://github.com/dotnet/corefx/commit/b20a4917f19243a6ec2b12ae420736ac83cb05a0
2019-01-08 23:27:08 +00:00
Ben Adams f3bdf9ab31 Feedback
Commit migrated from https://github.com/dotnet/corefx/commit/08fa194915024438cf1bbdf47ccd4f45f5f42ec7
2019-01-08 23:24:09 +00:00
Ben Adams da48cfa158 Feedback
Commit migrated from https://github.com/dotnet/corefx/commit/c82d211923fe5a2bd6381f717df951cf4c11dbf0
2019-01-08 22:37:23 +00:00
Ben Adams dea02ab16d Add Test
Commit migrated from https://github.com/dotnet/corefx/commit/c3ccfe22c1ec06d2b158697f765d4d456e348c71
2019-01-08 22:28:18 +00:00
Ben Adams 386a0aa653 Handle flowsuppressed context in FileSystemWatcher on OSX
Commit migrated from https://github.com/dotnet/corefx/commit/f3b83a9e73dcda79dec41b44963b46a0ff8c7fa4
2019-01-08 22:28:17 +00: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
Maxim Lipnin d87c9338f5 Share CFRunLoop for FSEventStreams in FileSystemWatcher on OSX (dotnet/corefx#33865)
* Share CFRunLoop for FSEventStreams in FileSystemWatcher on OSX

* Address review comments

* Add execution context capturing

* Fix nits

* Add some tests to check multiple watchers

* Address review comments

* Update FileSystemWatcher tests

* Add timeout for non-expected events

* Wrap FileSystemWatcher_File_Create_EnablingDisablingNotAffectRaisingEvent test in ExecuteWithRetry helper method and mark it with Outerloop

* Wrap FileSystemWatcher_File_Create_WatchOwnPath test in ExecuteWithRetry helper method

* Move disposing FileSystemWatcher instances to a finally section in FileSystemWatcher_File_Create_ForceLoopRestart test

* Use null-conditional operator before disposing


Commit migrated from https://github.com/dotnet/corefx/commit/8a06434b29599950571aa7975458ae5b465d1a0d
2018-12-19 20:59:39 -05: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
Stephen Toub 997c81264f Disable FileSystemWatcher test on netfx (dotnet/corefx#34111)
* Disable FileSystemWatcher test on netfx

* Update FileSystemWatcher.File.Create.cs


Commit migrated from https://github.com/dotnet/corefx/commit/e2d3858a042f179d2082579414deaa963773bbf8
2018-12-15 12:03:36 -05:00
Stephen Toub 4c9bf7bede Tweak test to avoid default value
Commit migrated from https://github.com/dotnet/corefx/commit/eb068ffb575e7fc561bac65b236dbbb739e4e0c7
2018-12-12 18:12:00 -05:00
Stephen Toub af60d4a06b Add a FileSystemWatcher test for ExecutionContext (dotnet/corefx#33903)
Make sure that a) ExecutionContext properly flows, and b) events from multiple FileSystemWatchers are raised on the right ExecutionContext.

Commit migrated from https://github.com/dotnet/corefx/commit/81c6ce11a40df6d93de97ffc11408569befba727
2018-12-09 08:56:55 -05: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
Stephen Toub c12684b3c8 Fix concurrent modifcation of FileSystemWatcher.Filters
Change the underlying list type to be one that supports concurrent enumeration and mutation.  Since mutation of Filters should be rare, and since we want to optimize for events firing and being verified against the filters, we use an immutable data structure.  This also has a side benefit that now enumeration is allocation-free, whereas previously we'd allocate an enumerator every time we tried to match the pattern against the collection.


Commit migrated from https://github.com/dotnet/corefx/commit/677d5aef0d5ff8e6e882d8104fb0b2d49eea8627
2018-12-02 22:41:10 -05:00
Tomas Weinfurt 1677bca8eb remove Linux pollution from other Unixes (dotnet/corefx#33498)
* remove Linux pollution from other Unixes

* update default Odbc32 for unknown unix

* feedback from review

* update System.Diagnostics.TraceSource to match System.Diagnostics.Process


Commit migrated from https://github.com/dotnet/corefx/commit/db469684ca828f425074f57d4acd07830e3c0163
2018-11-17 18:09:16 -08: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
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 5e96b2c5d7 Improve inotify-related error messages for FileSystemWatcher on Linux (dotnet/corefx#32462)
Commit migrated from https://github.com/dotnet/corefx/commit/bf452b4975054224b7ba906a02822341b567349a
2018-09-25 18:09:51 -04:00
Eric Erhardt 812e1643b6 Run UpdateVSConfigurations on the current code.
Commit migrated from https://github.com/dotnet/corefx/commit/1a4b8a2ba40d39abe3c3888caede4e46218e7099
2018-07-05 14:12:38 -05:00
Eric Erhardt 779486884e Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ec546de620c5248f3662d6aaca989ed382b86b6b
2018-06-28 21:28:41 -05:00
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
Tomas Weinfurt 06735f436e build stub assemblies on FreeBSD from *UnknownUnix* (dotnet/corefx#30663)
* build stub assemblies on FreeBSD from *UnknownUnix*

* feedback from review. move RegisterNetworkChange to common file

* use netcoreapp-Unix for FreeBSD until we have real implementation


Commit migrated from https://github.com/dotnet/corefx/commit/fc1574ecf3d0b9a9035bc04abae465f27c510dab
2018-06-27 06:28:54 -07:00
Stephen Toub 4c9eb2ec25 Simplify built-in types across corefx tests (dotnet/corefx#30660)
Commit migrated from https://github.com/dotnet/corefx/commit/7ae1a252d7e68c5513d2658de7a401c37e9b0504
2018-06-25 22:42:04 -07:00
Eric Erhardt 2053139c9a merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/1c91f96ec67a78a33268181d99a73a736b48c13e
2018-06-15 22:24:40 -05:00
Viktor Hofer 23f979bc4c Cleanup BinaryFormatterHelpers usage (dotnet/corefx#30439)
Commit migrated from https://github.com/dotnet/corefx/commit/03d643220955f86ef63c71d3bdd4cae05af1f586
2018-06-15 21:46:15 -04:00
Eric Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
Eric Erhardt 70091b9c8b Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ad505eb98c6a887db2d2932fec256d9e4e394169
2018-06-11 17:20:10 -05:00
Anirudh Agnihotry 58f1ad6f49 Cut String Allocations for filtered watcher files in Unix Systems (dotnet/corefx#29721)
* Cut Strings from OSX

* unix added

* removed string overload

* Ignore case comparison added

* using equals

* Pinvoke Corrected to remove managed string allocations

* overload for span addded and memory<char>[] to store rented arrays

* Feedback addressed and Filesystem.unix.exists moved to a new file

* Comment added, brackets are removed and using stringcomparison.oridinal


Commit migrated from https://github.com/dotnet/corefx/commit/c55aa6e313e68966f5d974163614181522caed35
2018-06-08 17:55:01 -07:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Anirudh Agnihotry 46c3899a36 Added Filters Property to FileSystemWatcher class (dotnet/corefx#29315)
* Filters Property and tests added

* Tests fixed for osx

* Tests fixed for netfx and error message improved

* Tests fixed for netfx and error message improved

* Added tests for insert,contains ,removeat, index of , to string and gettype

* ToString removed and asser.equal corrected

* Comments and overload of epectevent added for netcoreapp

* Removed duplicate code

* setup and execution separated

* Expected patshs argument added

* ExpectNoEvent Added, negative added for all the test , expected path problem corrected

* handler

* Storing tuple and Unexpected Events

* name added to return values tuples


Commit migrated from https://github.com/dotnet/corefx/commit/9f2377fcd4e46f2c607d03672ed0bb92fe9cb68e
2018-05-15 01:03:38 +05:30
Marco Rossignoli 4110b40d54 Replace files with CoreLib mirror (<30% differences) (dotnet/corefx#29433)
* remove duplicates

* remove unused Interop.GetFullPathNameW.cs

* revert TupleExtensions.cs for netfx incompatibility

* replace coreclr merged

* replace constants conflicts


Commit migrated from https://github.com/dotnet/corefx/commit/5168f541d4def7c54e490a685ff5dc0e3f90e91a
2018-05-02 06:51:46 -07:00
Jeremy Kuhne 383d9ef979 Cut string allocations for filtered watcher files (dotnet/corefx#29227)
* Cut string allocations for filtered watcher files

This changes the Win32 watcher code to not allocate strings until after we've matched the name and know that we're going to actually fire an event.

Unix code can be changed to encode into a temporary buffer to get a similar reduction. I'll open an up-for-grabs issue on it.

Flip a test to have expected in the expected argument.

* Move loop inside fixed statement

* Move locals inside fixed block.


Commit migrated from https://github.com/dotnet/corefx/commit/11a12e6538a0a024c3adfb944c3983c0d66c3768
2018-04-20 18:36:12 -07:00
Marco Rossignoli 528e91dabf Replace identical files with CoreLib mirror (dotnet/corefx#28593)
Commit migrated from https://github.com/dotnet/corefx/commit/5041dbb272ae05b360db538cf62fc2847277fd7e
2018-04-17 16:05:44 -07:00
Jeremy Kuhne 7b52244b37 Use FileSystemName in FileSystemWatcher (dotnet/corefx#28220)
* Use FileSystemName in FileSystemWatcher

- Uses newer spanified version in FileSystemName
- Doesn't allow extended match chars `<`, `>`, `"`  as these are legal in Unix

* Plumb through the case sensitivity

* Update tests

* Tweak test for netfx

* Tweak the comment to be a bit more readable


Commit migrated from https://github.com/dotnet/corefx/commit/fcfb556ebf99ed551c02d0146c805e792b264cf2
2018-03-20 21:43:47 -07:00
Jeremy Kuhne 8dc5e67384 Cleaning out dead code (dotnet/corefx#27150)
Also refactor Unix attribute handling a bit to be more consistent and
ensure that we don't make unnecessary addtional filesystem calls.

Commit migrated from https://github.com/dotnet/corefx/commit/16f26ba855f5cc6d52a738e8bc3856c6f77cf761
2018-02-14 22:49:17 -08:00
Wes Haggard fc9b090ef0 Update references assemblies to include private fields for structs
Contributes to https://github.com/dotnet/corefx/issues/6185.


Commit migrated from https://github.com/dotnet/corefx/commit/2e97d43060dfb589907a15dbfef0cc7db6e90546
2018-01-12 08:53:41 -08:00
Jeremy Kuhne 3307889b0c Fast file enumeration for Windows (dotnet/corefx#25426)
* Fast file enumeration for Windows

Implements an optimized, low allocation replacement for file enumeration on Windows. In preliminary tests this improves performance at least two fold, particularly for recursive searches.
Removes aggressive filter validation.
Copies and cleans up filename matching code from FileSystemWatcher.
Add length setter for ValueStringBuilder.
Remove Unix .. check for enumerable.

Commit migrated from https://github.com/dotnet/corefx/commit/eb0d4388c339288a589bdd7f5e0c9fcd61da4362
2017-11-30 15:46:56 -08:00
Marco Rossignoli 10a39d487c Improve InvalidDirectory error in FileSystemWatcher (dotnet/corefx#25485)
Another place where message could be more precise on FileSystemWatcher.
Fixes dotnet/corefx#24817

Commit migrated from https://github.com/dotnet/corefx/commit/771136cc013f8ac833f005e7193428e71966c5fe
2017-11-27 11:15:00 -08:00
Marco Rossignoli b95aec5c1a Fix misleading exception message, cleanup code (dotnet/corefx#25211)
* Fix misleading exception message, cleanup code dotnet/corefx#24817

* Fix misleading exception message, cleanup code dotnet/corefx#24817

* Fix misleading exception message, cleanup code dotnet/corefx#24817

* Fix misleading exception message, cleanup code dotnet/corefx#24817

* Fix misleading exception message, cleanup code dotnet/corefx#24817

* Revert "Fix misleading exception message, cleanup code dotnet/corefx#24817"

This reverts commit dotnet/corefx@87e87a1e34.

* Revert "Fix misleading exception message, cleanup code dotnet/corefx#24817"

This reverts commit dotnet/corefx@05f4a5a627.

* Revert "Revert "Fix misleading exception message, cleanup code dotnet/corefx#24817""

This reverts commit dotnet/corefx@4e3516910a.

* Fix misleading exception message, cleanup code. fixes dotnet/corefx#24817

* Fix misleading exception message, cleanup code. fixes dotnet/corefx#24817

* Fix misleading exception message, cleanup code. fixes dotnet/corefx#24817

* Fix misleading exception message, cleanup code. fixes dotnet/corefx#24817

* Fix misleading exception message, cleanup code. fixes dotnet/corefx#24817

* Fix misleading exception message, cleanup code dotnet/corefx#25211


Commit migrated from https://github.com/dotnet/corefx/commit/421306d0aa0f3aaa53c22188e7fedec6d7125e98
2017-11-19 05:54:45 +00:00
Jeremy Kuhne 4c7142aaec Clean up CreateFile usage. (dotnet/corefx#25318)
* Clean up CreateFile usage.

The "safe" create file was specifically targetted at FileStream and doesn't apply to remaining usages in FileSystem.

Also collapse a few unnecessary methods.

* Missed a file.

* Related UAP changes

* Remove unnecessary qualifiers.


Commit migrated from https://github.com/dotnet/corefx/commit/c3abf82d27ae168cfdb5965bb1a28185800a22ca
2017-11-17 18:20:39 -08:00
Stano Peťko 1a70106b96 File path is in IO exception messages (dotnet/corefx#25195)
* Added path to message Argument_InvalidPathChars.

* Added path to message IO_PathTooLong.

* IO_PathTooLong - separate message when path is empty.

* Added argument reference to message.


Commit migrated from https://github.com/dotnet/corefx/commit/51da21f9934c63216a8d7a2eb27ec5aa97944600
2017-11-14 23:09:24 -05:00
Frederik Carlier a1d44f82ce Fix casing of .uap (dotnet/corefx#25185)
Commit migrated from https://github.com/dotnet/corefx/commit/025230bc5dacab6d012a537c583003ea96381c97
2017-11-12 22:36:21 -05:00
Viktor Hofer fcc00e81f3 Make corefx exceptions serializable and add typeforwards (dotnet/corefx#24427)
* Add serializable attribute and typeforward and adding serialization impl
* Expose ZLibException in impl assembly
* Remove deserialization negative tests
* Adding tests for exceptions
* Adding SqlError data to base exception data table
* System Data Facade
* Add netfx471 blob diffs for Hashtable and ListDictionary
* Build Microsoft.NETCore.App.deps.json after manual shims
* Disable currently failing uap/uapaot tests because of shim assembly load errors


Commit migrated from https://github.com/dotnet/corefx/commit/e3f74deb999571d3f34a6b2b8011caebcf06dbfc
2017-10-27 18:00:52 +02:00
Kasper Fabæch Brandt 58ea9bfc83 Make FileSystemWatcher tests tolerant of spurious/extra events on all platforms. Fixes dotnet/coreclrdotnet/corefx#14154. (dotnet/corefx#24406)
Commit migrated from https://github.com/dotnet/corefx/commit/8665e8bbd98cc47bf4bcfdc7c2939c477953d85c
2017-10-03 14:38:04 -07:00
Paulo Janotti 6dca35f789 active supress coreclr dotnet/corefx#14154 (dotnet/corefx#24305)
Commit migrated from https://github.com/dotnet/corefx/commit/9c18f4b74d61fd86dd1f01f5d512474a08adee99
2017-09-28 10:10:01 -07:00
Paulo Janotti fe84978ce5 [WIP] Removing CreateFileW from UWP (dotnet/corefx#24297)
* [WIP] Removing CreateFileW from UWP

* CR: move conditional to its own ItemGroup

* removed pinvoke exceptions for Runtime.Extensions

* Fixed condition for CreateFile ItemGroup

* exception still needed for netstandard


Commit migrated from https://github.com/dotnet/corefx/commit/a989d4f91cf4208b7a2481d120498a581328eb1d
2017-09-28 06:56:20 -07:00
Dan Moseley b27ba97af5 Rename IsWinRT to IsInAppContainer (dotnet/corefx#23935)
* Rename IsWinRT to IsInAppContainer

* Grep error


Commit migrated from https://github.com/dotnet/corefx/commit/8d51233795da222041c23d33b1eb44bbe458d0eb
2017-09-11 02:57:28 -04:00
Brian Chavez 232a1dfac0 Grammar check - "a [a,e]" rule. (dotnet/corefx#23697)
* Grammar check - "a [a,e]" rule.

* Corrected "a attributes" to "an attribute"


Commit migrated from https://github.com/dotnet/corefx/commit/be75987c628347e1d44bba15c5272ade3dcfa65c
2017-08-31 09:29:39 -04:00
Tarek Mahmoud Sayed 3765a6069b Moving PlatformDetection to Corefx.Private.TestUtilities assembly (dotnet/corefx#23109)
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly

The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities.
I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed.

* Fix Linux BB

* Update the xunit package reference

* Fix wrong condition on one of the tests

* Update the ConditionalFact/Theory to use Type as a parameter


Commit migrated from https://github.com/dotnet/corefx/commit/878e2fcf5a9f1068015e5fada9231088663e3490
2017-08-10 22:37:36 -07:00
Ian Hays ebd5caab49 Add FSW tests for two set NotifyFilters
Commit migrated from https://github.com/dotnet/corefx/commit/77883e33b94164a318eb128605340dc2e61cd358
2017-08-07 16:43:18 -07:00