CodeAssignStatement.cs 823 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // System.CodeDom CodeArrayCreateExpression Class implementation
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc.
  8. //
  9. using System.Runtime.InteropServices;
  10. namespace System.CodeDom {
  11. [Serializable]
  12. [ClassInterface(ClassInterfaceType.AutoDispatch)]
  13. [ComVisible(true)]
  14. public class CodeAssignStatement
  15. : CodeStatement
  16. {
  17. CodeExpression left, right;
  18. //
  19. // Constructors
  20. //
  21. public CodeAssignStatement ()
  22. {
  23. }
  24. public CodeAssignStatement (CodeExpression left, CodeExpression right)
  25. {
  26. this.left = left;
  27. this.right = right;
  28. }
  29. //
  30. // Properties
  31. //
  32. public CodeExpression Left {
  33. get {
  34. return left;
  35. }
  36. set {
  37. left = value;
  38. }
  39. }
  40. public CodeExpression Right {
  41. get {
  42. return right;
  43. }
  44. set {
  45. right = value;
  46. }
  47. }
  48. }
  49. }