Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
IsLifted
bool
System.Linq.Expressions.BinaryExpression.IsLifted
get
inherited
Definition at line
23
of file
BinaryExpression.cs
.
24
{
25
get
26
{
27
if
(
NodeType
==
ExpressionType
.Coalesce ||
NodeType
==
ExpressionType
.Assign)
28
{
29
return
false
;
30
}
31
if
(
Left
.
Type
.IsNullableType())
32
{
33
MethodInfo
method
=
GetMethod
();
34
if
(!(
method
==
null
))
35
{
36
return
!
TypeUtils
.
AreEquivalent
(
method
.GetParametersCached()[0].ParameterType.GetNonRefType(),
Left
.
Type
);
37
}
38
return
true
;
39
}
40
return
false
;
41
}
42
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Dynamic.Utils.TypeUtils.AreEquivalent
static bool AreEquivalent(Type t1, Type t2)
Definition
TypeUtils.cs:664
System.Dynamic.Utils.TypeUtils
Definition
TypeUtils.cs:9
System.Linq.Expressions.BinaryExpression.GetMethod
virtual MethodInfo GetMethod()
Definition
BinaryExpression.cs:103
System.Linq.Expressions.BinaryExpression.Left
Expression Left
Definition
BinaryExpression.cs:17
System.Linq.Expressions.Expression.Type
virtual Type Type
Definition
Expression.cs:683
System.Linq.Expressions.Expression.NodeType
virtual ExpressionType NodeType
Definition
Expression.cs:671
System.Reflection.MethodInfo
Definition
MethodInfo.cs:7
System.Linq.Expressions.ExpressionType
ExpressionType
Definition
ExpressionType.cs:4
System
Linq
Expressions
SimpleBinaryExpression
Generated by
1.10.0