You've already forked linux-packaging-mono
							
							Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
		
						parent
						
							a569aebcfd
						
					
				
				
					commit
					e79aa3c0ed
				
			| @@ -0,0 +1,98 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <copyright file="CodeBinaryOperatorExpression.cs" company="Microsoft"> | ||||
| //  | ||||
| // <OWNER>[....]</OWNER> | ||||
| //     Copyright (c) Microsoft Corporation.  All rights reserved. | ||||
| // </copyright>                                                                 | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace System.CodeDom { | ||||
|  | ||||
|     using System.Diagnostics; | ||||
|     using System; | ||||
|     using Microsoft.Win32; | ||||
|     using System.Collections; | ||||
|     using System.Runtime.InteropServices; | ||||
|  | ||||
|     /// <devdoc> | ||||
|     ///    <para> | ||||
|     ///       Represents a binary operator expression. | ||||
|     ///    </para> | ||||
|     /// </devdoc> | ||||
|     [ | ||||
|         ClassInterface(ClassInterfaceType.AutoDispatch), | ||||
|         ComVisible(true), | ||||
|         Serializable, | ||||
|     ] | ||||
|     public class CodeBinaryOperatorExpression : CodeExpression { | ||||
|         private CodeBinaryOperatorType op; | ||||
|         private CodeExpression left; | ||||
|         private CodeExpression right; | ||||
|  | ||||
|         /// <devdoc> | ||||
|         ///    <para> | ||||
|         ///       Initializes a new instance of <see cref='System.CodeDom.CodeBinaryOperatorExpression'/>. | ||||
|         ///    </para> | ||||
|         /// </devdoc> | ||||
|         public CodeBinaryOperatorExpression() { | ||||
|         } | ||||
|  | ||||
|         /// <devdoc> | ||||
|         ///    <para> | ||||
|         ///       Initializes a new instance of <see cref='System.CodeDom.CodeBinaryOperatorExpression'/> | ||||
|         ///       using the specified | ||||
|         ///       parameters. | ||||
|         ///    </para> | ||||
|         /// </devdoc> | ||||
|         public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) { | ||||
|             Right = right; | ||||
|             Operator = op; | ||||
|             Left = left; | ||||
|         } | ||||
|  | ||||
|         /// <devdoc> | ||||
|         ///    <para> | ||||
|         ///       Gets or sets | ||||
|         ///       the code expression on the right of the operator. | ||||
|         ///    </para> | ||||
|         /// </devdoc> | ||||
|         public CodeExpression Right { | ||||
|             get { | ||||
|                 return right; | ||||
|             } | ||||
|             set { | ||||
|                 right = value; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         /// <devdoc> | ||||
|         ///    <para> | ||||
|         ///       Gets or sets | ||||
|         ///       the code expression on the left of the operator. | ||||
|         ///    </para> | ||||
|         /// </devdoc> | ||||
|         public CodeExpression Left { | ||||
|             get { | ||||
|                 return left; | ||||
|             } | ||||
|             set { | ||||
|                 left = value; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         /// <devdoc> | ||||
|         ///    <para> | ||||
|         ///       Gets or sets | ||||
|         ///       the operator in the binary operator expression. | ||||
|         ///    </para> | ||||
|         /// </devdoc> | ||||
|         public CodeBinaryOperatorType Operator { | ||||
|             get { | ||||
|                 return op; | ||||
|             } | ||||
|             set { | ||||
|                 op = value; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user