Reconciles Type.cs with CoreRT version for move to shared partition. (dotnet/coreclr...
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>
Mon, 20 Mar 2017 15:18:45 +0000 (08:18 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Mar 2017 15:18:45 +0000 (08:18 -0700)
commitff7e6189bc5101bb7a027ad517cf068fc098a6ef
tree7cdcd74adc9d0e575a26ac3d805bc2ad3e6f0891
parented7b49109f1038db13ffbcc9a38c1c25b26d53ee
Reconciles Type.cs with CoreRT version for move to shared partition. (dotnet/coreclr#10306)

* Clone files and add resource strings.

* Subset each partial class.

* String=>string and Environment.GetResourceString => SR.cs

Doing this upfront with reduce the upcoming diffs - hopefully.

* Add IsRuntimeImplemented() emulator.

* One method was put in the wrong file. Correcting.

* Converted Type.Enum.cs to CoreRT style member by member.

* Converted Type.Helpers.cs to CoreRT style member by member.

* Internalize __Filter.cs into Type.Helpers.cs

* Pretransform to reduce diffs.

Removed contracts and comments,
"abstract public" -> "public abstract"

* Converted Type.cs to CoreRT style member by member.

* Eh.. rather not share IsInterface and IsSerializable than have that #if CORECLR.

* Transplant the CoreRt files (now just a reordering.)

Commit migrated from https://github.com/dotnet/coreclr/commit/7c77fffac0ea7399a2f7dbf217b5ea804c0c1ad0
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/src/SR.cs
src/coreclr/src/mscorlib/src/System.Private.CoreLib.txt
src/coreclr/src/mscorlib/src/System/Type.CoreCLR.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Type.Enum.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Type.Helpers.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Type.cs
src/coreclr/src/mscorlib/src/System/__Filters.cs [deleted file]