mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
58 lines
955 B
C#
Executable File
58 lines
955 B
C#
Executable File
//
|
|
// System.CodeDom CodeCommentStatement Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
// Daniel Stodden ([email protected])
|
|
//
|
|
// (C) 2001, 2002 Ximian, Inc.
|
|
//
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.CodeDom
|
|
{
|
|
[Serializable]
|
|
[ClassInterface(ClassInterfaceType.AutoDispatch)]
|
|
[ComVisible(true)]
|
|
public class CodeCommentStatement
|
|
: CodeStatement
|
|
{
|
|
private CodeComment comment;
|
|
|
|
//
|
|
// Constructors
|
|
//
|
|
public CodeCommentStatement ()
|
|
{
|
|
}
|
|
|
|
public CodeCommentStatement (CodeComment comment)
|
|
{
|
|
this.comment = comment;
|
|
}
|
|
|
|
public CodeCommentStatement (string text)
|
|
{
|
|
this.comment = new CodeComment( text );
|
|
}
|
|
|
|
public CodeCommentStatement (string text, bool docComment)
|
|
{
|
|
this.comment = new CodeComment( text, docComment );
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public CodeComment Comment {
|
|
get {
|
|
return comment;
|
|
}
|
|
set {
|
|
comment = value;
|
|
}
|
|
}
|
|
}
|
|
}
|