152 |
/* Make sure that the class has been laid out */ |
/* Make sure that the class has been laid out */ |
153 |
if(classInfo != 0) |
if(classInfo != 0) |
154 |
{ |
{ |
155 |
IL_METADATA_WRLOCK(thread); |
IL_METADATA_WRLOCK(_ILExecThreadProcess(thread)); |
156 |
if(!_ILLayoutClass(classInfo)) |
if(!_ILLayoutClass(_ILExecThreadProcess(thread), classInfo)) |
157 |
{ |
{ |
158 |
IL_METADATA_UNLOCK(thread); |
IL_METADATA_UNLOCK(_ILExecThreadProcess(thread)); |
159 |
return 0; |
return 0; |
160 |
} |
} |
161 |
IL_METADATA_UNLOCK(thread); |
IL_METADATA_UNLOCK(_ILExecThreadProcess(thread)); |
162 |
} |
} |
163 |
|
|
164 |
/* Return the final class structure to the caller */ |
/* Return the final class structure to the caller */ |