1080 |
|
|
1081 |
/* Make sure that the class has been initialized */ |
/* Make sure that the class has been initialized */ |
1082 |
classInfo = ILMethod_Owner(ctor); |
classInfo = ILMethod_Owner(ctor); |
1083 |
IL_METADATA_WRLOCK(thread); |
IL_METADATA_WRLOCK(_ILExecThreadProcess(thread)); |
1084 |
if(!_ILLayoutClass(classInfo)) |
if(!_ILLayoutClass(_ILExecThreadProcess(thread), classInfo)) |
1085 |
{ |
{ |
1086 |
/* Throw a "TypeLoadException" */ |
/* Throw a "TypeLoadException" */ |
1087 |
IL_METADATA_UNLOCK(thread); |
IL_METADATA_UNLOCK(_ILExecThreadProcess(thread)); |
1088 |
VA_END; |
VA_END; |
1089 |
ILExecThreadThrowSystem(thread, "System.TypeLoadException", |
ILExecThreadThrowSystem(thread, "System.TypeLoadException", |
1090 |
(const char *)0); |
(const char *)0); |
1091 |
return 0; |
return 0; |
1092 |
} |
} |
1093 |
IL_METADATA_UNLOCK(thread); |
IL_METADATA_UNLOCK(_ILExecThreadProcess(thread)); |
1094 |
|
|
1095 |
/* Call the constructor */ |
/* Call the constructor */ |
1096 |
result = 0; |
result = 0; |
1125 |
|
|
1126 |
/* Make sure that the class has been initialized */ |
/* Make sure that the class has been initialized */ |
1127 |
classInfo = ILMethod_Owner(ctor); |
classInfo = ILMethod_Owner(ctor); |
1128 |
IL_METADATA_WRLOCK(thread); |
IL_METADATA_WRLOCK(_ILExecThreadProcess(thread)); |
1129 |
if(!_ILLayoutClass(classInfo)) |
if(!_ILLayoutClass(_ILExecThreadProcess(thread), classInfo)) |
1130 |
{ |
{ |
1131 |
/* Throw a "TypeLoadException" */ |
/* Throw a "TypeLoadException" */ |
1132 |
IL_METADATA_UNLOCK(thread); |
IL_METADATA_UNLOCK(_ILExecThreadProcess(thread)); |
1133 |
ILExecThreadThrowSystem(thread, "System.TypeLoadException", |
ILExecThreadThrowSystem(thread, "System.TypeLoadException", |
1134 |
(const char *)0); |
(const char *)0); |
1135 |
return 0; |
return 0; |
1136 |
} |
} |
1137 |
IL_METADATA_UNLOCK(thread); |
IL_METADATA_UNLOCK(_ILExecThreadProcess(thread)); |
1138 |
|
|
1139 |
/* Call the constructor */ |
/* Call the constructor */ |
1140 |
result = 0; |
result = 0; |