示例#1
0
 public MEM(REG reg, MemoryStructureType type = MemoryStructureType.DWord)
 {
     if (!IsValidRegistry(reg))
     {
         throw new ArgumentException();
     }
     _register = reg;
     _type     = type;
 }
示例#2
0
 private static bool IsValidRegistry(REG reg) => reg.IsValidExpressionForMemory();