1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 namespace System.CodeDom
6 {
7     [Serializable]
8     public class CodeBinaryOperatorExpression : CodeExpression
9     {
CodeBinaryOperatorExpression()10         public CodeBinaryOperatorExpression() { }
11 
CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right)12         public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right)
13         {
14             Right = right;
15             Operator = op;
16             Left = left;
17         }
18 
19         public CodeExpression Right { get; set; }
20 
21         public CodeExpression Left { get; set; }
22 
23         public CodeBinaryOperatorType Operator { get; set; }
24     }
25 }
26