Cosmos/source/Cosmos.IL2CPU/IL/Constrained.cs
2014-11-26 01:13:58 +00:00

19 lines
582 B
C#

using System;
namespace Cosmos.IL2CPU.X86.IL
{
[Cosmos.IL2CPU.OpCode(ILOpCode.Code.Constrained)]
public class Constrained: ILOp
{
public Constrained(Cosmos.Assembler.Assembler aAsmblr):base(aAsmblr)
{
}
public override void Execute(MethodInfo aMethod, ILOpCode aOpCode) {
#warning TODO: This needs to either be implemented, or needs to throw a NotImplementedException!
// todo: Implement correct Constrained support
//throw new NotImplementedException("Constrained used in '" + aMethod.MethodBase.GetFullName() + "'");
}
}
}