Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-01-20 07:30:05 +0300
committerJan Kotas <jkotas@microsoft.com>2017-01-20 07:30:05 +0300
commitabf07c287cb033ebbeb0f11625857ab175cd8652 (patch)
treec153514eb11179fb993ecb56a55c9132b8ecfe16
parent1c6f01ae270eb26b4bcfee8e86f7bd9a4c463813 (diff)
Fold System.Private.Reflection.rdxml into CoreLib
Move System.Private.Reflection.rdxml to CoreLib because of that’s where the types referenced by it are now [tfs-changeset: 1645193]
-rw-r--r--src/System.Private.CoreLib/src/Resources/System.Private.CoreLib.rd.xml8
-rw-r--r--src/System.Private.Reflection/src/Resources/System.Private.Reflection.rd.xml14
-rw-r--r--src/System.Private.Reflection/src/System.Private.Reflection.csproj3
3 files changed, 7 insertions, 18 deletions
diff --git a/src/System.Private.CoreLib/src/Resources/System.Private.CoreLib.rd.xml b/src/System.Private.CoreLib/src/Resources/System.Private.CoreLib.rd.xml
index f33a654d6..8e7f7ead1 100644
--- a/src/System.Private.CoreLib/src/Resources/System.Private.CoreLib.rd.xml
+++ b/src/System.Private.CoreLib/src/Resources/System.Private.CoreLib.rd.xml
@@ -87,7 +87,13 @@
<!-- System.TimeSpan is well known to the serializers and must not be explicitly specified to sg.exe -->
<Type Name="TimeSpan" DataContractJsonSerializer="Excluded" DataContractSerializer="Excluded"/>
</Namespace>
+ <Namespace Name="System.Reflection">
+ <Type Name="MethodInfo">
+ <Method Name="CreateDelegate">
+ <TypeParameter Name="delegateType" Activate="Public"/>
+ </Method>
+ </Type>
+ </Namespace>
</Assembly>
</Library>
</Directives>
-
diff --git a/src/System.Private.Reflection/src/Resources/System.Private.Reflection.rd.xml b/src/System.Private.Reflection/src/Resources/System.Private.Reflection.rd.xml
deleted file mode 100644
index 7d964d890..000000000
--- a/src/System.Private.Reflection/src/Resources/System.Private.Reflection.rd.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
- <Library Name="*System.Private.Reflection*">
- <Assembly Name="System.Private.Reflection">
- <Namespace Name="System.Reflection">
- <Type Name="MethodInfo">
- <Method Name="CreateDelegate">
- <TypeParameter Name="delegateType" Activate="Public"/>
- </Method>
- </Type>
- </Namespace>
- </Assembly>
- </Library>
-</Directives>
diff --git a/src/System.Private.Reflection/src/System.Private.Reflection.csproj b/src/System.Private.Reflection/src/System.Private.Reflection.csproj
index 645c7e84c..e2e74005a 100644
--- a/src/System.Private.Reflection/src/System.Private.Reflection.csproj
+++ b/src/System.Private.Reflection/src/System.Private.Reflection.csproj
@@ -24,8 +24,5 @@
<Compile Include="Internal\Reflection\Augments\TypeForwarders.cs" />
<Compile Include="System\Reflection\TypeForwarders.cs" />
</ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\$(AssemblyName).rd.xml" />
- </ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>