mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
72 lines
1022 B
C#
Executable File
72 lines
1022 B
C#
Executable File
//
|
|
// System.CodeDOM CodeFieldReferenceExpression Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
|
|
namespace System.CodeDOM {
|
|
|
|
public class CodeFieldReferenceExpression : CodeExpression {
|
|
CodeExpression targetObject;
|
|
string fieldName;
|
|
FieldDirection direction;
|
|
|
|
public enum FieldDirection {
|
|
In,
|
|
Out,
|
|
Ref
|
|
}
|
|
|
|
//
|
|
// Constructors
|
|
//
|
|
public CodeFieldReferenceExpression ()
|
|
{
|
|
}
|
|
|
|
public CodeFieldReferenceExpression (CodeExpression targetObject,
|
|
string fieldName)
|
|
{
|
|
this.targetObject = targetObject;
|
|
this.fieldName = fieldName;
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public FieldDirection Direction {
|
|
get {
|
|
return direction;
|
|
}
|
|
|
|
set {
|
|
direction = value;
|
|
}
|
|
}
|
|
|
|
public string FieldName {
|
|
get {
|
|
return fieldName;
|
|
}
|
|
|
|
set {
|
|
fieldName = value;
|
|
}
|
|
}
|
|
|
|
public CodeExpression TargetObject {
|
|
get {
|
|
return targetObject;
|
|
}
|
|
|
|
set {
|
|
targetObject = value;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|