You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
48
external/referencesource/mscorlib/system/reflection/obfuscateassemblyattribute.cs
vendored
Normal file
48
external/referencesource/mscorlib/system/reflection/obfuscateassemblyattribute.cs
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
// ==++==
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// ==--==
|
||||
// <OWNER>[....]</OWNER>
|
||||
//
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user