diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-12-01 22:34:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 22:34:39 +0100 |
commit | e413e0cf331ae1512e2d8a6fcc89446c1cf2225c (patch) | |
tree | 5aad168ffd3e0679bb36b4a54f5465e501629411 /Xamarin.Forms.Core | |
parent | 00b652cd43902b4499706d1f9172041c20083ae8 (diff) | |
download | xamarin-forms-e413e0cf331ae1512e2d8a6fcc89446c1cf2225c.tar.gz xamarin-forms-e413e0cf331ae1512e2d8a6fcc89446c1cf2225c.tar.bz2 xamarin-forms-e413e0cf331ae1512e2d8a6fcc89446c1cf2225c.zip |
[XamlC] use op_implicit where we should (#580)
* [XamlC] (passing) test for 48242
* [XamlC] (failing) test for 48242
* [XamlC] more op_implicit conversions
* additional test
* fix rebase
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r-- | Xamarin.Forms.Core/ConstraintTypeConverter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/ConstraintTypeConverter.cs b/Xamarin.Forms.Core/ConstraintTypeConverter.cs index 8cc45229..fb0be513 100644 --- a/Xamarin.Forms.Core/ConstraintTypeConverter.cs +++ b/Xamarin.Forms.Core/ConstraintTypeConverter.cs @@ -11,7 +11,7 @@ namespace Xamarin.Forms if (value != null && double.TryParse(value, NumberStyles.Number, CultureInfo.InvariantCulture, out size)) return Constraint.Constant(size); - throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", value, typeof(Color))); + throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", value, typeof(Constraint))); } } }
\ No newline at end of file |