Commit Graph
527 Commits
Author SHA1 Message Date
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
Stephen Toub 06703f3d51 Workaround potential compiler nullability bug
Commit migrated from https://github.com/dotnet/corefx/commit/5e3b0ae04986e9527eb51d3717ab96727c215c03
2019-06-28 22:26:40 -04:00
Prashanth Govindarajan e078defd58 Improve default handling in ReadOnlySequence.Slice (dotnet/corefx#38431)
* Improve default handling in ReadOnlySequence.Slice


Commit migrated from https://github.com/dotnet/corefx/commit/5f6cba88228bc48e4d0cb6ce2608eeeb7938c71b
2019-06-28 09:42:10 -07:00
Anirudh Agnihotry 59c5617312 Tests for nullable reference types in Span apis (dotnet/corefx#38625)
* Some more null index checks

* adding test for ReadonlySpan overload and refactoring all overloads into a single test

* FIxing the tests with ben change and rebasing


Commit migrated from https://github.com/dotnet/corefx/commit/96a713d3434af8d443f87874e915f5d36c47a564
2019-06-26 11:54:06 -07:00
Ahson Khan accb316004 Use SpanTestHelpers from Common within StringTests rather than TestHelpers which doesn't exist (dotnet/corefx#38865)
* Revert "Fix build break for TestHelpers, move to common and rename to MemoryTestHelpers"

This reverts commit dotnet/corefx@61f9b4c443.

* Use SpanTestHelpers from Common rather than TestHelpers which doesn't
exist.


Commit migrated from https://github.com/dotnet/corefx/commit/edbee902747970e86dbcf19727e72b8216946bb8
2019-06-25 11:36:15 -07:00
Santiago Fernandez Madero 29a18569e0 Fix build break for TestHelpers, move to common and rename to MemoryTestHelpers
Commit migrated from https://github.com/dotnet/corefx/commit/61f9b4c44336a7e32f8679e0a186a9177d384c49
2019-06-24 19:08:57 -05:00
Marco Rossignoli ec73aaf4b4 update MemoryExtensions ToUpper/ToLower tests for throws on overlapping buffer
address PR feedback

update tests

Address PR feedback

address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/3d9e91a1885577f0043884f8818c9c3c97a72298
2019-06-24 19:08:57 -05:00
dotnet-maestro[bot] a83ac4abab [master] Update dependencies from dotnet/coreclr (dotnet/corefx#38679)
* Update dependencies from https://github.com/dotnet/coreclr build 20190618.4

- Microsoft.NET.Sdk.IL - 3.0.0-preview7.19318.4
- Microsoft.NETCore.ILAsm - 3.0.0-preview7.19318.4
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview7.19318.4

* IndexOfAny ZeroLength values

* Test updates for relaxed Array.Copy type checks

Fixes dotnet/corefx#38535


Commit migrated from https://github.com/dotnet/corefx/commit/51a9c8f1dc56d366f5eb435f231052e2614c7a76
2019-06-20 01:50:19 +00:00
Adam Sitnik d4d2714cd9 writing to too small buffer should throw an exception (dotnet/corefx#37661)
fixes dotnet/corefx#35231

Commit migrated from https://github.com/dotnet/corefx/commit/721a570b005c53a839947603dcf76f8a3e5fc56a
2019-06-19 10:06:28 +02:00
Santiago Fernandez Madero 9e99b02b79 Add nullable annotations to System.Memory ref assembly (dotnet/corefx#38299)
* Add nullable annotations to System.Memory ref assembly

* Nullable feedback

* Include where T inside pragma to be consistent with sources

* Make CultureInfo nullable in ToLower/Upper to match updates we did on String

* Revert comparer nullable change in BinarySearch per pr feedback in implementation


Commit migrated from https://github.com/dotnet/corefx/commit/ad961d0dc9d9054942c6a7e3a8c96c8684dd16cc
2019-06-18 16:16:18 -07:00
Viktor Hofer 5f98ba6a2b Enable project restore for test projects (dotnet/corefx#38151)
* Factor out repo restore into seperate props/targets

* Use configuration system msbuild sdk

* Remove XUnit.Runtime.depproj

* Remove TargetGroup usages in test projects

* Fix ILLink configuration

The ILLink package contains netcoreapp2.0 assets which are compatible
with netstandard2.0. Removing the old TargetFramework to restore
successfully.

* Remove usages from TargetGroup in Directory.Build.props

* Remove dead net4* configurations

* Change tests.builds to tests.proj sdk proj

* Make externals dir proj an sdk project

* Consume Microsoft.DotNet.CoreFxTesting as an msbuild sdk

* Use runtimeconfig.template.json

* Remove SupplementalTestData

* Map shared framework version to product version

* Stop binplacing tests

* Move some tool depprojs to targets during restore

* Remove dead code

* Use PackageReference instead of RefFromRuntime in test

* Disable using an apphost

* Copy compression testdata manually cause unicode bug

* Remove target batching in optimizationData

* Reference packaging tools from CoreFx.Private.TestUtilities


Commit migrated from https://github.com/dotnet/corefx/commit/c4c1985531cc1f25c805bbc4801b85c98e0dfee0
2019-06-15 21:27:13 +02:00
Viktor Hofer a5d5b91672 Delete dead uapaot code (dotnet/corefx#38330)
* Delete dead uapaot code

Commit migrated from https://github.com/dotnet/corefx/commit/8c2be7893fa585cba9c094c27b69d7c8e0822ef3
2019-06-14 15:12:42 +02:00
Stephen Toub 37806d0f7b Update corefx for compiler nullable attribute updates
Commit migrated from https://github.com/dotnet/corefx/commit/3c129ac0340a3843ab5b00a9c730730e7b60729b
2019-06-13 18:26:36 -04:00
Anirudh Agnihotry 25b2471bcc Tests for nullable reference types in Span apis (dotnet/corefx#38468)
Commit migrated from https://github.com/dotnet/corefx/commit/159fbc07c938f5ee6f136c60559ca16dc295d859
2019-06-13 15:14:00 -07:00
Stephen Toub ab3ee8ae86 Add nullable attributes to partial facade implementations (dotnet/corefx#38309)
* Add nullable attributes to partial facade implementations

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/3ea7b55e275fb6367f67e7fb0432be4bb3902f09
2019-06-06 21:54:11 -04:00
Viktor Hofer cacc1ff968 Remove NetNative uapaot support (dotnet/corefx#38170)
* Remove NetNative uapaot support

* Remove uapaot assets from packages

* Disable emit lightweight and ilgen version check


Commit migrated from https://github.com/dotnet/corefx/commit/ab58ff6e649852b85fdb99b15992a2fa3a7d8834
2019-06-06 21:39:46 +02:00
Bradley Grainger 20a33da60e Improve ReadOnlySequence.Slice docs (dotnet/corefx#38150)
* Improve ReadOnlySequence.Slice docs. Fixes dotnet/corefx#32021

* Synchronise documentation with dotnet-api-docs.


Commit migrated from https://github.com/dotnet/corefx/commit/7626863d5a48f771513f7d22977189aab14dcd0b
2019-06-06 09:29:10 -04:00
Santiago Fernandez Madero 9d04b1b8fc Re-generate System.Memory ref assembly against implementation (dotnet/corefx#38287)
Commit migrated from https://github.com/dotnet/corefx/commit/7b87ec99d747478ddcb1eba048411be24e9b9b87
2019-06-05 21:11:32 -07: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
Jeremy Kuhne 95a80b335c Add readonly modifiers to SequenceReader. (dotnet/corefx#37718)
* Add readonly modifiers to SequenceReader.

Clearly marking where we don't mutate faciliates passing stack allocated spans and allows composing additional helpers that also want to describe that they don't mutate.

* Address some feedback

* Cache length again

* Change to compare to < 0

* put back the private field stripped out by the tool

* Add dummy primitive for SequenceReader


Commit migrated from https://github.com/dotnet/corefx/commit/0bae12c1967eaee2f1b20421df768e70d73da69c
2019-05-29 14:09:09 -07:00
Günther Foidl af1995c68f Base64 encoding with simd-support (dotnet/corefx#34529)
* Optimized scalar code-path

* Fixed label names

* Implemented vectorized versions

* Added reference to source of algorithm

* Added back missing namespace

* Unsafe.Add instead of Unsafe.Subtract

Fixed build-failure (https://ci3.dot.net/job/dotnet_corefx/job/master/job/linux-musl-TGroup_netcoreapp+CGroup_Debug+AGroup_x64+TestOuter_false_prtest/8247/console)
Seems like the internal Unsafe doesn't have a Subtract method, so use Add instead.

* Added THIRD-PARTY-NOTICES

* PR Feedback

* THIRD-PARTY-NOTICES in repo-base instead instead in folder

Cf. https://github.com/dotnet/corefx/pull/34529#issuecomment-453510246

* PR Feedback

* https://github.com/dotnet/corefx/pull/34529#discussion_r247200659
* https://github.com/dotnet/corefx/pull/34529#discussion_r247214904

* Rewritten to use raw-pointers instead of GC-tracked refs

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r247197669

* Initialized the static fields directly (i.e. w/o cctor)

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r247193419

* Added a test for decoding a (encoded) Guid

The case with decoding encoded 16 bytes was not covered by tests, so a wrong code got commited before, resulting
in DestinationTooSmall instead of the correct Done.

* EncodingMap / DecodingMap as byref instead of pointer

So got rid of the `rep stosd` in the prolog. Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r248075157

* PR Feedback

* https://github.com/dotnet/corefx/pull/34529#discussion_r262165689

* Debug.Fail instead throwing for the assertion

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r263894301

* ROSpan for static data

* ROS for lookup maps

* In decode avoided stack spill and hoisted zero-vector outside the loops

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r287613894

* Assert assumption about destLength

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r287605561

* Added comments from original source and some changes to variable names

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r287606634 and https://github.com/dotnet/corefx/pull/34529#discussion_r287606714

* Use TestZ instead of MoveMask in AVX2-path

Cf. https://github.com/dotnet/corefx/pull/34529#discussion_r287825385

* Fixed too complicated mask2F creation

Improved the version done in dotnet/corefx@c8b6cb3387, so the static data isn't needed and code is more compact and readable.


Commit migrated from https://github.com/dotnet/corefx/commit/036e0a64bd190e80f1685c3b267e495b03bb2962
2019-05-29 08:29:31 -07:00
Santiago Fernandez Madero 5c5b7bbf70 Update to new compiler toolset by using arcade's property (dotnet/corefx#37883)
* Update to new compiler toolset by using arcade's property

* Run manual darc update


Commit migrated from https://github.com/dotnet/corefx/commit/daa005b23d4954d4a41b1663171d6ada2d960bd2
2019-05-22 21:28:22 -07:00
Jeremy Kuhne d6fdb2aafe Improve test coverage for SequenceReader. (dotnet/corefx#37416)
One of the tests was inadvertently private. Added additional coverage and clarification text to TryCopyTo.

Commit migrated from https://github.com/dotnet/corefx/commit/203f61e27e93b098dcc0736fbfe2b38528dcf9aa
2019-05-15 12:08:19 -07:00
Stephen Toub 445267a46d Nullable: System.Memory.dll
Commit migrated from https://github.com/dotnet/corefx/commit/789f770a67472896d69f77b9516dff12f8270eac
2019-05-09 06:42:58 -04: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
Stephen Toub 8d80b9e768 Fix MultipleCallsToGetSpan test with pinning (dotnet/corefx#37373)
The test is getting two pointers to an array and validating that they're the same pointer.  But if the array is moved by the GC between the two calls, the test fails.  The fix is to pin the array.

Commit migrated from https://github.com/dotnet/corefx/commit/1a2401cd4c3f56c022173d2ac1e0c34799d387e3
2019-05-02 14:41:02 -04:00
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
Stephen Toub 5431861e6a Fix conditional fact in ArrayBufferWriter tests (dotnet/corefx#37086)
Commit migrated from https://github.com/dotnet/corefx/commit/3bda413dc3ae242a7f47967dceb9ffbc13024c78
2019-04-22 12:03:51 -04:00
Ahson Khan fff17cfd65 Address and fix ArrayBufferWriter and Utf8JsonWriter feedback and nits (dotnet/corefx#37017)
* Address ABW and Utf8JsonWriter feedback and nits.

* Address ABW init and test feedback.

* Fix up JsonWriter usage of ABW and update tests.

* Address PR feedback.


Commit migrated from https://github.com/dotnet/corefx/commit/4a25e4b03bcb5b9b1b2319b4178d2dfcfe05b3b1
2019-04-19 17:35:24 -07:00
Ahson Khan 597fd58cdd Re-design Utf8JsonWriter as a regular class rather than a ref struct. (dotnet/corefx#36961)
* Add an in-box array-backed IBufferWriter<T>

* Update Utf8JsonWriter ref and main writer file.

* Fix JsonWriter WriteValue APIs.

* Use Environment.NewLine static and invert some stream conditions.

* Update JsonWriter properties and fix serializer build breaks.

* Update JsonWriter unit tests.

* Add xml comments, clean up, and improve test coverage.

* Update JsonDocument and JsonSerializer to react to JsonWriter changes.

* Normalize the reference assembly.

* Do not escape/validate comments and update issue number.

* Do not escape comments and validate they don't contain embedded
delimiter

* Remove dead code and update issue number in comments.

* Throw InvalidOEx instead of ArgEx if IBW doesn't give requested memory.

* Fix test build breaks for netfx.

* Remove dead code and fix source packaging.

* Address PR feedback.

* Disable writing floats test on windows

* 8 digit floats don't work well on older TFMs. Reduce to 7.


Commit migrated from https://github.com/dotnet/corefx/commit/1f9b84a0804e868c7e0f37a3c10fbaf7c735ae14
2019-04-17 23:57:50 -07:00
Jose Perez Rodriguez c937f1f943 Manually updating dependencies in order to get the new coreclr packages. (dotnet/corefx#36976)
* Update the Index and Range interfaces and tests

* Fix api compat failure with utf8string

* Fix the test to use Assert.Throws

* Update dependencies manually


Commit migrated from https://github.com/dotnet/corefx/commit/d5a5f3c9eb96adf38115cbc04e5664abf328b02d
2019-04-17 17:48:24 -07:00
Grant 8713af383b Ref Assembly and Units for Span.Trim (dotnet/corefx#35576)
* Units for Trim

* Add ref assembly

* Bug

* Add char units

* Bugs

* CR fixes - 1

* CR fixes - 2

* CR fixes - 3

* CR fixes - 4

* CR fixes - 5

* Revert formatting

* unfo formatting

* Get MemberData working

* Normalize ref

* Manual revert changes

* CR fixes

* Undo code cleanup

* Fixes

* Update ref

* Update ref

* Update ref

* Move memory tests

* Revert StringTests

* Remove redundant unit code

* Add missing refs

* Bug

* dotnet msbuild /t:GenerateReferenceSource

* Revert unintended changes

* POC : Check if fix works

* Fix units

* Revert temp test

* Update ApiCompatBaseline.uapaot.txt


Commit migrated from https://github.com/dotnet/corefx/commit/2191763a765654710df5317dc65dc7cd935bc8c1
2019-04-15 18:24:04 -07:00
Ganbarukamo41 f8040bac33 Implement IEquatable to Memory and ReadOnlyMemory (dotnet/corefx#36497)
* Implement IEquatable to Memory and ReadOnlyMemory

* Add equality tests using IEquatable of ReadOnlyMemory and Memory

* Fix and add tests for Memory and ReadOnlyMemory
* Fixed where IEquatable interface tests were using object.Equals(object) instead of T.Equals(T)
* Added IEquatable interface tests for Memory of different types (char, string)

* Fix IEquatable tests for Memory and ReadOnlyMemory
* Fix tests that were missed in the previous commit (IEquatable tests calling object.Equals(object))
* Should use ReadOnlyMemory in ReadOnlyMemory tests

* Update uapaot baseline for dotnet/corefx#36497

Implementing IEquatable to Memory and ReadOnlyMemory (see dotnet/corefx#32905)

* Update uapaot baseline for dotnet/corefx#36497

Implementing IEquatable to Memory and ReadOnlyMemory (see dotnet/corefx#32905)
* Remove baselines added to System.Runtime by mistake
* Add baselines to System.Memory

* Update uapaot baseline for dotnet/corefx#36497
Implementing IEquatable to Memory and ReadOnlyMemory (see dotnet/corefx#32905)
* Add removed baselines to System.Runtime again


Commit migrated from https://github.com/dotnet/corefx/commit/68920bb0764fb13257f710f44dd08e85e4a35c7c
2019-04-14 16:34:34 -07:00
Anirudh Agnihotry bc2d80c6f4 Removed netcoreappaot configuration from corefx (dotnet/corefx#36739)
* netcoreappaot-Windows_NT regex removed

* netcoreappaot-WebAssembly;\n regex removed

* netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;
regex removed

* netcoreappaot; regex removed

* netcoreappaot-Debug;netcoreappaot-Release; removed

* removing rest of occurences of netcoreappaot

* deleteing the netcoreappaot apicompat files


Commit migrated from https://github.com/dotnet/corefx/commit/e9d1a10ed1d38a8b1ed599b3b5be09b8349f8ea8
2019-04-09 14:07:31 -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
David Fowler 650962761c Change Write to fill the remaining Span (dotnet/corefx#36507)
- We made some changes to make the sizeHint a minimum instead of just a hint. This means that passing in a huge buffer could result in a heap allocation if the underlying impl cannot provide a pooled version (like in pipelines or something backed by any MemoryPool impl). Instead of asking for a single contiguous buffer of the remaining input size, just pass 0 as the sizeHint and let the underlying implementation return a buffer to use.

Commit migrated from https://github.com/dotnet/corefx/commit/2c1cf10610d8102e080b203ff396707eeced15bd
2019-03-31 20:19:30 -04:00
Maryam Ariyan 3912b10d36 Add ReadOnlySequence<T>.FirstSpan (dotnet/corefx#36194)
* Add ReadOnlySequence<T>.FirstSpan

Fixes: dotnet/corefx#33029


Commit migrated from https://github.com/dotnet/corefx/commit/8292e4556eae08f497e3d8666c001b5ea75f0d3b
2019-03-29 11:19:11 -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 4bf4932b00 Merge remote-tracking branch 'upstream/master' into removePerfTests
Commit migrated from https://github.com/dotnet/corefx/commit/48478bb1ae934e0a4949c71a13ddc7724eef7455
2019-03-19 16:46:37 +01:00
Ben Adams ace0b217f4 Shrink ReadOnlySequence by 8 bytes (dotnet/corefx#35860)
* Shrink ReadOnlySequence by 8 bytes

* nit

* Unwrap Start, End when used interally


Commit migrated from https://github.com/dotnet/corefx/commit/fd88c5df4bde4ef56522a1cd81da1ff69c92edc4
2019-03-07 18:06:49 -08:00
Levi Broderick a3c466fe96 Add unit tests for Rune.Decode and friends (dotnet/corefx#35469)
Also forwards OperationStatus from System.Memory to System.Runtime

Commit migrated from https://github.com/dotnet/corefx/commit/43bfb492dbde0177a669982dfc9ed93d3236e1ac
2019-03-07 17:59:49 -08:00
Stephen Toub 8e91ff8699 Reduce overhead of ReadOnlySequence<T>.CopyTo (dotnet/corefx#35819)
`ReadOnlySequence<T>.Length` isn't as small or fast as `ReadOnlySpan<T>.Length`, which is just a field access.  Since we need the span anyway for the single element case, just get the span first and then compare with its length.

Commit migrated from https://github.com/dotnet/corefx/commit/7fc9d5730aabc6724edf18f5bedde6d32610f681
2019-03-06 11:10:46 -08:00
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 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
Jeremy Kuhne f066332a73 Fix advance for single length delimiter (dotnet/corefx#35597)
* Fix advance for single length delimiter

If the delimiter span for TryReadTo was only one character long we weren't advancing past the delimiter if requested. Add regression test.

* Address feedback

* Scan from beginning as well


Commit migrated from https://github.com/dotnet/corefx/commit/b0bc99d6f7943a8081a84bea23c5542831c9359e
2019-02-27 16:33:56 -08:00
Ahson Khan 9c204940c8 Update the IBufferWriter contract definition documentation to be clearer (dotnet/corefx#35554)
* Update the IBufferWriter contract definition docs

* Address feedback


Commit migrated from https://github.com/dotnet/corefx/commit/1da56c2529c8d52bd8f3b1ceb07795379221dc02
2019-02-26 19:12:35 -08:00
Tanner Gooding e2e1b67844 Adding some formatter tests validating the updated float/double behavior (dotnet/corefx#35567)
* Adding some formatter tests validating the updated float/double behavior

* Adding a regression test for ToString("R") on integral types, asserting it isn't supported


Commit migrated from https://github.com/dotnet/corefx/commit/54e341c9ba4ea452b098f2ec9dbcf58da7b33ed6
2019-02-26 18:58:22 -08:00
Stephen Toub 3fb9bc1edc Fix some XML comments in Base64Encoder/Decoder (dotnet/corefx#35354)
* Fix some XML comments in Base64Encoder/Decoder

* Update Base64Encoder.cs


Commit migrated from https://github.com/dotnet/corefx/commit/ec34e99b876ea1119f37986ead894f4eded1a19a
2019-02-15 14:17:55 -05:00