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:
authorMichal Strehovsky <michals@microsoft.com>2017-11-12 17:54:18 +0300
committerMichal Strehovsky <michals@microsoft.com>2017-11-12 17:54:18 +0300
commit8385ac3383e5df4f500b9cf2de3fc090b3333d52 (patch)
tree1fd234f48a29b1fb4861037c09d4c328faf2769b /src/ILCompiler.TypeSystem
parente0416c0125d05331e444a8fa1db35eb32d82baa9 (diff)
Make Canon types inherit from MetadataType
Over the years, I had a "sigh, I wish Canon types were MetadataTypes" moment several times. I just had another of those. I don't actually remember why we made these inherit `DefType` instead of `MetadataType`. We can come up with the right answers to all questions a `MetadataType` needs to answer. Canon types not being `MetadataType` is also the sole reason why `RuntimeDeterminedType` can't be a `MetadataType` either. [tfs-changeset: 1680914]
Diffstat (limited to 'src/ILCompiler.TypeSystem')
-rw-r--r--src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj b/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
index 9ef81e0ca..6597178c1 100644
--- a/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
+++ b/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
@@ -28,6 +28,9 @@
<Compile Include="..\..\Common\src\TypeSystem\Canon\CanonTypes.cs">
<Link>TypeSystem\Canon\CanonTypes.cs</Link>
</Compile>
+ <Compile Include="..\..\Common\src\TypeSystem\Canon\CanonTypes.Interop.cs">
+ <Link>TypeSystem\Canon\CanonTypes.Interop.cs</Link>
+ </Compile>
<Compile Include="..\..\Common\src\TypeSystem\Canon\CanonTypes.Sorting.cs">
<Link>TypeSystem\Canon\CanonTypes.Sorting.cs</Link>
</Compile>