mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
70 lines
1.0 KiB
C#
Executable File
70 lines
1.0 KiB
C#
Executable File
//
|
|
// System.CodeDom CodeBinaryOperatorExpression Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.CodeDom
|
|
{
|
|
[Serializable]
|
|
[ClassInterface(ClassInterfaceType.AutoDispatch)]
|
|
[ComVisible(true)]
|
|
public class CodeBinaryOperatorExpression
|
|
: CodeExpression
|
|
{
|
|
private CodeExpression left, right;
|
|
private CodeBinaryOperatorType op;
|
|
|
|
//
|
|
// Constructors
|
|
//
|
|
public CodeBinaryOperatorExpression ()
|
|
{
|
|
}
|
|
|
|
public CodeBinaryOperatorExpression (CodeExpression left,
|
|
CodeBinaryOperatorType op,
|
|
CodeExpression right)
|
|
{
|
|
this.left = left;
|
|
this.op = op;
|
|
this.right = right;
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public CodeExpression Left {
|
|
get {
|
|
return left;
|
|
}
|
|
set {
|
|
left = value;
|
|
}
|
|
}
|
|
|
|
public CodeBinaryOperatorType Operator {
|
|
get {
|
|
return op;
|
|
}
|
|
set {
|
|
op = value;
|
|
}
|
|
}
|
|
|
|
public CodeExpression Right {
|
|
get {
|
|
return right;
|
|
}
|
|
set {
|
|
right = value;
|
|
}
|
|
}
|
|
}
|
|
}
|