summaryrefslogtreecommitdiff
path: root/src/vm/runtimehandles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/runtimehandles.cpp')
-rw-r--r--src/vm/runtimehandles.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vm/runtimehandles.cpp b/src/vm/runtimehandles.cpp
index de9505ae91..e393c14237 100644
--- a/src/vm/runtimehandles.cpp
+++ b/src/vm/runtimehandles.cpp
@@ -1339,6 +1339,7 @@ FCIMPL1(ReflectClassBaseObject*, RuntimeTypeHandle::GetDeclaringType, ReflectCla
if (FAILED(typeHandle.GetModule()->GetMDImport()->GetNestedClassProps(tkTypeDef, &tkTypeDef)))
{
fThrowException = TRUE;
+ fprintf(stderr, "@@[SR] %s:%d\n");
reKind = kBadImageFormatException;
argName = NULL;
goto Exit;
@@ -2664,6 +2665,7 @@ FCIMPL1(LPCUTF8, RuntimeFieldHandle::GetUtf8Name, FieldDesc *pField) {
if (FAILED(pField->GetName_NoThrow(&szFieldName)))
{
+ fprintf(stderr, "@@[SR] %s:%d\n");
FCThrow(kBadImageFormatException);
}
return szFieldName;
@@ -2813,6 +2815,7 @@ FCIMPL1(INT32, AssemblyHandle::GetToken, AssemblyBaseObject* pAssemblyUNSAFE) {
{
if (FAILED(mdImport->GetAssemblyFromScope(&token)))
{
+ fprintf(stderr, "@@[SR] %s:%d\n");
FCThrow(kBadImageFormatException);
}
}