diff options
author | Simon Nattress <nattress@gmail.com> | 2017-04-22 02:28:03 +0300 |
---|---|---|
committer | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2017-04-22 02:28:03 +0300 |
commit | d3576c386564d715328b6f5f26dabd649a930c49 (patch) | |
tree | f24b9aa4bf98aa93784f8dfe10580269bd434e1a /src/ILCompiler.TypeSystem | |
parent | 0d1fffb114ae22be66fc760669636eb7cc4dc787 (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')
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"; - } - } - } -} |