summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported003.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/Issues/Unreported003.xaml.cs')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/Issues/Unreported003.xaml.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported003.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported003.xaml.cs
new file mode 100644
index 00000000..ebe78bc4
--- /dev/null
+++ b/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported003.xaml.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+using Xamarin.Forms;
+using NUnit.Framework;
+
+namespace Xamarin.Forms.Xaml.UnitTests
+{
+ public partial class Unreported003 : ContentPage
+ {
+ public Unreported003 ()
+ {
+ InitializeComponent ();
+ }
+
+ public Unreported003 (bool useCompiledXaml)
+ {
+ //this stub will be replaced at compile time
+ }
+
+ [TestFixture]
+ class Tests
+ {
+ [TestCase(true), TestCase(false)]
+ public void AllowCtorArgsForValueTypes (bool useCompiledXaml)
+ {
+ var page = new Unreported003 (useCompiledXaml);
+ }
+ }
+ }
+} \ No newline at end of file