diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-02-02 10:57:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-02 10:57:50 +0100 |
commit | fa0882114d31387acaa8d6f43b638a0bf1efa871 (patch) | |
tree | da73c08286f19c2aae8cabbbfbf630e47ad9a7f5 /Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs | |
parent | 72699e34b2f4b3e8a939eebe03240ca7511b50e7 (diff) | |
download | xamarin-forms-fa0882114d31387acaa8d6f43b638a0bf1efa871.tar.gz xamarin-forms-fa0882114d31387acaa8d6f43b638a0bf1efa871.tar.bz2 xamarin-forms-fa0882114d31387acaa8d6f43b638a0bf1efa871.zip |
[XamlC] Produce correct mdb files (#699)
* [XamlC] change MockCompile (internal) API
* [XamlC] fix debugging in unit test project
* f
* [XamlC] update cecil to 0.10.0-beta1-v2
* beta2
* avoid method duplication
* [XamlC] force loading MdbReader and Writer
* [XamlC] force use the writer in the other task too
* [XamlC] fix test and test code generator
* try building this
* [XamlC] Ensure InitializeComponent is correctly routed
* fix
Diffstat (limited to 'Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs')
-rw-r--r-- | Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs b/Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs index 5f1826db..0edc5f59 100644 --- a/Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs +++ b/Xamarin.Forms.Build.Tasks/BindablePropertyReferenceExtensions.cs @@ -26,7 +26,7 @@ namespace Xamarin.Forms.Build.Tasks md.IsStatic && md.IsPublic && md.Parameters.Count == 1 && - md.Parameters[0].ParameterType.InheritsFromOrImplements(module.Import(typeof(BindableObject))), module).SingleOrDefault()?.Item1; + md.Parameters[0].ParameterType.InheritsFromOrImplements(module.ImportReference(typeof(BindableObject))), module).SingleOrDefault()?.Item1; if (getter == null) throw new XamlParseException($"Missing a public static Get{bpName} or a public instance property getter for the attached property \"{bpRef.DeclaringType}.{bpRef.Name}\"", iXmlLineInfo); @@ -43,7 +43,7 @@ namespace Xamarin.Forms.Build.Tasks md.IsStatic && md.IsPublic && md.Parameters.Count == 1 && - md.Parameters[0].ParameterType.InheritsFromOrImplements(module.Import(typeof(BindableObject))), module).SingleOrDefault()?.Item1; + md.Parameters[0].ParameterType.InheritsFromOrImplements(module.ImportReference(typeof(BindableObject))), module).SingleOrDefault()?.Item1; var attributes = new List<CustomAttribute>(); if (property != null && property.HasCustomAttributes) |