summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/Internals/PreserveAttribute.cs
blob: 0ba191e272131bec4ad38e0982b5d4bbf8a53e5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;

namespace Xamarin.Forms.Internals
{
	[AttributeUsage(AttributeTargets.All)]
	public class PreserveAttribute : Attribute
	{
		public bool AllMembers;
		public bool Conditional;

		public PreserveAttribute(bool allMembers, bool conditional)
		{
			AllMembers = allMembers;
			Conditional = conditional;
		}

		public PreserveAttribute()
		{
		}
	}
}