Files
mono/mcs/class/System/System.CodeDom/CodeMemberField.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

50 lines
671 B
C#
Executable File

//
// System.CodeDom CodeMemberField Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
namespace System.CodeDom {
public class CodeMemberField : CodeClassMember {
CodeExpression initExpression;
string type, name;
public CodeMemberField ()
{
}
public CodeMemberField (string type, string name)
{
this.type = type;
this.name = name;
}
//
// Properties
//
public CodeExpression InitExpression {
get {
return initExpression;
}
set {
initExpression = value;
}
}
public string Type {
get {
return type;
}
set {
type = name;
}
}
}
}