summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2016-12-01 22:34:39 +0100
committerGitHub <noreply@github.com>2016-12-01 22:34:39 +0100
commite413e0cf331ae1512e2d8a6fcc89446c1cf2225c (patch)
tree5aad168ffd3e0679bb36b4a54f5465e501629411 /Xamarin.Forms.Core
parent00b652cd43902b4499706d1f9172041c20083ae8 (diff)
downloadxamarin-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.cs2
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