mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
20 lines
No EOL
536 B
C#
20 lines
No EOL
536 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Mono.Cecil.Cil;
|
|
|
|
namespace Indy.IL2CPU.IL {
|
|
[AttributeUsage(AttributeTargets.Class, Inherited=true, AllowMultiple=false)]
|
|
public class OpCodeAttribute: Attribute {
|
|
public readonly Code OpCode;
|
|
public readonly bool IsMetallic = true;
|
|
|
|
public OpCodeAttribute(Code aOpCode) {
|
|
OpCode = aOpCode;
|
|
}
|
|
public OpCodeAttribute(Code aOpCode, bool aIsMetallic):this(aOpCode) {
|
|
IsMetallic = aIsMetallic;
|
|
}
|
|
}
|
|
} |