CodeMethodReturnStatement.cs 778 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // System.CodeDom CodeMethodReturnStatement class implementation
  3. //
  4. // Author:
  5. // Sean MacIsaac ([email protected])
  6. // Daniel Stodden ([email protected])
  7. //
  8. // (C) 2001 Ximian, Inc.
  9. //
  10. using System.Runtime.InteropServices;
  11. namespace System.CodeDom
  12. {
  13. [Serializable]
  14. [ClassInterface(ClassInterfaceType.AutoDispatch)]
  15. [ComVisible(true)]
  16. public class CodeMethodReturnStatement
  17. : CodeStatement
  18. {
  19. private CodeExpression expression;
  20. //
  21. // Constructors
  22. //
  23. public CodeMethodReturnStatement()
  24. {
  25. }
  26. public CodeMethodReturnStatement( CodeExpression expression )
  27. {
  28. this.expression = expression;
  29. }
  30. //
  31. // Properties
  32. //
  33. public CodeExpression Expression {
  34. get {
  35. return expression;
  36. }
  37. set {
  38. expression = value;
  39. }
  40. }
  41. }
  42. }