1 //------------------------------------------------------------------------------
2 // <copyright file="CodeAssignStatement.cs" company="Microsoft">
4 // <OWNER>[....]</OWNER>
5 // Copyright (c) Microsoft Corporation. All rights reserved.
7 //------------------------------------------------------------------------------
9 namespace System.CodeDom {
11 using System.Diagnostics;
13 using Microsoft.Win32;
14 using System.Collections;
15 using System.Runtime.InteropServices;
19 /// Represents a simple assignment statement.
23 ClassInterface(ClassInterfaceType.AutoDispatch),
27 public class CodeAssignStatement : CodeStatement {
28 private CodeExpression left;
29 private CodeExpression right;
33 /// Initializes a new instance of <see cref='System.CodeDom.CodeAssignStatement'/>.
36 public CodeAssignStatement() {
41 /// Initializes a new instance of <see cref='System.CodeDom.CodeAssignStatement'/> that represents the
42 /// specified assignment values.
45 public CodeAssignStatement(CodeExpression left, CodeExpression right) {
53 /// the variable to be assigned to.
56 public CodeExpression Left {
68 /// the value to assign.
71 public CodeExpression Right {