diff options
Diffstat (limited to 'src/mscorlib/src/System/Reflection/ObfuscateAssemblyAttribute.cs')
-rw-r--r-- | src/mscorlib/src/System/Reflection/ObfuscateAssemblyAttribute.cs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Reflection/ObfuscateAssemblyAttribute.cs b/src/mscorlib/src/System/Reflection/ObfuscateAssemblyAttribute.cs new file mode 100644 index 0000000000..b852e5a4c2 --- /dev/null +++ b/src/mscorlib/src/System/Reflection/ObfuscateAssemblyAttribute.cs @@ -0,0 +1,46 @@ +// 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. + +// + +using System; +using System.Reflection; + + +namespace System.Reflection +{ + [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)] +[System.Runtime.InteropServices.ComVisible(true)] + public sealed class ObfuscateAssemblyAttribute : Attribute + { + private bool m_assemblyIsPrivate; + private bool m_strip = true; + + public ObfuscateAssemblyAttribute(bool assemblyIsPrivate) + { + m_assemblyIsPrivate = assemblyIsPrivate; + } + + public bool AssemblyIsPrivate + { + get + { + return m_assemblyIsPrivate; + } + } + + public bool StripAfterObfuscation + { + get + { + return m_strip; + } + set + { + m_strip = value; + } + } + } +} + |