diff options
author | Marek Safar <marek.safar@gmail.com> | 2014-01-14 20:30:02 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2014-01-14 20:30:50 +0400 |
commit | 4b1b4218327affa30fd29492a058fd5f8c8bc28a (patch) | |
tree | 23f775bbef637335eefdba3edd1234c47596ac70 /mcs | |
parent | 09496c2a834ad3cc7be98659683da6bb2f46d6e0 (diff) |
[mcs] Disable container definition check on platforms which don't support it
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/mcs/membercache.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/mcs/membercache.cs b/mcs/mcs/membercache.cs index 89e94af3963..5b9d6e64791 100644 --- a/mcs/mcs/membercache.cs +++ b/mcs/mcs/membercache.cs @@ -464,6 +464,7 @@ namespace Mono.CSharp { IList<MemberSpec> applicable; TypeSpec best_match = null; do { +#if !FULL_AOT_RUNTIME // TODO: Don't know how to handle this yet // When resolving base type of nested type, parent type must have // base type resolved to scan full hierarchy correctly @@ -472,6 +473,7 @@ namespace Mono.CSharp { var tc = container.MemberDefinition as TypeContainer; if (tc != null) tc.DefineContainer (); +#endif if (container.MemberCacheTypes.member_hash.TryGetValue (name, out applicable)) { for (int i = applicable.Count - 1; i >= 0; i--) { |