18 lines
479 B
C#
18 lines
479 B
C#
|
using dnlib.DotNet.Emit;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Obfuz.Virtualization.Functions
|
|||
|
{
|
|||
|
public class ConstFromFieldRvaDataCreator : NodeCreatorBase
|
|||
|
{
|
|||
|
public override IDataNode CreateExpr(DataNodeType type, object value, CreateExpressionOptions options)
|
|||
|
{
|
|||
|
return new ConstFromFieldRvaDataNode { Type = type, Value = value };
|
|||
|
}
|
|||
|
}
|
|||
|
}
|