Class OperatorResolveResult
- Namespace
- ICSharpCode.Decompiler.Semantics
- Assembly
- ICSharpCode.Decompiler.dll
Represents a unary/binary/ternary operator invocation.
public class OperatorResolveResult : ResolveResult
- Inheritance
-
OperatorResolveResult
- Inherited Members
- Extension Methods
Constructors
OperatorResolveResult(IType, ExpressionType, params ResolveResult[])
public OperatorResolveResult(IType resultType, ExpressionType operatorType, params ResolveResult[] operands)
Parameters
resultType
ITypeoperatorType
ExpressionTypeoperands
ResolveResult[]
OperatorResolveResult(IType, ExpressionType, IMethod, bool, IList<ResolveResult>)
public OperatorResolveResult(IType resultType, ExpressionType operatorType, IMethod userDefinedOperatorMethod, bool isLiftedOperator, IList<ResolveResult> operands)
Parameters
resultType
ITypeoperatorType
ExpressionTypeuserDefinedOperatorMethod
IMethodisLiftedOperator
booloperands
IList<ResolveResult>
Properties
IsLiftedOperator
Gets whether this is a lifted operator.
public bool IsLiftedOperator { get; }
Property Value
Operands
Gets the operands.
public IList<ResolveResult> Operands { get; }
Property Value
OperatorType
Gets the operator type.
public ExpressionType OperatorType { get; }
Property Value
UserDefinedOperatorMethod
Gets the user defined operator method. Returns null if this is a predefined operator.
public IMethod UserDefinedOperatorMethod { get; }
Property Value
Methods
GetChildResults()
public override IEnumerable<ResolveResult> GetChildResults()