Commit Graph
712 Commits
Author SHA1 Message Date
Stephen Toub 6a988c7d03 Enable StyleCop rules 1205, 1411, 1026, and 1000 (dotnet/corefx#40254)
* Fix StyleCop warning SA1411 (attribute ctor shouldn't use unnecessary parens)

* Fix StyleCop warning SA1026 (new[] spacing)

* Fix StyleCop warning SA1000 (consistent spacing around if, for, switch, etc.)

* Fix StyleCop warning SA1205 (partial elements should declare an access modifier)


Commit migrated from https://github.com/dotnet/corefx/commit/0c4c234a918254d569ffb0f6a607f98193608646
2019-08-12 22:45:34 +02:00
Stephen Toub 182e23d123 Re-enable StyleCop warning SA1400 (elements should specify access) (dotnet/corefx#40240)
One of the more common things we "nit" in PRs.  Now the compiler will flag it for us.

Commit migrated from https://github.com/dotnet/corefx/commit/61a6264018989e06d314b68d57bd91b4b72e4360
2019-08-12 14:29:19 +02:00
Stephen Toub 60d1224ddd Re-enable StyleCop warnings SA1028 and SA1518 (trailing whitespace and blank lines) (dotnet/corefx#40113)
Mechanical/automated change.  The only manual changes were a) removing the two rules from the CodeAnalysis.ruleset file, b) removing spaces from one line of a .targets file that is used to generate a .cs file, and c) reverting the changes in a few test files where the naive replacement happened in the middle of a verbatim string where the whitespace actually mattered.

Commit migrated from https://github.com/dotnet/corefx/commit/09a6e66b0c2b31bd0f6e7e3170537d14027aeed0
2019-08-07 21:07:58 -04:00
Stephen Toub 6e335aa872 Enable several StyleCopAnalyzers (dotnet/corefx#39921)
* Fix ordering of keywords in member signatures

* Add StyeCop.Analyzers

Most rules are disabled.  Many of them we'll want to leave disabled, however there are a handful it'll be good to enable over time.

* Use built-in type alias

* Fix straggling stylecop warnings in all configurations

* Replace tabs with spaces


Commit migrated from https://github.com/dotnet/corefx/commit/a12c557a72988070b8624cc7ecc46899629895c4
2019-07-31 19:10:59 -04:00
Stephen Toub 3364838e1e Re-enable CA1823 (unused private fields) (dotnet/corefx#39899)
Commit migrated from https://github.com/dotnet/corefx/commit/e5d38a54cf21f6427ae4fe99c3841c8067139e75
2019-07-31 08:04:33 -04:00
Stephen Toub 13fc8895db Re-enable xunit warning 1010 (dotnet/corefx#39846)
Commit migrated from https://github.com/dotnet/corefx/commit/e36291288fc182e94a919f45e61a8924f953c3cd
2019-07-28 22:34:44 -04:00
Stephen Toub aa11d6cbbf Re-enable CA1200 (avoid cref tag prefixes) (dotnet/corefx#39773)
* Re-enable CA1200 (avoid cref tag prefixes)

Specifying the prefix prevents the compiler from validating what comes after it.

* Fix netfx build


Commit migrated from https://github.com/dotnet/corefx/commit/58a4d24eb808936f7dc61e68265e968291470b42
2019-07-25 22:04:39 -04:00
Stephen Toub bf9054c38c Re-enable xUnit1025 (duplicate InlineData) (dotnet/corefx#39737)
Commit migrated from https://github.com/dotnet/corefx/commit/47d96f89df41ce18d3ba77b38007ec68f7f66fc6
2019-07-25 10:45:20 +02:00
Ahson Khan 2ea4e4f134 Update dummy fields within the ref by auto-generating them from the source assembly. (dotnet/corefx#39687)
* Update dummy fields within the ref by auto-generating them from the
source assembly.

* Address feedback.


Commit migrated from https://github.com/dotnet/corefx/commit/c50b758727a041aec2dc959ee5ca2df5614a3c16
2019-07-24 06:28:07 +00:00
Stephen Toub cd3ca6f991 Re-enable xunit warning 2004 (dotnet/corefx#39698)
* Replace "Assert.Equal(true, " with "Assert.True("

* Replace "Assert.Equal(false, " with "Assert.False("

And fix a few Assert.Equal(true cases that deal with objects and thus need to be reverted.

* Replace "Assert.StrictEqual(true, " with "Assert.True("

* Revert a few changes where true/false was being compared to object

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/1296bc8386a7283e319ddf723282f16651f9ea5f
2019-07-23 17:05:15 -04:00
Stephen Toub c58629fe45 Remove unnecessary empty try { } blocks (dotnet/corefx#39664)
Unnecessary in .NET Core code.  I didn't modify additional instances in libraries that target netstandard/netfx.

Commit migrated from https://github.com/dotnet/corefx/commit/ca795a928d210c78c6bbd3fa10eb35f4c093a5a4
2019-07-22 12:30:03 -04:00
Viktor Hofer ef7a0e676a Enable XUnit Analyzers (dotnet/corefx#38676)
* Enable XUnit Analyzers


Commit migrated from https://github.com/dotnet/corefx/commit/b8a7f34e1b64e5c594f591aa8683f34506eb9736
2019-07-05 22:50:57 +02:00
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Stephen Toub 377c37c140 Use CancellationToken.UnsafeRegister in a few more places (dotnet/corefx#37551)
CancellationToken.Register captures the current ExecutionContext and uses it to invoke the callback if/when it's invoked.  That's generally desirable and is the right default, but in cases where we know for certain the callback doesn't care about EC (e.g. we're not invoking any 3rd-party code), we can use UnsafeRegister instead (newly added in 3.0), which skips capturing the ExecutionContext, as if Capture returned null.  This helps few a couple of small costs:
- Avoids thread local lookups to capture the current EC.
- Avoids additional delegate invocations and thread local gets/sets to invoke the callback with the captured EC.
- Avoids holding on to the EC in case it's needed, which can potentially keep alive an unbounded amount of state due to AsyncLocals.

Commit migrated from https://github.com/dotnet/corefx/commit/b1a1bfa0997ce35e8540fbbe74276858e315807e
2019-05-16 11:08:10 -07:00
Jose Perez Rodriguez 7d8177c8c3 Fix VS Configurations for all projects in corefx (dotnet/corefx#37477)
Commit migrated from https://github.com/dotnet/corefx/commit/1c48331eb5784c58b81309665257f454abd7d322
2019-05-06 14:46:10 -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
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
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
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
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