summaryrefslogtreecommitdiff
path: root/src/vm/methodtable.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/methodtable.inl')
-rw-r--r--src/vm/methodtable.inl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vm/methodtable.inl b/src/vm/methodtable.inl
index 31e373c6ae..de3e982afa 100644
--- a/src/vm/methodtable.inl
+++ b/src/vm/methodtable.inl
@@ -1194,6 +1194,15 @@ inline IMDInternalImport* MethodTable::GetMDImport()
}
//==========================================================================================
+inline HRESULT MethodTable::GetCustomAttribute(
+ WellKnownAttribute attribute,
+ const void **ppData,
+ ULONG *pcbData)
+{
+ return GetModule()->GetCustomAttribute(GetCl(), attribute, ppData, pcbData);
+}
+
+//==========================================================================================
inline BOOL MethodTable::IsSealed()
{
LIMITED_METHOD_CONTRACT;