diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-07-25 21:40:34 +0200 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-07-25 12:40:34 -0700 |
commit | d04a4a3cf23c51d8401364d13b9201bf27873618 (patch) | |
tree | 12ae78b757b55fb176b5bb8929f8612431bada56 /Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs | |
parent | 2590d913f7c69f1be60c2c5ac7fb60d0ec8732ed (diff) | |
download | xamarin-forms-d04a4a3cf23c51d8401364d13b9201bf27873618.tar.gz xamarin-forms-d04a4a3cf23c51d8401364d13b9201bf27873618.tar.bz2 xamarin-forms-d04a4a3cf23c51d8401364d13b9201bf27873618.zip |
[XamlC] fix a bug in the debugging code introduced last week (#267)
Diffstat (limited to 'Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs')
-rw-r--r-- | Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs b/Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs index e0f81972..c4744cc2 100644 --- a/Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs +++ b/Xamarin.Forms.Build.Tasks/DebugXamlCTask.cs @@ -69,8 +69,8 @@ namespace Xamarin.Forms.Build.Tasks } var initCompRuntime = typeDef.Methods.FirstOrDefault(md => md.Name == "__InitComponentRuntime"); if (initCompRuntime == null) { - LogLine(2, "no __InitComponentRuntime found... skipped."); - continue; + LogLine(2, "no __InitComponentRuntime found... duplicating."); + initCompRuntime = DuplicateMethodDef(typeDef, initComp, "__InitComponentRuntime"); } // IL_0000: ldarg.0 |