summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml/XamlFilePathAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml/XamlFilePathAttribute.cs')
-rw-r--r--Xamarin.Forms.Xaml/XamlFilePathAttribute.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Xaml/XamlFilePathAttribute.cs b/Xamarin.Forms.Xaml/XamlFilePathAttribute.cs
index 615f290b..7a6d665b 100644
--- a/Xamarin.Forms.Xaml/XamlFilePathAttribute.cs
+++ b/Xamarin.Forms.Xaml/XamlFilePathAttribute.cs
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices;
namespace Xamarin.Forms.Xaml
{
- [AttributeUsage(AttributeTargets.Class, Inherited = false)]
+ [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class XamlFilePathAttribute : Attribute
{
public XamlFilePathAttribute([CallerFilePath] string filePath = "")