mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
32 lines
714 B
C#
32 lines
714 B
C#
namespace Obfuz
|
|
{
|
|
public interface IEncryptionScope
|
|
{
|
|
|
|
}
|
|
|
|
public abstract class EncryptionScopeBase : IEncryptionScope
|
|
{
|
|
public void ForcePreserveAOT()
|
|
{
|
|
EncryptionService<EncryptionScopeBase>.Encrypt(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
public struct DefaultDynamicEncryptionScope : IEncryptionScope
|
|
{
|
|
public void ForcePreserveAOT()
|
|
{
|
|
EncryptionService<DefaultDynamicEncryptionScope>.Encrypt(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
public struct DefaultStaticEncryptionScope : IEncryptionScope
|
|
{
|
|
public void ForcePreserveAOT()
|
|
{
|
|
EncryptionService<DefaultStaticEncryptionScope>.Encrypt(0, 0, 0);
|
|
}
|
|
}
|
|
}
|