e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="CodeGotoStatement.cs" company="Microsoft">
|
|
//
|
|
// <OWNER>[....]</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 CodeGotoStatement : CodeStatement {
|
|
private string label;
|
|
|
|
public CodeGotoStatement() {
|
|
}
|
|
|
|
public CodeGotoStatement(string label) {
|
|
Label = label;
|
|
}
|
|
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public string Label {
|
|
get {
|
|
return label;
|
|
}
|
|
set {
|
|
if (String.IsNullOrEmpty(value))
|
|
throw new ArgumentNullException("value");
|
|
|
|
this.label = value;
|
|
}
|
|
}
|
|
}
|
|
}
|