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