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:
authorSimon Nattress <nattress@gmail.com>2017-04-22 02:28:03 +0300
committerMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2017-04-22 02:28:03 +0300
commitd3576c386564d715328b6f5f26dabd649a930c49 (patch)
treef24b9aa4bf98aa93784f8dfe10580269bd434e1a /src/ILCompiler.TypeSystem
parent0d1fffb114ae22be66fc760669636eb7cc4dc787 (diff)
Move two mis-filed Mangling dot files (#3406)
Move two name mangling dot files under the Common folder Add a regression test for the NativeStructType naming
Diffstat (limited to 'src/ILCompiler.TypeSystem')
-rw-r--r--src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj4
-rw-r--r--src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/NativeStructType.Mangling.cs13
-rw-r--r--src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/PInvokeDelegateWrapper.Mangling.cs25
3 files changed, 2 insertions, 40 deletions
diff --git a/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj b/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
index eec6933e8..dd22468b8 100644
--- a/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
+++ b/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
@@ -452,13 +452,13 @@
<Compile Include="..\..\Common\src\TypeSystem\Sorting\MethodForInstantiatedType.Sorting.cs">
<Link>TypeSystem\Sorting\MethodForInstantiatedType.Sorting.cs</Link>
</Compile>
- <Compile Include="TypeSystem\Interop\IL\NativeStructType.Mangling.cs">
+ <Compile Include="..\..\Common\src\TypeSystem\Interop\IL\NativeStructType.Mangling.cs">
<Link>TypeSystem\Interop\IL\NativeStructType.Mangling.cs</Link>
</Compile>
<Compile Include="..\..\Common\src\TypeSystem\Interop\IL\PInvokeDelegateWrapper.cs">
<Link>TypeSystem\Interop\IL\PInvokeDelegateWrapper.cs</Link>
</Compile>
- <Compile Include="TypeSystem\Interop\IL\PInvokeDelegateWrapper.Mangling.cs">
+ <Compile Include="..\..\Common\src\TypeSystem\Interop\IL\PInvokeDelegateWrapper.Mangling.cs">
<Link>TypeSystem\Interop\IL\PInvokeDelegateWrapper.Mangling.cs</Link>
</Compile>
<Compile Include="..\..\Common\src\TypeSystem\Interop\IL\PInvokeDelegateWrapper.Sorting.cs">
diff --git a/src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/NativeStructType.Mangling.cs b/src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/NativeStructType.Mangling.cs
deleted file mode 100644
index 0ad9e2032..000000000
--- a/src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/NativeStructType.Mangling.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Internal.TypeSystem.Interop
-{
- partial class NativeStructType : IPrefixMangledType
- {
- TypeDesc IPrefixMangledType.BaseType => ManagedStructType;
-
- string IPrefixMangledType.Prefix => "NativeStructType";
- }
-}
diff --git a/src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/PInvokeDelegateWrapper.Mangling.cs b/src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/PInvokeDelegateWrapper.Mangling.cs
deleted file mode 100644
index 679970e53..000000000
--- a/src/ILCompiler.TypeSystem/src/TypeSystem/Interop/IL/PInvokeDelegateWrapper.Mangling.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Internal.TypeSystem.Interop
-{
- partial class PInvokeDelegateWrapper : IPrefixMangledType
- {
- TypeDesc IPrefixMangledType.BaseType
- {
- get
- {
- return DelegateType;
- }
- }
-
- string IPrefixMangledType.Prefix
- {
- get
- {
- return "PInvokeDelegateWrapper";
- }
- }
- }
-}