CodeLabeledStatement.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeLabeledStatement.cs / 1305376 / CodeLabeledStatement.cs

                            //------------------------------------------------------------------------------ 
// 
//
// [....]
//     Copyright (c) Microsoft Corporation.  All rights reserved. 
// 
//----------------------------------------------------------------------------- 
 
namespace System.CodeDom {
 
    using System.Diagnostics;
    using System;
    using Microsoft.Win32;
    using System.Collections; 
    using System.Runtime.InteropServices;
 
    ///  
    ///    [To be supplied.]
    ///  
    [
        ClassInterface(ClassInterfaceType.AutoDispatch),
        ComVisible(true),
        Serializable, 
    ]
    public class CodeLabeledStatement : CodeStatement { 
        private string label; 
        private CodeStatement statement;
 
        /// 
        ///    [To be supplied.]
        /// 
        public CodeLabeledStatement() { 
        }
 
        ///  
        ///    [To be supplied.]
        ///  
        public CodeLabeledStatement(string label) {
            this.label = label;
        }
 
        /// 
        ///    [To be supplied.] 
        ///  
        public CodeLabeledStatement(string label, CodeStatement statement) {
            this.label = label; 
            this.statement = statement;
        }

        ///  
        ///    [To be supplied.]
        ///  
        public string Label { 
            get {
                return (label == null) ? string.Empty : label; 
            }
            set {
                this.label = value;
            } 
        }
 
        ///  
        ///    [To be supplied.]
        ///  
        public CodeStatement Statement {
            get {
                return statement;
            } 
            set {
                this.statement = value; 
            } 
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//
// [....]
//     Copyright (c) Microsoft Corporation.  All rights reserved. 
// 
//----------------------------------------------------------------------------- 
 
namespace System.CodeDom {
 
    using System.Diagnostics;
    using System;
    using Microsoft.Win32;
    using System.Collections; 
    using System.Runtime.InteropServices;
 
    ///  
    ///    [To be supplied.]
    ///  
    [
        ClassInterface(ClassInterfaceType.AutoDispatch),
        ComVisible(true),
        Serializable, 
    ]
    public class CodeLabeledStatement : CodeStatement { 
        private string label; 
        private CodeStatement statement;
 
        /// 
        ///    [To be supplied.]
        /// 
        public CodeLabeledStatement() { 
        }
 
        ///  
        ///    [To be supplied.]
        ///  
        public CodeLabeledStatement(string label) {
            this.label = label;
        }
 
        /// 
        ///    [To be supplied.] 
        ///  
        public CodeLabeledStatement(string label, CodeStatement statement) {
            this.label = label; 
            this.statement = statement;
        }

        ///  
        ///    [To be supplied.]
        ///  
        public string Label { 
            get {
                return (label == null) ? string.Empty : label; 
            }
            set {
                this.label = value;
            } 
        }
 
        ///  
        ///    [To be supplied.]
        ///  
        public CodeStatement Statement {
            get {
                return statement;
            } 
            set {
                this.statement = value; 
            } 
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK