summaryrefslogtreecommitdiff
path: root/src/mscorlib/shared/System/Reflection/ObfuscateAssemblyAttribute.cs
blob: f8f765ced2c380f72fa25d234ade4a8d281e2eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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, AllowMultiple = false, Inherited = false)]
    public sealed class ObfuscateAssemblyAttribute : Attribute
    {
        public ObfuscateAssemblyAttribute(bool assemblyIsPrivate)
        {
            AssemblyIsPrivate = assemblyIsPrivate;
        }

        public bool AssemblyIsPrivate { get; }
        public bool StripAfterObfuscation { get; set; } = true;
    }
}