Xamarin Public Jenkins (auto-signing) 536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00

75 lines
2.0 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="CodeLabeledStatement.cs" company="Microsoft">
//
// <OWNER>Microsoft</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeLabeledStatement : CodeStatement {
private string label;
private CodeStatement statement;
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public CodeLabeledStatement() {
}
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public CodeLabeledStatement(string label) {
this.label = label;
}
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public CodeLabeledStatement(string label, CodeStatement statement) {
this.label = label;
this.statement = statement;
}
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public string Label {
get {
return (label == null) ? string.Empty : label;
}
set {
this.label = value;
}
}
/// <devdoc>
/// <para>[To be supplied.]</para>
/// </devdoc>
public CodeStatement Statement {
get {
return statement;
}
set {
this.statement = value;
}
}
}
}