Files
mono/mcs/class/System/System.CodeDom/CodeMemberProperty.cs
T
Sean MacIsaac 7fc6d7d59d Fixed all sorts of compiler errors.
svn path=/trunk/mcs/; revision=124
2001-07-13 22:20:51 +00:00

109 lines
1.4 KiB
C#
Executable File

//
// System.CodeDom CodeMemberProperty Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
namespace System.CodeDom {
public class CodeMemberProperty : CodeClassMember {
CodeParameterDeclarationExpressionCollection parameters;
CodeStatementCollection getStatements, setStatements;
bool hasGet, hasSet;
string implementsType, type;
bool privateImplements;
public CodeMemberProperty ()
{
}
//
// Properties
//
public string ImplementsType {
get {
return implementsType;
}
set {
implementsType = value;
}
}
public bool PrivateImplements {
get {
return privateImplements;
}
set {
privateImplements = value;
}
}
public CodeParameterDeclarationExpressionCollection Parameters {
get {
return parameters;
}
set {
parameters = value;
}
}
public CodeStatementCollection SetStatements {
get {
return setStatements;
}
set {
setStatements = value;
}
}
public CodeStatementCollection GetStatements {
get {
return getStatements;
}
set {
getStatements = value;
}
}
public string Type {
get {
return type;
}
set {
type = value;
}
}
public bool HasGet {
get {
return hasGet;
}
set {
hasGet = value;
}
}
public bool HasSet {
get {
return hasSet;
}
set {
hasSet = value;
}
}
}
}