| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- //
- // System.CodeDom CodeLabeledStatement Class implementation
- //
- // Author:
- // Daniel Stodden ([email protected])
- //
- // (C) 2002 Ximian, Inc.
- //
- using System.Runtime.InteropServices;
- namespace System.CodeDom
- {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeLabeledStatement
- : CodeStatement
- {
- private string label;
- private CodeStatement statement;
- //
- // Constructors
- //
- public CodeLabeledStatement()
- {
- }
- public CodeLabeledStatement( string label )
- {
- this.label = label;
- }
- public CodeLabeledStatement( string label, CodeStatement statement )
- {
- this.label = label;
- this.statement = statement;
- }
- //
- // Properties
- //
- public string Label {
- get {
- return label;
- }
- set {
- label = value;
- }
- }
- public CodeStatement Statement {
- get {
- return statement;
- }
- set {
- statement = value;
- }
- }
- }
- }
|