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

◆ IsLifted

bool System.Linq.Expressions.SwitchExpression.IsLifted
getpackage

Definition at line 24 of file SwitchExpression.cs.

25 {
26 get
27 {
28 if (SwitchValue.Type.IsNullableType())
29 {
30 if (!(Comparison == null))
31 {
32 return !TypeUtils.AreEquivalent(SwitchValue.Type, Comparison.GetParametersCached()[0].ParameterType.GetNonRefType());
33 }
34 return true;
35 }
36 return false;
37 }
38 }
static bool AreEquivalent(Type t1, Type t2)
Definition TypeUtils.cs:664