Move ParameterInfo.cs and Assembly.cs to shared partition. (dotnet/coreclr#10270)
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>
Sat, 18 Mar 2017 11:37:06 +0000 (04:37 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Mar 2017 11:37:06 +0000 (04:37 -0700)
commit6570ae490e8aa0bab80b82447b1c96e186b24e2b
tree53e906212a69748c87ddf4ccf52c07e916c7877e
parent5430b1dd2bb58d7fea8afa2d3ec3b851f7ef80ae
Move ParameterInfo.cs and Assembly.cs to shared partition. (dotnet/coreclr#10270)

* Clone the files.

* Split the members between shared and nonshared files.

* Replaced ParameterInfo with CoreRt text member by member.

* Replaced Module.cs with CoreRt text member by member.

* Remove dead filter code.

* Replaced Assembly.cs with CoreRt text member by member.

* Transplanted CoreRt files.

This is a reordering without any other changes.
Verified by sorting the old and new files and
diffing.

* Migrated ParameterInfo.cs and Assembly.cs to shared directory.

Leaving Module.cs in place for now as one line is going to
have to change over in CoreRt land.

 ModuleHandle ModuleHandle => new ModuleHandle(this);

* Cleanup.

* Move the final internal methods to RuntimeParameterInfo.

Commit migrated from https://github.com/dotnet/coreclr/commit/487a39c2bf0ce6cdf38a6b0ec49a7e210ef8c5c5
13 files changed:
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/coreclr/src/mscorlib/shared/System/Reflection/Assembly.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/ParameterInfo.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/SR.cs
src/coreclr/src/mscorlib/src/System/Reflection/Assembly.CoreCLR.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Reflection/Assembly.cs [deleted file]
src/coreclr/src/mscorlib/src/System/Reflection/Emit/DynamicMethod.cs
src/coreclr/src/mscorlib/src/System/Reflection/Module.CoreCLR.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Reflection/Module.cs
src/coreclr/src/mscorlib/src/System/Reflection/ParameterInfo.cs [deleted file]
src/coreclr/src/mscorlib/src/System/Reflection/RuntimeParameterInfo.cs
src/coreclr/src/mscorlib/src/System/Reflection/__Filters.cs [deleted file]