ObufzScope拆分为独立代码文件
parent
62f4063078
commit
cd99bfe4f3
|
@ -6,25 +6,6 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace Obfuz
|
||||
{
|
||||
[Flags]
|
||||
public enum ObfuzScope
|
||||
{
|
||||
None = 0x0,
|
||||
TypeName = 0x1,
|
||||
Field = 0x2,
|
||||
MethodName = 0x4,
|
||||
MethodParameter = 0x8,
|
||||
MethodBody = 0x10,
|
||||
Method = MethodName | MethodParameter | MethodBody,
|
||||
PropertyName = 0x20,
|
||||
PropertyGetterSetterName = 0x40,
|
||||
Property = PropertyName | PropertyGetterSetterName,
|
||||
EventName = 0x100,
|
||||
EventAddRemoveFireName = 0x200,
|
||||
Event = EventName | PropertyGetterSetterName,
|
||||
Module = 0x1000,
|
||||
All = TypeName | Field | Method | Property | Event,
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
|
||||
public class ObfuzIgnoreAttribute : Attribute
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
|
||||
namespace Obfuz
|
||||
{
|
||||
[Flags]
|
||||
public enum ObfuzScope
|
||||
{
|
||||
None = 0x0,
|
||||
TypeName = 0x1,
|
||||
Field = 0x2,
|
||||
MethodName = 0x4,
|
||||
MethodParameter = 0x8,
|
||||
MethodBody = 0x10,
|
||||
Method = MethodName | MethodParameter | MethodBody,
|
||||
PropertyName = 0x20,
|
||||
PropertyGetterSetterName = 0x40,
|
||||
Property = PropertyName | PropertyGetterSetterName,
|
||||
EventName = 0x100,
|
||||
EventAddRemoveFireName = 0x200,
|
||||
Event = EventName | PropertyGetterSetterName,
|
||||
Module = 0x1000,
|
||||
All = TypeName | Field | Method | Property | Event,
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3c7e51fe12f206347b08a4b0be48605d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue