mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
50 lines
671 B
C#
Executable File
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;
|
|
}
|
|
}
|
|
}
|
|
}
|