Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TakesSingleByteArgument()

static bool System.Reflection.Emit.OpCodes.TakesSingleByteArgument ( OpCode inst)
inlinestatic

Definition at line 457 of file OpCodes.cs.

458 {
459 OperandType operandType = inst.OperandType;
460 if ((uint)(operandType - 15) <= 1u || operandType == OperandType.ShortInlineVar)
461 {
462 return true;
463 }
464 return false;
465 }

References System.Reflection.Emit.OpCode.OperandType.

Referenced by System.Reflection.Emit.ILGenerator.Emit(), and System.Reflection.Emit.ILGenerator.Emit().