Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
IsLiftedLogical
bool
System.Linq.Expressions.BinaryExpression.IsLiftedLogical
get
package
inherited
Definition at line
56
of file
BinaryExpression.cs
.
57
{
58
get
59
{
60
Type
type
=
Left
.
Type
;
61
Type
type2
=
Right
.
Type
;
62
MethodInfo
method
=
GetMethod
();
63
ExpressionType
nodeType =
NodeType
;
64
if
((nodeType ==
ExpressionType
.AndAlso || nodeType ==
ExpressionType
.OrElse) &&
TypeUtils
.
AreEquivalent
(
type2
,
type
) &&
type
.IsNullableType() &&
method
!=
null
)
65
{
66
return
TypeUtils
.
AreEquivalent
(
method
.ReturnType,
type
.GetNonNullableType());
67
}
68
return
false
;
69
}
70
}
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.Right
Expression Right
Definition
BinaryExpression.cs:15
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.ExceptionArgument.type
@ type
System
Linq
Expressions
SimpleBinaryExpression
Generated by
1.10.0