* 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
* 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
* 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
- 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
`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
* 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
* 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
In a bunch of places we're creating a Span only to then cast it (generally implicitly) to a ReadOnlySpan. While the JIT is generally able to do the RightThing(tm), we can avoid the unnecessary IL and pressure on the JIT by just creating a ReadOnlySpan to begin with.
Commit migrated from https://github.com/dotnet/corefx/commit/ab925533fade636748f5d932546e1ce2fe33c1dd
* Added TryParse to StandardFormat
* Removed Obsolete from StandardFormat.Parse(string)
* checked out the non changed StandardFormat.cs and made the suggested changes to ref and tests
* Removed netstandard from BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/c4eb0f0796ea4d92aaaf93fedb66ea36b7788613
* 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
* Update CoreClr, CoreFx, CoreFxOptimizationData, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview-27113-05, preview.18563.1, master-20181113-0044, preview-27112-04, beta-27113-00, beta-27113-00, respectively (master)
* Fixing the Math/MathF Min and Max tests
* Removing the Utf8Parser and Utf8Formatter from System.Memory, now that it is in S.P.Corelib
Commit migrated from https://github.com/dotnet/corefx/commit/838a5c2eb20a68c2b9befb95f06c3c5c975678a6