mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
60 lines
1.0 KiB
C#
Executable File
60 lines
1.0 KiB
C#
Executable File
//
|
|
// System.CodeDom CodePropertyReferenceExpression Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
// Daniel Stodden ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.CodeDom
|
|
{
|
|
[Serializable]
|
|
[ClassInterface(ClassInterfaceType.AutoDispatch)]
|
|
[ComVisible(true)]
|
|
public class CodePropertyReferenceExpression
|
|
: CodeExpression
|
|
{
|
|
private CodeExpression targetObject;
|
|
private string propertyName;
|
|
|
|
//
|
|
// Constructors
|
|
//
|
|
public CodePropertyReferenceExpression ()
|
|
{
|
|
}
|
|
|
|
public CodePropertyReferenceExpression (CodeExpression targetObject,
|
|
string propertyName)
|
|
{
|
|
this.targetObject = targetObject;
|
|
this.propertyName = propertyName;
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public string PropertyName {
|
|
get {
|
|
return propertyName;
|
|
}
|
|
set {
|
|
propertyName = value;
|
|
}
|
|
}
|
|
|
|
public CodeExpression TargetObject {
|
|
get {
|
|
return targetObject;
|
|
}
|
|
set {
|
|
targetObject = value;
|
|
}
|
|
}
|
|
}
|
|
}
|