[corlib]: Use `Guid.NewGuid()` implementation from CoreFx. (#13189)
commit3f43547cd607d99856cf5c6993c9cd74cbaf4488
authorMartin Baulig <mabaul@microsoft.com>
Thu, 28 Feb 2019 05:37:25 +0000 (28 00:37 -0500)
committerGitHub <noreply@github.com>
Thu, 28 Feb 2019 05:37:25 +0000 (28 00:37 -0500)
tree42f4a8d01e3714a2dc9c2aec6cc0bfb147b6aa0a
parent53b7b79f53455f13a6a86cbcb393f0c784cead50
[corlib]: Use `Guid.NewGuid()` implementation from CoreFx. (#13189)

* [corlib]: Use `Guid.NewGuid()` implementation from CoreFx.

The corefx implementation of `Guid.NewGuid()` uses the internal
`Interop.GetRandomBytes(byte*, int)`, which uses `RNGCryptoServiceProvider`
directly without using `CryptoConfig`.

* [csproj] Update project files

* Rename Guid.MonoTouch.cs -> CommonCrypto/Guid.cs.
mcs/class/corlib/CommonCrypto/Guid.cs [moved from mcs/class/corlib/System/Guid.MonoTouch.cs with 90% similarity]
mcs/class/corlib/System/Guid.cs
mcs/class/corlib/corlib.csproj
mcs/class/corlib/corlib.dll.sources
mcs/class/corlib/monotouch_corlib.dll.exclude.sources
mcs/class/corlib/monotouch_corlib.dll.sources
mcs/class/corlib/xammac_corlib.dll.exclude.sources