Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2014-01-14 20:30:02 +0400
committerMarek Safar <marek.safar@gmail.com>2014-01-14 20:30:50 +0400
commit4b1b4218327affa30fd29492a058fd5f8c8bc28a (patch)
tree23f775bbef637335eefdba3edd1234c47596ac70 /mcs
parent09496c2a834ad3cc7be98659683da6bb2f46d6e0 (diff)
[mcs] Disable container definition check on platforms which don't support it
Diffstat (limited to 'mcs')
-rw-r--r--mcs/mcs/membercache.cs2
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--) {