38 lines
705 B
C#
38 lines
705 B
C#
|
|
using System;
|
||
|
|
using System.Runtime.InteropServices;
|
||
|
|
using System.Reflection;
|
||
|
|
|
||
|
|
namespace Mono.Debugger.Soft {
|
||
|
|
|
||
|
|
public struct CustomAttributeNamedArgumentMirror {
|
||
|
|
CustomAttributeTypedArgumentMirror arg;
|
||
|
|
PropertyInfoMirror prop;
|
||
|
|
FieldInfoMirror field;
|
||
|
|
|
||
|
|
internal CustomAttributeNamedArgumentMirror (PropertyInfoMirror prop, FieldInfoMirror field, CustomAttributeTypedArgumentMirror arg)
|
||
|
|
{
|
||
|
|
this.arg = arg;
|
||
|
|
this.prop = prop;
|
||
|
|
this.field = field;
|
||
|
|
}
|
||
|
|
|
||
|
|
public PropertyInfoMirror Property {
|
||
|
|
get {
|
||
|
|
return prop;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public FieldInfoMirror Field {
|
||
|
|
get {
|
||
|
|
return field;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public CustomAttributeTypedArgumentMirror TypedValue {
|
||
|
|
get {
|
||
|
|
return arg;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|