diff options
Diffstat (limited to 'src/mscorlib/shared/System/Reflection/ObfuscationAttribute.cs')
-rw-r--r-- | src/mscorlib/shared/System/Reflection/ObfuscationAttribute.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/Reflection/ObfuscationAttribute.cs b/src/mscorlib/shared/System/Reflection/ObfuscationAttribute.cs new file mode 100644 index 0000000000..11d93b6313 --- /dev/null +++ b/src/mscorlib/shared/System/Reflection/ObfuscationAttribute.cs @@ -0,0 +1,21 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Reflection +{ + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, + AllowMultiple = true, Inherited = false)] + public sealed class ObfuscationAttribute : Attribute + { + public ObfuscationAttribute() + { + } + + public bool StripAfterObfuscation { get; set; } = true; + public bool Exclude { get; set; } = true; + public bool ApplyToMembers { get; set; } = true; + public string Feature { get; set; } = "all"; + } +} + |