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.Xaml.UnitTests/SetValue.xaml | |
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.Xaml.UnitTests/SetValue.xaml')
-rw-r--r-- | Xamarin.Forms.Xaml.UnitTests/SetValue.xaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml index 4beec041..fd11bd5a 100644 --- a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml +++ b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml @@ -85,5 +85,17 @@ </ContentView> <local:MockViewWithValues x:Name="mockView0" UShort="32" ADecimal="42" /> <local:ViewWithEnums x:Name="enums" IntEnum="Foo" ByteEnum="Bar" /> + <local:MockViewWithValues x:Name="implicit0"> + <local:MockViewWithValues.BPBar> + <local:SV_Foo Value="Bar"/> + </local:MockViewWithValues.BPBar> + </local:MockViewWithValues> + <!--<local:MockViewWithValues x:Name="implicit1" BPFoo="Foo" />--> + <local:MockViewWithValues x:Name="implicit2"> + <local:MockViewWithValues.Bar> + <local:SV_Foo Value="Bar"/> + </local:MockViewWithValues.Bar> + </local:MockViewWithValues> + <!--<local:MockViewWithValues x:Name="implicit3" Foo="Foo" />--> </StackLayout> -</ContentPage>
\ No newline at end of file +</ContentPage> |