diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-09-08 20:51:01 +0200 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-09-08 11:51:01 -0700 |
commit | 1f84a4955c93544192f44ba6af5d3593554dc116 (patch) | |
tree | cb5006606a772b01fcc3b16cf33c9fd537833a19 /Xamarin.Forms.Build.Tasks/NodeILExtensions.cs | |
parent | 3b7d798fdda51a669683ed7d5c3770ebf3adfa77 (diff) | |
download | xamarin-forms-1f84a4955c93544192f44ba6af5d3593554dc116.tar.gz xamarin-forms-1f84a4955c93544192f44ba6af5d3593554dc116.tar.bz2 xamarin-forms-1f84a4955c93544192f44ba6af5d3593554dc116.zip |
[XamlC] replace the runtime type check by compiletime (#334)
Diffstat (limited to 'Xamarin.Forms.Build.Tasks/NodeILExtensions.cs')
-rw-r--r-- | Xamarin.Forms.Build.Tasks/NodeILExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Build.Tasks/NodeILExtensions.cs b/Xamarin.Forms.Build.Tasks/NodeILExtensions.cs index 35016694..3902c71b 100644 --- a/Xamarin.Forms.Build.Tasks/NodeILExtensions.cs +++ b/Xamarin.Forms.Build.Tasks/NodeILExtensions.cs @@ -396,7 +396,7 @@ namespace Xamarin.Forms.Build.Tasks #if NOSERVICEPROVIDER yield return Instruction.Create (OpCodes.Ldnull); yield break; - #endif +#endif var ctorinfo = typeof (XamlServiceProvider).GetConstructor(new Type[] { }); var ctor = module.Import(ctorinfo); |