Added System.GC.GetTotalAllocatedBytes to the ref assembly (dotnet/corefx#37635)
authorVladimir Sadov <vsadov@microsoft.com>
Thu, 16 May 2019 00:13:00 +0000 (17:13 -0700)
committerGitHub <noreply@github.com>
Thu, 16 May 2019 00:13:00 +0000 (17:13 -0700)
commit73721395cb5625fcf5246eb637f8729c69a13431
tree10b42756f13a5642ac972b2279a784166a921116
parent4e8a7033d7075b8ef59570efda6be7c6bbdc69cf
Added System.GC.GetTotalAllocatedBytes to the ref assembly (dotnet/corefx#37635)

* Update dependencies from https://github.com/dotnet/coreclr build 20190514.72

- Microsoft.NET.Sdk.IL - 3.0.0-preview6-27714-72
- Microsoft.NETCore.ILAsm - 3.0.0-preview6-27714-72
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview6-27714-72

* Added GetTotalAllocatedBytes to ref

* Added a test for GC.GetTotalAllocatedBytes

* SImplified the test.

Commit migrated from https://github.com/dotnet/corefx/commit/d0d6a734fc877b76f766548d5e79a63aba5160cf
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/src/ApiCompatBaseline.uapaot.txt
src/libraries/System.Runtime/tests/System/GCTests.netcoreapp.cs