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

◆ OperationIsValid()

static bool System.Dynamic.UnaryOperationBinder.OperationIsValid ( ExpressionType operation)
inlinestaticpackage

Definition at line 45 of file UnaryOperationBinder.cs.

46 {
47 switch (operation)
48 {
49 case ExpressionType.Negate:
50 case ExpressionType.UnaryPlus:
51 case ExpressionType.Not:
52 case ExpressionType.Decrement:
53 case ExpressionType.Extension:
54 case ExpressionType.Increment:
55 case ExpressionType.OnesComplement:
56 case ExpressionType.IsTrue:
57 case ExpressionType.IsFalse:
58 return true;
59 default:
60 return false;
61 }
62 }

Referenced by System.Dynamic.UnaryOperationBinder.UnaryOperationBinder().