Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

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;
}
}
}
}