Open sandboxFocus

Method IntroduceBinaryOperator

IntroduceBinaryOperator(INamedType, string, IType, IType, IType, OperatorKind, OverrideStrategy, Action<IMethodBuilder>?, object?, object?)

Declaration
IIntroductionAdviceResult<IMethod> IntroduceBinaryOperator(INamedType targetType, string template, IType leftType, IType rightType, IType resultType, OperatorKind kind, OverrideStrategy whenExists = OverrideStrategy.Default, Action<IMethodBuilder>? buildOperator = null, object? args = null, object? tags = null)
Parameters
Type Name Description
INamedType targetType
string template
IType leftType
IType rightType
IType resultType
OperatorKind kind
OverrideStrategy whenExists
Action<IMethodBuilder> buildOperator
object args
object tags
Returns
Type Description
IIntroductionAdviceResult<IMethod>