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:
authorDavid Wrighton <davidwr@microsoft.com>2015-12-04 04:29:41 +0300
committerDavid Wrighton <davidwr@microsoft.com>2015-12-04 04:35:18 +0300
commit20ce7e0f0fedbd6dea270db207a70c62f22ceea3 (patch)
treebef583f2178f4084fc2b3857c39b536f4a30652b /src/ILCompiler.Compiler
parent848ecc1fffca53f428d29cb5f40d4ca4187283d7 (diff)
Fix base type system api's to work in terms of DefType not MetadataType
- Convert GetWellKnownType to return DefType - Change OwningType on FieldDesc to be of type DefType
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.cs b/src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.cs
index 89db6364c..9ad58afea 100644
--- a/src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/CompilerTypeSystemContext.cs
@@ -101,7 +101,7 @@ namespace ILCompiler
}
}
- public override MetadataType GetWellKnownType(WellKnownType wellKnownType)
+ public override DefType GetWellKnownType(WellKnownType wellKnownType)
{
return _wellKnownTypes[(int)wellKnownType - 1];
}