Esempio n. 1
0
 public void GetFieldValue(ulong objRef, int interior, out IMDValue ppValue)
 {
     object value = m_field.GetFieldValue(objRef, interior != 0);
     ppValue = new MDValue(value, m_field.ElementType);
 }
Esempio n. 2
0
 public void GetArrayElementValue(ulong objRef, int index, out IMDValue ppValue)
 {
     object value = m_type.GetArrayElementValue(objRef, index);
     ClrElementType elementType = m_type.ArrayComponentType != null ? m_type.ArrayComponentType.ElementType : ClrElementType.Unknown;
     ppValue = new MDValue(value, elementType);
 }
Esempio n. 3
0
 public void GetFieldValue(IMDAppDomain appDomain, IMDThread thread, out IMDValue ppValue)
 {
     object value = m_field.GetFieldValue((ClrAppDomain)appDomain, (ClrThread)thread);
     ppValue = new MDValue(value, m_field.ElementType);
 }