From 8c1f91ba9f4dd98a28a11a5213274e19ed0d8da5 Mon Sep 17 00:00:00 2001 From: t-espave Date: Fri, 22 Jul 2011 08:35:40 -0700 Subject: double definition fix changed functions to maps for control properties --- BCT/BytecodeTranslator/Phone/PhoneCodeWrapperWriter.cs | 2 +- BCT/BytecodeTranslator/Phone/PhoneNavigationTraverser.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'BCT/BytecodeTranslator/Phone') diff --git a/BCT/BytecodeTranslator/Phone/PhoneCodeWrapperWriter.cs b/BCT/BytecodeTranslator/Phone/PhoneCodeWrapperWriter.cs index 17479b41..8bec1605 100644 --- a/BCT/BytecodeTranslator/Phone/PhoneCodeWrapperWriter.cs +++ b/BCT/BytecodeTranslator/Phone/PhoneCodeWrapperWriter.cs @@ -27,7 +27,7 @@ namespace BytecodeTranslator.Phone { * - might be slightly more efficient to nto return control until we know page navigation may have changed, * but this requires a lot of knowledge (ie, will the called method call NavigationService or not) */ - createMainProcedure(); + //createMainProcedure(); } } } diff --git a/BCT/BytecodeTranslator/Phone/PhoneNavigationTraverser.cs b/BCT/BytecodeTranslator/Phone/PhoneNavigationTraverser.cs index 84b120ef..a88b6c85 100644 --- a/BCT/BytecodeTranslator/Phone/PhoneNavigationTraverser.cs +++ b/BCT/BytecodeTranslator/Phone/PhoneNavigationTraverser.cs @@ -50,6 +50,7 @@ namespace BytecodeTranslator.Phone { IsStatic=true, Type=host.PlatformType.SystemString, Name=host.NameTable.GetNameFor(PhoneCodeHelper.IL_CURRENT_NAVIGATION_URI_VARIABLE), + InternFactory= host.InternFactory, }, }, }; @@ -216,6 +217,7 @@ namespace BytecodeTranslator.Phone { IsStatic= true, Type = host.PlatformType.SystemString, Name = host.NameTable.GetNameFor(PhoneCodeHelper.IL_CURRENT_NAVIGATION_URI_VARIABLE), + InternFactory=host.InternFactory, }, }, }; @@ -246,6 +248,7 @@ namespace BytecodeTranslator.Phone { IsStatic= true, Type = host.PlatformType.SystemString, Name = host.NameTable.GetNameFor(PhoneCodeHelper.IL_CURRENT_NAVIGATION_URI_VARIABLE), + InternFactory=host.InternFactory, }, }, }; -- cgit v1.2.3