CodeGotoStatement.cs 599 B

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