diff options
author | David Wrighton <davidwr@microsoft.com> | 2015-12-04 04:29:41 +0300 |
---|---|---|
committer | David Wrighton <davidwr@microsoft.com> | 2015-12-04 04:35:18 +0300 |
commit | 20ce7e0f0fedbd6dea270db207a70c62f22ceea3 (patch) | |
tree | bef583f2178f4084fc2b3857c39b536f4a30652b /src/ILCompiler.Compiler | |
parent | 848ecc1fffca53f428d29cb5f40d4ca4187283d7 (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.cs | 2 |
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]; } |