Commit Graph
15 Commits
Author SHA1 Message Date
Adam Sitnik 7d7d8aac59 remove System.Memory.PerformanceTests
Commit migrated from https://github.com/dotnet/corefx/commit/fa4b8931f2af745786df18c85c4ea69cb44d106f
2019-03-05 07:29:43 +01: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
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
Eric St. John 98c0015605 Update SLNs and projects to be in sync with configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8ce7e620e1b5001be002598f4d10d4becdd77a49
2018-03-08 08:25:31 -08:00
Ahson Khan 99d51cc096 Add ROSpan Equals/CompareTo/IndexOf/Contains string-like APIs with StringComparison (dotnet/corefx#27319)
* Add ROSpan Equals/CompareTo/IndexOf/Contains string-like APIs with StringComparison

* Respond to recent change AsReadOnlySpan -> AsSpan

* Remove the out parameter from IndexOf

* Add tests and avoid allocations for StringComparison.Ordinal

* Remove duplicate definition of SoftHyphen


Commit migrated from https://github.com/dotnet/corefx/commit/fdabc62a4f7ff0ffa8b605d2ec14fea27e06e065
2018-02-27 22:46:48 -08:00
ahsonkhan 6c6de2fed8 Changing Span to return default on null instead of throwing.
Commit migrated from https://github.com/dotnet/corefx/commit/cd48d8680762ab47e39236227c346efa042d789c
2018-02-03 23:39:03 -08:00
Santiago Fernandez Madero b9d768589e Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations (dotnet/corefx#24752)
* Fixed odbc configurations for compat package

* Run UpdateVSConfigurations

* Remove Default Configurations to help VS... comment from csproj's

* Remove from System.Buffers as well


Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b
2017-10-23 18:24:28 -07:00
Eric St. John b2dae07f2b Update VS configurations
Commit migrated from https://github.com/dotnet/corefx/commit/238bf3302817a910fac3968f4ac826424294ab0c
2017-08-29 08:49:24 -07:00
Wes Haggard 37d3e399af Refresh current solutions and project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/4df5385dc18fc8c34226267d5ed2f00554a57c9a
2017-03-06 17:16:57 -08:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
nietras 895b815bda S.M.Span<T>: Add Clear()/Fill(T value) (dotnet/corefx#14396)
Commit migrated from https://github.com/dotnet/corefx/commit/051290fbd903140e2f1f55c7b8a2aa33814a161f
2017-01-15 07:10:22 -08:00
Atsushi Kanamori 3c6e7e66cf Portable (and thus slower) version of Span<> (dotnet/corefx#13562)
* Rebase to make review readable again.

* Remove the type casts from DangerousGetPinnedReference - store object as Pinnable<T>

* Removed stable version list.

* DangerousCreate gets more Dangerous...

* Updated dependency versions *again*.

* IsReferenceFree fast-paths for common primitives.

* Move exception throwing out of inline code.

* Remove Windows-only restriction.

* Remove baseline version.

* Don't hardcode array header size.

* Another dependency version change!

What's the matter, don't we have any version
numbers you like??

* Version => 4.0.0.0

* Use Unsafe.Add rather than SpanHeloer.Add in this[index]

(all this repeated source is annoying - unfortunately,
Rosylin at this point at least, insists that "ref"
variables be initialized once only at declaration point and
doesn't allow the conditional ternary operator on ref types.
This makes it hard to manually inline DangerousGetPinnableReference
in a nice way...)

* ThrowHelper.Throw ==> throw ThrowHelper.Create

Allow JIT to recognize the throw path as a
no-return path so it can throw it into the
cold region.

* Revert the specific primitive type checks in IsReferenceFree().

It pessimizes the routine on the desktop CLR.

* Fix DangerousGetPinnableReference to be a method to match spec.

* PR feedback.

Description: "Provide classes" => "Provide types"

Add fastpath for specific types in IsReferenceFree

Make MeasureArrayAdjustment a PerTypeValues private

* More concise operator==

Eh... hard to tell with all the noise but
it did seems to shave a couple of percentage
points off.

* Follow Ben's suggested ThrowHelper pattern.

* Update ThrowHelper comments based on Ben's feedback.

* Remove trailing whitespace.

* Dependency bump. Again...

* Fix up some tests so the IL is Span-legal.

Ah, the fun of writing Span code w/out stack-only enforcement.

* Add a reference assembly and some of the plumbing...

...to typeforward on CoreClr. Right now, CoreClr
fails 44 out of 55 tests so I believe it's
premature to throw the switch just yet. This just
gets some of the grunt work out of the way.

* Add Cdotnet/corefx#6.0 workaround.

After chatting offline, we'll accomodate C# 6.0 for now
by having the indexer return "T" rather than "ref T".

Some performant code require the "ref T" version so
as another stopgap, we'll provide a GetItem() method
that returns "ref T".

Once the tooling story is in better shape,
we'll merge GetItem() and the indexer into a single
indexer that returns "ref T".

* Dependency update again.

This is getting really monotonous.


Commit migrated from https://github.com/dotnet/corefx/commit/ccc44b7b2e9145251e2ca98bbe0936938ed94379
2016-11-15 16:15:16 -05:00